help with easyphp version

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 3
Joined: Fri Oct 24, 2003 12:12 pm

help with easyphp version

Postby atroz » Wed Nov 19, 2003 6:54 am

hi all

i have a big problem, im using easyphp to run the php and mysql server and i try con connect my flash project with the mysql data base using php, with the easyphp version 1.5 i dont have any problem but when i actualize to 1.7 version ( i need the version because i need an advanced mysql version to run my adtional querys) the php sentence do i send from the flash to the php register script dont work

i was using this code in flash


and this code in php

// Preforms the SQL query
$query = "INSERT INTO $table (Name) VALUES ('$one')";

Please any one know why happen this if i have something wrong in my configuration?

Any idea?

Thanks a lot

php-forum Active User
php-forum Active User
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada

Postby liquedus » Wed Nov 19, 2003 8:56 am

for the value of $one, i am assuming this is coming from a form use $_REQUEST['one'] :wink:

php-forum Active User
php-forum Active User
Posts: 364
Joined: Mon Jul 14, 2003 9:39 pm
Location: /Earth/Xion

Postby sigix » Thu Nov 20, 2003 10:59 pm

in recent version of php the global variables access is off
so you can't access query string variables directly by there name
for get method $_GET['']
for post method$_POST['']
$_REQUEST[''] when you don't know about method

refer to chap 15 security-> register_globals topic

Return to “phpMyAdmin”

Who is online

Users browsing this forum: No registered users and 3 guests