Jump to content

Recommended Posts

see... php 5.1.2.0 was compiled WITHOUT one important C header file that would make it possible for php to be used with ajax asa per request platform

 

Either you recompile php with 5.1.2 and the cuproq.c and cuproq.h files,

or you find another wya of doing it, without ajax or cgi...

see... php 5.1.2.0 was compiled WITHOUT one important C header file that would make it possible for php to be used with ajax asa per request platform

 

Either you recompile php with 5.1.2 and the cuproq.c and cuproq.h files,

or you find another wya of doing it, without ajax or cgi...

What?

<?php
echo '<script language="Javascript" type="text/javascript">
Ajax here..
</script>';
?>

I have looked around and found allot of scripts that either implement poorly, or just don't work. Have you guys seen this done before on a php/mysql site?

 

All I really need is something that shows a progress bar while my HTML form is uploading a file to it's temp directory (or wherever it goes), then pass it off to a php script that will handle moving the file to the right directory.

 

Any ideas?

you can't unless you make cgi unload ALL of its variables to a text file and then make php read thattext file every time you want them to talk... althoguh if hte cgi redirects to a url iwth variables..?  you could use $_GET['var'] in php...

I'm using 5.1.2 and no problems with ajax. The xmlhttp object is client side, nothing to do with php.

 

php just receives a query string, processes accordingly then echos output.

 

Everything else is handled on the client.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.