Discussion » Technical Question

This is a read-only copy. The forum ran on iamcal.com from 2000 until its database was lost in 2016, and this topic was rebuilt from copies saved by the Internet Archive's Wayback Machine. Some replies may be missing.
Posted by earthworm, 16:10, 2nd April 2003:
 
I have just installed Apache and PHP and MYSQL among other things. After abttling with Apache for about 2 days I have managed to get it reading and showing PHP files... BUT... for some reason, it's not using ANY predifined variables ie.

$file_name
$file_size
$file_type or even
$file...

I just keep getting undefined variable messgaes.

Any thoughts?
Posted by Sul, 16:14, 2nd April 2003:
 
Yes, Ive been throwing this one around in my head for a few days now. Why when I press record on a my video remote does the tape eject if its copy protected?
Posted by cal, 16:19, 2nd April 2003:
 
earthworm: you fon't have register_globals turned in (off by default these days). use $_FILES instead ( read this: uk2.php.net/manual/en/features.file-uplo... )

sul: to alert you to the fact, so you can either selotape the tab or find another tape
Posted by earthworm, 16:20, 2nd April 2003:
 
Thanks Cal... I thought someone here should know. I'll try not to ask technical questions again...
Posted by Sul, 16:23, 2nd April 2003:
 
Ahhh that makes good sense!
Posted by plindoe, 16:47, 2nd April 2003:
 
indeed, so obvious you didnt think of it!



neither did I! :)
Posted by earthworm, 16:50, 2nd April 2003:
 
Why is PHP so hard to install on Apache? I'm still getting a parse error when trying to connect to MySQL but I can't find any help on the web. There doesn't seem to be any plain speaking support...
Posted by beargod, 17:09, 2nd April 2003:
 
There never is for anything that is useful.
Posted by cal, 17:24, 2nd April 2003:
 
i can probably help. my IM detail are here: www.iamcal.com/contact.php
Posted by jeffld, 18:04, 2nd April 2003:
 
earthworm,

Check out Cal's Choose your own adventure game. It is a really easy to setup. It is a working example on how to use MySQL and PHP. He has the code online at:

http://www.iamcal.com/games/choose/source.php

I also want to recommend the PHPMyAdmin - this thing really makes using MySQL easier.

http://sourceforge.net/projects/phpmyadmin/


jeffld
Posted by earthworm, 19:33, 2nd April 2003:
 
if your sure, i will send you an email...

thanks cal...

jeffld, I will do that...
Posted by beargod, 21:44, 2nd April 2003:
 
what is csscriptdict and is there any online documentation, maybe i should search before asking, but i am lazy.

Is it used instead of javascript?