Jump to content

plznty

Members
  • Posts

    337
  • Joined

  • Last visited

Everything posted by plznty

  1. Could you link me to a help tutorial for retrieving a certain line number in curl please. ty
  2. When I use PHP to gain data from another webpage I usually use file_get_contents Is there a faster way to retrieve data from webpages faster since it only seems to do around 200 website line retrievals per minute? Is cURL faster? Thank you
  3. Could somebody give me help on how to create a script that puts down all the possible 2 character sequences from A-Z 0-9 For example Aa Ab Ac ...... Z9 Thank you in advance.
  4. How can I make it so only A-Z and 0-9 "-" "@" "," "."s work and the rest of the characters are deleted from my string/variable.
  5. How can I make it so that if file_get_contents cannot find the file else <?php $file = file_get_contents("http://www.example.com/lol.txt"); if ( $file == true ) { } else { }
  6. Its just timing out now.. wow. :/ Anyone with mysql remote knowledge add me ry4n0wnz@live.co.uk and if you help me i can give you the last $4.33 US in my paypal if you can help
  7. I have a script that is trying to connect from one server to another and it doesn't seem to let it. Could someone help me please Can't connect to MySQL server on 'example.com' (4)
  8. Thank you requinix. Didn't think it would be that easy. Fast response also
  9. Yes Pikachu from a datetime format.
  10. How could I make it so that if the $date variable is past than $memberdate then something shows else something else does. <?php $date = date('Y-m-d H:i:s', time()-3600); $memberdate = '2011-01-29 01:03:28'; ?> Thanks in advance, I realised I could convert it into a unix timestamp but there must be a better way. Ty.
  11. Ive tried <?php $file = file_get_contents('./time.php'); echo $file; ?> This just outputs the php, how can I make it just the out php output value. ty in advance.
  12. Im using $time = date('Y-m-d H:i:s'); How can I make a new variable that adds 4 hours on the $time output.
  13. Is there any php function I can test how fast my server is performing, like how fast its carrying out a certain action so I can see its resource usage.
  14. plznty

    Preg_match

    How can I preg_match the alt value for each of these? Thanks in advance. <li><img src="yes/0.bmp" alt="0" /></li> <li><img src="yes/7.bmp" alt="7" /></li> <li><img src="yes/0.bmp" alt="0" /></li> <li><img src="yes/4.bmp" alt="4" /></li> <li><img src="yes/0.bmp" alt="0" /></li> <li><img src="yes/0.bmp" alt="0" /></li> <li><img src="yes/0.bmp" alt="0" /></li>
  15. Didn't think that would work, I thought I'de need something like exec. Thanks!
  16. I would like a part of my script to link to an external sites script It doesn't seem to be doing it though Othersite.com - index.php?name=hello&status=1 I would like my post.php to run that above. Can it be done?
  17. How would I print one by one?
  18. information.txt <li><img src="http://www.lol.com" alt="0" /></li> <li><img src="http://www.lol.com" alt="1" /></li> <li><img src="http://www.lol.com" alt="4" /></li> <li><img src="http://www.lol.com" alt="9" /></li> <li><img src="http://www.lol.com" alt="1" /></li> <li><img src="http://www.lol.com" alt="7" /></li> <li><img src="http://www.lol.com" alt="2" /></li> How can I get the alt="$ValueIwant" for each with a preg_match
  19. I would like my website to show which users are logged in. Is there a simple way of retrieving all session ids from the server that have been allocated and are active in order to do this? I know this could lead to faulty information, but would appear to be the simplest and reliable. Thanks.
  20. Do you have any PHP knowledge? I don't get what your asking help for? If not then I suggest you learn.
  21. Still having problems finding a solution
  22. I would like a gif where the colour #332211 is changed to #FFFFFF where #332211 colours are. Could somebody link me to a place I could get help, I've tried searching but no luck. Perhaps some raw code. Thanks in advance!
  23. My web host provider has it on, what site do you get hosting off? I want to change, they have on outdated things such as magic quotes.
  24. It apparently is okay without register_globals being on, but how can i do this without.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.