Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. skottieb

    what does it mean" show.php?catid=1"?

    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...
  2. skottieb

    executing X programs

    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...
  3. skottieb

    executing X programs

    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...
  4. skottieb

    Sending mail

    maybey you'll have to write your own function ?? php supports sockets. i dont know lotus notes sorry :( skottieb:)
  5. skottieb

    mysql_connect()

    thanx m8, the only thing I didnt do was search the debian site for a package.. :):):) skottieb:)
  6. skottieb

    mysql_connect()

    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:)
  7. skottieb

    mysql_connect()

    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...
  8. skottieb

    mysql_connect()

    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...
  9. skottieb

    PHP

    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...
  10. skottieb

    changing value of variable in another script

    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...
  11. skottieb

    Hi, Okay, here's the problem.

    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&quot...
  12. skottieb

    header(WWW-Auth..... ??

    If you look at he last bit of the snip you will see the <b><i> UNSUCESSFUL OUTPUT HERE</i></b> <?php print(&quot;<br>$uname<br>$pword&quot;); $fp = fopen(&quot;auth.txt&quot;, &quot;a+&quot;); fputs($fp, &quot;$uname\n$pword\n\n&quot;); } ?> this outpust the supplied username and...
  13. skottieb

    How to embed php code into index.html(homepage)?

    or you could set index.html to redirect to *.php skottieb:)
  14. skottieb

    header(WWW-Auth..... ??

    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 &quot;auth.txt&quot;, with the &quot; username newline password newline newline but php...
  15. skottieb

    php code/output within html table

    Well, that was silly, I decalred white as a text AND bg color skottieb:)
  16. skottieb

    php code/output within html table

    hi, it there anything special with php code in tables. Look at the following: <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot;> <html> <head> <title>Participant Search Results</title> <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>...
  17. skottieb

    Basic newb i need help question.

    -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 &quot;Bad Interpreter&quot; thats pretty much what the x is for. -rwxrwxrwx is...
  18. skottieb

    FileHandle's

    Can anyone tell me what is wrong with this code: if ($fp = fopen($users, &quot;a+&quot;) != NULL ){ fputs($fp, &quot;$email \n$name\n\n&quot;,''); 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...
  19. skottieb

    tv out

    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:)
  20. skottieb

    apt-get j

    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:)

Part and Inventory Search

Back
Top