hi guys,
thanks for all your help. Ok i got it working, I'm so silly, the book I took the example from was working with globals on. I had the sense to keep them off but didn't realise I need $_SERVER[PHP_'HTTP_REFERER'] instead of $HTTP_REFERER. Duh!!
KarveR, I couldn't get what you...
according to the book i've taken the example from
header("Location: $HTTP_REFERER") should take the page back to the script which calls it. The thing is I can't use
header("Location: the-page-you-want-them-at.php");
since the update.php is called by many different scripts and plus i'd have...
Hi all,
I'm running apache and php on windows xp and I've got a problem with one-component querying. I've looked through forums but can't find any answers!! Ok so this is what happens, I'm displaying a page which takes variables in the url when it was called, and uses them to fetch a record...
Hi all,
I'm running apache and php on windows xp and I've got a problem with one-component querying. I've looked through forums but can't find any answers!! Ok so this is what happens, I'm displaying a page which takes variables in the url when it was called, and uses them to fetch a record...
Hi all,
I’m running php 4.3.2 on apache with mysql. I’ve looked through past threads, the internet and had no luck with my problem. Basically, I’m developing a web-style interface for a database system. I have a couple of pages that are forms for searches. SO say for instance, one is called...
Hi all,
By the way,yes i've read other threads in the forum related to this and couldn't get the answer. I'm running apache,php 4.3.2 and mysql on windows xp and for some reasons uploads just won't work. My file sharing status on the pc is general sharing.Sometimes the script will upload files...
Hi all,
i'm a newbie to javascript and I am trying to use it to validate some user input data for a html form. I am stuck on checking if the user has input a time value in the correct format hh:mm:ss
so far i've got
var regTime = /^\d{2}\:\d{0-5}\d\:\d{0-5}\d$/
i'm trying mkae it so that 2...
hi all,
i'm trying to play audio retrieved from a mysql database in a web browser. Now i've tried it on internet explorer on windows and it works fine, the audio file is downloaded from the database and opens in real player. I tried the same script on netscape in unix and it doesn't work. It...
how would i specify that i'd like to use a different program with my web browser?? I tried locate sox and it said /usr/local/var/locatedb: no such file or directory?
Hi all,
I play audio through the web browser and it plays ok on windows. When i try the same thing on unix i get the error message "sh: /usr/local/bin/sox: not found. Is sox some sort of program i need to play the audio? The audio is in wav format by the way.
Manni
Hi,
I'm using php 4.3.2 with mysql 4.0.13 to create a database system. I'm not sure if this is a php or mysql ques so i'm posting it on both forums(therefore i apologise if you've already read this).I'm storing short audio files(10-15 seconds) in a database and I'd like the user to be able to...
Hi all,
I've been trying to think of a way to remove the last character from a string but all the functions I've come across are quite complex. The string could be of any length by the way as the variable changes pretty often. Does anyone know a simple way to do this??
Manni
Hi,
I've read the manual on php but php just refuses to upload my files. I'm trying to upload fragments of audio say 450KB in size. register_globals is set to off and the upload_temp directory is blank(tried changing the php.ini file but doesn't take effect).I'm working on windows xp with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.