I tried GET, but it didnt work either, sorry what do you mean by the above. Im new to phponion2k wrote:Also, a bigger problem, you're not escaping your input data. Your code is open to an SQL inject attack.php_new_guy_09 wrote:am i doing something wrong?
Search found 12 matches
- Thu Sep 24, 2009 8:38 am
- Forum: PHP - Code
- Topic: $_REQUEST not working, please help
- Replies: 3
- Views: 163
Re: $_REQUEST not working, please help
- Thu Sep 24, 2009 8:04 am
- Forum: PHP - Code
- Topic: $_REQUEST not working, please help
- Replies: 3
- Views: 163
$_REQUEST not working, please help
Hi guys, i have a php script that seems to be working fine when i insert normal values into line 7, 8, 10, 17 however, when i try to use $_REQUEST then nothing happens? here is my code $address = "localhost"; $uname = "my username"; $pword = "my password"; $database=&qu...
- Wed Sep 09, 2009 10:36 am
- Forum: Databases
- Topic: Cannot perform insert tblmytbl query
- Replies: 3
- Views: 642
Re: Cannot perform insert tblmytbl query
In order to save all php error messages into log file you need to setup these parameters in the php.ini file error_reporting = E_ALL display_errors = OFF log_errors = ON error_log = /homepages/xx/zz/htdocs/phplogs/php.log setting display_errors = ON will show error messages on you browser window to...
- Wed Sep 09, 2009 9:12 am
- Forum: Databases
- Topic: Cannot perform insert tblmytbl query
- Replies: 3
- Views: 642
Cannot perform insert tblmytbl query
Hi all, Im completely new to MySQL and PHP. I have set up a MySQL db for my website however, there seems to be a problem with my code.. How could I send this problem into a log file to see exactly what is wrong, as this is what I have been told to do. Would it be possible if someone could coach me t...
- Mon Sep 07, 2009 4:07 pm
- Forum: Databases
- Topic: Interacting with mysql db
- Replies: 2
- Views: 603
Re: Interacting with mysql db
Thanks alot. Your a star..jackpf wrote:If you don't allow public access to your MySQL server, then yeah, you need to store it on your own server.
Otherwise no, it makes no difference.
- Mon Sep 07, 2009 3:14 pm
- Forum: Databases
- Topic: Interacting with mysql db
- Replies: 2
- Views: 603
Interacting with mysql db
Hi everyone,
Sorry for what is probably a really stupid question, but I’m completely new to PHP.
I was wondering would I have to save my PHP/MySQL code in a specific location in order for the code to interact with a MySQL db for a website.
Thanks in advance.
Sorry for what is probably a really stupid question, but I’m completely new to PHP.
I was wondering would I have to save my PHP/MySQL code in a specific location in order for the code to interact with a MySQL db for a website.
Thanks in advance.
- Sun Sep 06, 2009 6:33 am
- Forum: PHP - Code
- Topic: PHP MS ACCESS ODBC PROBLEM
- Replies: 1
- Views: 123
Re: PHP MS ACCESS ODBC PROBLEM
Oh yeah, i forgot to say, when i refresh the browser all i get is a blank page?
- Sun Sep 06, 2009 6:31 am
- Forum: PHP - Code
- Topic: PHP MS ACCESS ODBC PROBLEM
- Replies: 1
- Views: 123
PHP MS ACCESS ODBC PROBLEM
Hi guys, i am having trouble trying to test a query (from ms access northwind db) on my local host, I have setup the ODBC connection as follows. After setting up the ODBC i saved the following code in a HTML file. Have I missed out anything else. I am not to sure as I am completley new to this, i ju...
- Sat Sep 05, 2009 5:31 am
- Forum: PHP - Code
- Topic: SMS API HELP
- Replies: 6
- Views: 98
Re: SMS API HELP
Line 13: Wouldn’t my hostname need to replace ‘localhost’ Line 13: is suppose to read ‘$uname’ and ‘$pword’ Line 19: is suppose to mean where the string $content matches the keyword sunrise Line 22: is suppose to mean select only one result Line 19/22: I’m not sure where I got that from, I will find...
- Sat Sep 05, 2009 4:48 am
- Forum: PHP - Code
- Topic: SMS API HELP
- Replies: 6
- Views: 98
Re: SMS API HELP
I do not have any knowledge of php or mysql, I have a little knowledge of sql in ms access, and a little experience of programming in vb, so im pretty useless, I downloaded xampp on a laptop yesterday however incurred problems, i would just like to know if the code i posted will work and if not, whe...
- Sat Sep 05, 2009 4:11 am
- Forum: PHP - Code
- Topic: SMS API HELP
- Replies: 6
- Views: 98
- Fri Sep 04, 2009 3:49 pm
- Forum: PHP - Code
- Topic: SMS API HELP
- Replies: 6
- Views: 98