| Posted by shotokan99 on 06/05/07 09:39 
actually this is how i did it:
 1. i have a textbox for the user to encode the url
 2. by $_POST['x'] ill evaluate the url if valid or not using
 file_get_contents().
 if(!file_get_contents($x){
 // do actions here..
 }
 
 however i dont know if what is wrong, file_get_contents() works
 perfectly on
 my local machine but upon loading to our webserver, it doesn't work
 at all.
 
 3. the next action is to $x as param value 'http://www.my...com?url='.
 $x.
 now this url will then dynamically produce another url. and that
 new url is
 the one that i want to get and assigned it to a string.
 
 but i want all process to be totally invisible to the user. because
 after
 successfully getting the new url i post a message like your new url
 is ...
 
 is this possible? how to do this?
  Navigation: [Reply to this message] |