Jump to content

manalnor

Members
  • Posts

    126
  • Joined

  • Last visited

Everything posted by manalnor

  1. no hope **** Nod ESET 6 it is very stupid do not use it anymore ever
  2. update : i used this command telnet localhost 3306 it given me error no connection looks like firewall is blocking it now what to do ?
  3. oh dammit , i tested on xmapp and also same problem !!!!!!!!! my windows/system32/drivers/ect/hosts only this line (uncommented) # blah blah blah # blah blah blah 127.0.0.1 localhost
  4. Dears , I've Apserve 2.6.0 and was working fine but later i've updated my windows xp sp3 and my ESET 32 Internet sercuirty 6.0 but noticed that my localhost did not working any more and every time i open up localhost/phpmyadmin , i'm getting this error Warning: mysql_connect() [function.mysql-connect]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306) so what is wrong !! please help otherwise i might format my drive and reinstall windows older verion cause appserv is importent to me and i don't know what this problem happen ..
  5. Hello dear friends, If i've the following array results then how i can show it up ! array code $urlByHost = array(); foreach (explode("\n", $_POST['url']) as $value) { $parse = parse_url($value); $urlByHost[$parse['host']][] = array( 'url' => $value, 'parse' => $parse, 'md5' => md5($value), ); } asort($urlByHost); print_r($urlByHost); results Array ( [www.bing.com] => Array ( [0] => Array ( [url] => http://www.bing.com/kee [parse] => Array ( [scheme] => http [host] => www.bing.com [path] => /kee_ ) [md5] => e69d3a5bb987448e30ec8559c3634caf ) ) i want to show the host and md5 as www.bing.com e69d3a5bb987448e30ec8559c3634caf how can i call the results and show it ! ~ thanks
  6. Hello friends, i'd like to write the following code if it possible but it always gives error <?PHP echo "<img src=\""for($i=0;$i<count($spam_stop);$i++){echo $spam_stop[$i].'+';}"\">"; ?> it gives the following error Parse error: syntax error, unexpected T_FOR, expecting ',' or ';' ~ thanks for help
  7. Thanks a lot @samshel this is perfect and do exactly what i need
  8. Hello dear friends, I'm using scandir function to get all directories but it gives results in array and i don't want it in array so how can i get out of this array. <?php $dir = '/tmp'; // my directory $files = scandir($dir); print_r($files); ?> The output is an array Array ( [0] => iono [1] => toto [2] => soso [3] => fofo [4] => dod ) But i want to get the directories names without being set in an array so i want the output but iono - toto - soso - fofo - dodo ....etc , I mean in any way but not in array Thanks a lot for help
×
×
  • 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.