Jump to content

Sayfadaki Bilgiyi Refresh Yapmadan Çekebilrmiyim?


srburak
 Share

Recommended Posts

merhaba arkadaşlar,

 

web sayfasındaki belirli bi table veya formundaki bilgiyi (sayısal bi değer zaten)  bulup karşılaştırma yapıp butona bastırabiliyorum. fakat bana gerekli bu değer değişşe bile  sayfayı refresh yapmadan gözükmüyor yani o anki yeni değer görüntülenmiyor. ancak sayfayı refresh yaptığımda değişmisse o bilgiyi görebiliyorum. buda işlemin hızını çok düşürüyor. bu değeri refresh yapmadan nasıl erişebilirim. bnm yazdığım script aşağıdaki gibidir.

while 1
_IENavigate($oIE, "http://deneme.org/test/turgoviq.php?tab=1&tip=2&seeRes=iron",1)
 ;45. tabloyu table ye yukle

			$oTable = _IETableGetCollection($oIE, 46)
			$aTableData = _IETableWriteToArray($oTable, True)
			
;tablonun 2. satır 2. sutununu çağır en düşük fiyat
			$aTableDatas = $aTableData[2][2]
			
;tablonun 2. satır 1. sutununu çağır miktar

			$aTableDatass = $aTableData[2][1]
			   if $aTableDatas <= $i Then
			$oForm = _IEFormGetCollection($oIE, 0)
			$oT= _IEFormElementGetObjByName($oForm, "amountToBuy")
			_IEFormElementSetValue($oT, $aTableDatass)

			
			   
	$oQuery = _IEFormElementGetCollection($oForm,2)
   
   _IEFormElementSetValue($oQuery, _IEAction($oQuery,"click"))
    
WEnd
Link to comment
Share on other sites

  • 3 ay sonra...

_IE UDF 'i ile yapabileceğini düşünmüyorum , muhtemelen direk veritabanına bağlanarak yapılabilir bir başka yöntemde tarayıcının hafızasını okuyarak olur ama tarayıcıdaki bilgi refreshlemeden güncel kalmıyorsa hafızadan okuduğunda güncel olmayacaktır o yüzden sen sadece sitenin bir kısmını yüklemek elde etmek istiyorsun bu mümkün mü bilmiyorum ama direk veritabanından çekebilirsin , Mysql ile ilgili UDF'i google'dan bulabilirsin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...