User Profile

Collapse

Profile Sidebar

Collapse
GhOsTTeCh
GhOsTTeCh
Last Activity: May 10 '09, 03:35 PM
Joined: Dec 31 '08
Location: 2176 & 2165 Bruvha ;)
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • GhOsTTeCh
    started a topic How to send data over TCP/IP.

    How to send data over TCP/IP.

    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
    See more | Go to post

  • 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...
    See more | Go to post

    Leave a comment:


  • GhOsTTeCh
    started a topic Submit form X times
    in PHP

    Submit form X times

    Hey everyone , i am trying to submit a form 4 times with diffrent inputs.

    i have 2 files

    main.php
    Code:
    $p = 1
    while ($p < 5 ){
    file_get_contents("submit.php?p=" . $p);
    echo "Submited form  " . $p . "<br />";
    $p++; 
    }
    and submit.php
    Code:
    $c = $_GET[p];
    
    echo "
    <form name='register' action='http://...form.php' method='post'>
    ...
    See more | Go to 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...
    See more | Go to post

    Leave a comment:


  • GhOsTTeCh
    started a topic HTTP authentication via php?
    in PHP

    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++; };
    ?>
    ...
    See more | Go to post

  • GhOsTTeCh
    replied to Go to list of URL's
    in PHP
    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....
    See more | Go to post

    Leave a comment:


  • GhOsTTeCh
    replied to Go to list of URL's
    in PHP
    my bad



    so i shuld post dis in da javascript forums?...
    See more | Go to post

    Leave a comment:


  • GhOsTTeCh
    started a topic Go to list of URL's
    in PHP

    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:
    Code:
    while ($u < 100){
    go to a url
    
    w8 till url has loaded close the url
    $u++;
    } // do the next url
    if any1 could shed some light itl be nice

    Tnx and Take Care
    GhOsT
    See more | Go to post

  • Rechecking 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 .

    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);
    to ranged from 1200 - 2700 so it is much fatser than the 3 seconds timeout i had set.
    ...
    See more | Go to post
    Last edited by GhOsTTeCh; Jan 16 '09, 01:42 AM. Reason: i never knew bytes allowed spaces inside the usernames?

    Leave a comment:


  • Due 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...
    See more | Go to post

    Leave a comment:


  • Code:
    content.document.forms[0].TEXTFIELD.value = "GhOsTTeCh"
    That code changes the value of "TEXTFIELD" to "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 extension
    See more | Go to post

    Leave a comment:


  • Read 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...
    See more | Go to post
    Last edited by GhOsTTeCh; Jan 15 '09, 04:11 AM. Reason: forgot ";" :$

  • GhOsTTeCh
    GhOsTTeCh posted a Visitor Message for ghost
    Yo man if u ever cancel dis acc gimme a heads up
    See more | Go to post

  • GhOsTTeCh
    GhOsTTeCh posted a Visitor Message for dmjpro
    Read ur name in a post and apparenlty u live here :P

    yell keep living here and tnx for living here lol
    See more | Go to post

  • GhOsTTeCh
    replied to Which is lighter on the server?
    in PHP
    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...
    See more | Go to post

    Leave a comment:


  • GhOsTTeCh
    replied to how to pass the user name using cookies
    in PHP
    Never mind, i didnt read the 2nd post
    See more | Go to post
    Last edited by GhOsTTeCh; Jan 3 '09, 10:36 AM. Reason: Didnt read

    Leave 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 :)
    See more | Go to post

    Leave a comment:


  • GhOsTTeCh
    started a topic Which is lighter on the server?
    in PHP

    Which is lighter on the server?

    WHich will be ligter on the server.

    Code:
    SELECT val1, val2, val3, val4, val5 FROM `tblname` WHERE `val4;` = $i
    and thats in a while loop
    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?
    See more | Go to post

  • 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']]
    ...
    See more | Go to post

    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';
    ...
    See more | Go to post
    Last edited by GhOsTTeCh; Jan 1 '09, 07:00 AM. Reason: Added the meaning of :S

    Leave a comment:

No activity results to display
Show More
Working...