if you hace 'global vars' swiched on, a variable by the in
the url strin will be automatically created !
ie: 'show.php?catid=1' in the url will create a variable
'$catid' with the value of '1' in the script show.php.
if you then want that variable to be available in a function
you can pass...
I do not want to capture the output of the program within php.
What i do want todo is load "vlc", a mpeg video viewer, with
the click of a button, for the moment i have set `xhost` to allow
any connection till i figure why it hangs on attempting to add
users.
So, to put it clearly...
does anyone know how i can execute an X program from
my browser using php, the program is on my local computer,
here's what i've come up with so far, it starts a process
i can see with `ps -A`, but there is no display on the
screen???
--------------------------------------------
system('vlc...
Im working on linux(i586)/debian woody. apache-MySQL-php4
installed via .deb binaries
Where in the documetation does it say howto load moduels ??
skottieb:)
Hi,
the mysql_connect() call is as you posted above, the the
problem is , if Iput a "mysql_close()" (which I did just
for testing) I get the same problem.
thus, The problem is not the syntax to the actual call, it is
that php does not recognise the "mysql_*()" function...
Hi,
when I call mysql_connect() in any of my sripts I get ->
Fatal error: Call to undefined function: mysql_connect() in /var/www/php/lanreg/admin/login.php on line 12
-----------------------------------------------------
this hapens to any calls to mysql_*() functions.
any ideas on this...
My suggestion is the same as above, get and install apache
http://httpd.apache.org/
configure if nescarry(read the documtentation)
install php
http://www.php.net
configure if nescarry(read the documtentation)
if you are doing this at school im shure your teacher will
be avle to advise you if...
Hi,
How is it possible to edit the value of a php variable in
script from another. The main problem is the variable is
a user's browser after he/she logs in, so far the only way
destroy it is to close the browser, refreshing dosent work.
this also means the script has run and the variable...
Hi,
Okay, here's the problem.
the /admin of the site im greating asks for Authentication
thats fine, all authenticates, if I refresh I dont get asked to re-authenticate myself, I have also pot a logout submit button on the page im testing witw, when the button calls "logout.php"...
If you look at he last bit of the snip you will see the
<b><i> UNSUCESSFUL OUTPUT HERE</i></b>
<?php
print("<br>$uname<br>$pword");
$fp = fopen("auth.txt", "a+");
fputs($fp, "$uname\n$pword\n\n");
} ?>
this outpust the supplied username and...
Hi,
Below is the following code with all the debugging code
still in there.
I enter what I KNOW is the right username/password, however
php dosent think so, The unam/pwd is stored in a plaing text
"auth.txt", with the "
username
newline
password
newline
newline
but php...
hi,
it there anything special with php code in tables.
Look at the following:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>Participant Search Results</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">...
-rwxrwxrwx
anyone can read/write the file if they have/gain access
to the directory
'x' aka execute is used by binary programs and scripting
languages: Perl, sh, etc...
a script without 'x' will bomb out with "Bad Interpreter"
thats pretty much what the x is for.
-rwxrwxrwx is...
Can anyone tell me what is wrong with this code:
if ($fp = fopen($users, "a+") != NULL ){
fputs($fp, "$email \n$name\n\n",'');
fclose($fp);
}
The file gets created in the fopen call so the if block executes
My browser ouputs this:
Supplied argument is not a valid...
Hi,
Does anyone know of a tv out video card that will work fine with linux, I will need Scan conversion - Pal, and would like to be able to run it as an independant desktop ideally, however thats not nesecarry.
Thanx in advance
skottieb:)
Hi all.
I am trying to download J2re1.3. however apt-get bombs out with :
No avail version bur exists in the data base
not avail in sources.list
No installion Candiate
any idea how to get the .deb package ???
skottieb:)
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.