[PHP] php_register_variable()

2002-05-10 Thread Serguei I. Ivantsov
Hello! I need some help with subj function. I execute that function before php_execute_script() but variables seems to be not available within my script. How can I register variable from the C program (/sapi/cli) to see it available in the script ? -- Regards, Serguei I. Ivantsov

[PHP] Accessing binary data

2002-05-10 Thread Serguei I. Ivantsov
Hello! As there are any way to access binary data in PHP. For example I read file containg binary records with fread() into the string. How can I access individual records (WORDs BYTEs DWORDs) from that string? -- Regards, Serguei I. Ivantsov