[PHP] PCRE question
I am trying to write a small piece of code that looks for repeating digits or symbols...such as $$, %%, 99 Here is what I have come up with...although I dont think this is the complete Regex. $pass = "test99ing"; if (preg_match("/[^a-zA-Z]{2,}/",$pass, $match)){ echo("You cant have repeating symbols: $match") However this doesnt seem to work at all. Any help is greatly appreciated. Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Anyone have any experience with the EXEC function?
I am trying to exec a perl script from my php code. Here is what I have: exec("perlpath/perlscript.pl $var", $array) The perl script runs fine as I am piping the results to a txt file also...so I know that the script is running fine. I am printing the result of the perl script to STDOUT which is what is recommended in order to retrieve the result of the perl script back into PHP through the $array variable set above. However in my php the $array is always empty? After the perl script has run I am doing this in PHP: $error = $array[0]; echo "$error"; Is my syntax correct? Any help is greatly appreciated. Thank you, Batch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] CICS call?
Hey all, I was just curious if anyone knows how or even if PHP4 can make a CICS call to a mainframe system. I need to grab some data from a mainframe realtime. Thanks in advance. Batch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php