Hello, firstly i appologize if i posted in the wrong section seeing as my script is for VBscript.
How do i send a few bytes of data to an internal server.
I have an application that monitors all USB's inserted into a computer and so i want the script to send the USB serial number to the server, i already know how to get the serial number i just dont know how to send it.
Thankyou
User Profile
Collapse
-
How to send data over TCP/IP.
-
Dont use a proxy, use the youtube API.
Hey i have a simmilar problem , but not with the turkish government but with my turkish network admin XD.
Instead i wrote a few simple php scripts that use the youtube API. One uses the API to get search results and then passes the video ID to another script which grabs the details and has a JW player on it, the JW player grabs the video from another script that gets the youtube... -
Submit form X times
Hey everyone , i am trying to submit a form 4 times with diffrent inputs.
i have 2 files
main.php
and submit.phpCode:$p = 1 while ($p < 5 ){ file_get_contents("submit.php?p=" . $p); echo "Submited form " . $p . "<br />"; $p++; }
...Code:$c = $_GET[p]; echo " <form name='register' action='http://...form.php' method='post'>
-
Create a form with a tex box for the number , than run a java script to check if its correct format, then have a textarea for the message and create a submit form so it grbes the contents both boxes and sends it to the SMS centre.
google arnd it isnt the first time this ideas been done.
hope this helped...Leave a comment:
-
HTTP authentication via php?
basicly i set up a little script to go to an address 10 times, this address needs to be logged (like the .htpasswd way) in (its cpanel).
how would i go about logging in progrmaticly?? thanks
...Code:<?php $i = 10; $p = 1; while ($p < $i){ file_get_contents("http://REMOVED"); echo "Did URL " . $p . "<br />"; $p++; }; ?> -
lol sorry about my English.
basicly i have a Cpanel Hosting with hostmonster , and i need a whole bunch of emails created (they dnt hav option 2) so the email can be created by going to a page and adding the varibles in the url
eg. domain.com/manager/doaddpop.html?u ser=test&domain =domain.com&pas sword=trial....Leave a comment:
-
-
Go to list of URL's
Hi i want to make a php script to open certain URL's then close it and open another URL.
i think it can be done with an iframe (to my understanding) but i might be wrong.
Basicly i want it to do this:
if any1 could shed some light itl be niceCode:while ($u < 100){ go to a url w8 till url has loaded close the url $u++; } // do the next url
Tnx and Take Care
GhOsT -
GhOsTTeCh replied to Read WMI from FF extension and [SOLVED]Change value of textbox via Firefox extensionin JavascriptRechecking it to see if the file has been written smart :).
i did a quick and dirty way to keep chcking and if it exists to read it .
to ranged from 1200 - 2700 so it is much fatser than the 3 seconds timeout i had set.Code:file = [FF classes , etc] var to = 0; do to++; while (file.exists() == false) //then i wanted to see what to was after the looping alert(to);
...Last edited by GhOsTTeCh; Jan 16 '09, 01:42 AM. Reason: i never knew bytes allowed spaces inside the usernames?Leave a comment:
-
GhOsTTeCh replied to Read WMI from FF extension and [SOLVED]Change value of textbox via Firefox extensionin JavascriptDue to the fact in order to browse the net , umust now login into the new Routers we have(thats why i had to change the Textbox values), we cannot edit the router login page and most 70% forget to log in , so if it was automatic it would save us alot of time and headache.
unfortanetly a exe cannot be used in this scenario as the extension will check the SSID and if it matches the set SSID , it will apply proxy settings...Leave a comment:
-
GhOsTTeCh replied to Read WMI from FF extension and [SOLVED]Change value of textbox via Firefox extensionin JavascriptThat code changes the value of "TEXTFIELD" to "GhOsTTECh"Code:content.document.forms[0].TEXTFIELD.value = "GhOsTTeCh"
for any1 reading this that also wants an awnser (possibly from a google search) add "content." beofre "document."
well than the next question remains , How do i Query the WMI via a firefox extensionLeave a comment:
-
GhOsTTeCh started a topic Read WMI from FF extension and [SOLVED]Change value of textbox via Firefox extensionin JavascriptRead WMI from FF extension and [SOLVED]Change value of textbox via Firefox extension
as title says i wish to change the value of a textfield in the current website.
Basicly it enters a certan user and pass on a certan website, both will be stoerd in the prefrences.
then the script will check if the website is the correct it will logon and click submit.
also (sorry for merging 2 questions) is it possible to get WMI data from within a firefox extension , i can do it in VBscript.
Thankyou... -
Yo man if u ever cancel dis acc gimme a heads up -
Read ur name in a post and apparenlty u live here :P
yell keep living here and tnx for living here lol -
lol dats coz of my beatiful copy and pasting skills mixed with my betiful typing and speeling skillz (sarcastic incase if sum1 didnt realise -_-)
kk fair enough just wanted to chek , tnx again Atli...Leave a comment:
-
Never mind, i didnt read the 2nd postLeave a comment:
-
Thank you Atli , although i didnt use ur exact soloution u certanley explaiend alot on sent me in the right direction
expect to see me more on the forums :)Leave a comment:
-
Which is lighter on the server?
WHich will be ligter on the server.
and thats in a while loopCode:SELECT val1, val2, val3, val4, val5 FROM `tblname` WHERE `val4;` = $i
befor the while loop thers : $i = 1
at the end of while loop there is $i++
if val 3 will equal the same value as $i , is there any positive to leave it in the sql query? -
had a thought.
is there a way that you can set an array to grab results from 2 queries. and then load them as seperat varibles.
...Code:$day1 = mysql_query("SELECT sub FROM `01234` WHERE `Day` = 1"); $day2 = mysql_query("SELECT sub FROM `01234` WHERE `Day` = 2"); while($d1 = mysql_fetch_assoc($day1) || ($d2 = mysql_fetch_assoc($day2))) { $day1[$d1['day']][$d1['period']]Leave a comment:
-
Thankyou Atli and Happy new year
i used ur soloution and it can grab the data from the sql database.
i echod the varible "$days" and it resulted in "ArrayArrayArra y..." so :S
however i did this code
...Code:while($row = mysql_fetch_assoc($result)) { $days[$row['day']][$row['period']] = $row['sub']; echo"<TR bgcolor=#86D5FF class=ts onMouseOver=this.bgColor='gold';Leave a comment:
No activity results to display
Show More
Leave a comment: