Search found 14 matches

by imme
Fri Jun 03, 2005 11:31 am
Forum: PHP - Code
Topic: $_POST[''] variable question
Replies: 2
Views: 199

$_POST[''] variable question

Hi, I got the following code: pulldown(employee,pulldown_l,getContacts(employee,name),k_nr,firstname,name); it calls this function: function pulldown($name, $style, $source, $index, $value1, $value2, $value3) { $index_array=array(); $value1_array=array(); $value2_array=array(); $value3_array=array()...
by imme
Wed Oct 13, 2004 12:01 pm
Forum: PHP - Code
Topic: gd library trouble - digital camera files
Replies: 2
Views: 287

the version on the server is actually newer. the same options are enabled.
by imme
Wed Oct 13, 2004 10:06 am
Forum: PHP - Code
Topic: gd library trouble - digital camera files
Replies: 2
Views: 287

gd library trouble - digital camera files

I made a little upload area where people can store their pictures. One can choose between different thumbnail sizes etc. The thumbnails are created using the gd lib. The list of pictures is stored in a plain textfile. It all works fine on my localhost (MacOS 10.3.5, php 4.3.7, apache 1.3x). On the s...
by imme
Thu Aug 19, 2004 3:42 pm
Forum: PHP - Code
Topic: special chars in generated vCard problem
Replies: 1
Views: 493

special chars in generated vCard problem

Hi there, I got this PHP code that creates a vCard from data out of a MySQL database. I all works perfectly fine except for the special characters (since I'm from Germany these would be ö,ä,ß and so on) they all get lost on the way. What do I need to do to fix this. thanks for your help. :-) <?php o...
by imme
Wed Jan 14, 2004 9:48 am
Forum: PHP - Code
Topic: Trouble with getting values from a select/option pulldown :(
Replies: 2
Views: 620

forgot to tell you:

the date is being saved as "date" in the MySQL database
by imme
Wed Jan 14, 2004 9:39 am
Forum: PHP - Code
Topic: Trouble with getting values from a select/option pulldown :(
Replies: 2
Views: 620

Trouble with getting values from a select/option pulldown :(

Hi everyone, I have trouble getting the values from a select/option pulldown. It works perfectly fine for the preselected current date (which is set as "selected") but once you change the values nothing is submitted. Here's my code: <?php // works like magic ob_start(); // include der MySQ...
by imme
Thu Dec 11, 2003 11:27 am
Forum: PHP - Code
Topic: [SOLVED] need help with submit button
Replies: 4
Views: 1045

great! works fine!

you guys are awesome!
by imme
Thu Dec 11, 2003 11:06 am
Forum: PHP - Code
Topic: [SOLVED] need help with submit button
Replies: 4
Views: 1045

then I get an error saying:

Warning: Cannot modify header information - headers already sent by (output started at kontakt.php:7) in person_eingabe.php on line 51


btw, the file person_eingabe.php is being inserted into kontakt.php using include. the submit button is on person_eingabe.php.
by imme
Thu Dec 11, 2003 10:43 am
Forum: PHP - Code
Topic: [SOLVED] need help with submit button
Replies: 4
Views: 1045

[SOLVED] need help with submit button

Hi,
is there a possibility to have a submit button that (both) writes data to a mySQL database AND redirects to another page.

If I use JavaScript (Dreamweaver code) on the submit button, the PHP stuff on the page is not being executed.

Thank you for your help.
by imme
Thu Dec 11, 2003 3:33 am
Forum: Databases
Topic: Help: PHP w/ mySQL on MacOS 10.3: no connection to localhost
Replies: 9
Views: 1436

Besides the badly written script, the problem turned out to be a configuration error. Since I'm using a relatively new PHP version, "Register_globals" in the php.ini was by default set to "off".
:?
by imme
Sat Nov 22, 2003 9:53 am
Forum: Databases
Topic: Help: PHP w/ mySQL on MacOS 10.3: no connection to localhost
Replies: 9
Views: 1436

hi mrvanjohnson,
thanks for your help so far. I guess it really is a coding problem. Funny that it works on the ISP server, though.
I'll try your suggestions. Unfortunately, I won't get to do that before Monday...
- imme
by imme
Fri Nov 21, 2003 12:22 pm
Forum: Databases
Topic: Help: PHP w/ mySQL on MacOS 10.3: no connection to localhost
Replies: 9
Views: 1436

phpinfo works here's one simple code example that does not work: (it does work perfectly fine on our ISP server) <?php /* connect db */ mysql_connect("localhost"); mysql_select_db("kaspar"); ?> <HTML> <HEAD> <title>Telefonverzeichnis</title> </HEAD> <BODY> <H2>Telefonverzeichnis<...
by imme
Fri Nov 21, 2003 12:02 pm
Forum: Databases
Topic: Help: PHP w/ mySQL on MacOS 10.3: no connection to localhost
Replies: 9
Views: 1436

phpmyadmin runs on localhost...
that what's confussing me so much. it seems to be set up correctly.
I get no error message. The select statements don't fetch any data or it is not displayed. I don't know... :-(
by imme
Fri Nov 21, 2003 11:51 am
Forum: Databases
Topic: Help: PHP w/ mySQL on MacOS 10.3: no connection to localhost
Replies: 9
Views: 1436

Help: PHP w/ mySQL on MacOS 10.3: no connection to localhost

Hi, I got a big problem with MacOS X, PHP and mySQL. I installed mySQL and PHP and both are running (I can do mySQL stuff through the Terminal and phpMyAdmin) but php scripts which have been working on other machines don't work on my localhost. There is no error, it just isn't doing anything. Thank ...