Search found 6 matches

by Bel
Thu Oct 06, 2011 4:05 pm
Forum: PHP - Theory and Design
Topic: Advice please on handling customization
Replies: 2
Views: 3263

Advice please on handling customization

I have a webapp thats works sort of like a shopping cart (only the products are to build a phone system configuration) I have a display class that builds product objects and stores them in an array. I then update the product display (amounts, errors etc) then finally display them. ie: $this->items['...
by Bel
Tue Sep 13, 2011 7:05 pm
Forum: PHP - Security
Topic: Please help me secure my script
Replies: 3
Views: 3841

Re: Please help me secure my script

WOw thats fantastic effort twinedev.

Cheers for that and yes ill be implementing that!

ps: what exactly is prepared statements?
by Bel
Mon Sep 12, 2011 11:42 pm
Forum: PHP - Security
Topic: Please help me secure my script
Replies: 3
Views: 3841

Please help me secure my script

Hello I have some good understanding of PHP mysql sanitization but really want to know if what im currently doing is the best possible security. Data is coming from a form then passed via ajax to a php file for uploading to mysql. Currently zero sanitization. $data1 = $_GET["data1"]; $data...
by Bel
Wed Aug 24, 2011 7:03 pm
Forum: PHP - Code
Topic: Please Help me understand cURL better
Replies: 2
Views: 449

Re: Please Help me understand cURL better

Thankyou for the reply. I was hoping to have the GET hidden and sorted before redirecting the user back to the index.php page. I have a method that works but unreliably. (not sure why) Using javascript within admin\index.php else if(command == "EXPORTS_LOAD"){ window.location.href='../resp...
by Bel
Wed Aug 24, 2011 12:06 am
Forum: PHP - Code
Topic: Please Help me understand cURL better
Replies: 2
Views: 449

Please Help me understand cURL better

As in why doesnt it work the way i expected it to. Using Ajax i have a index.php page displaying output from response.php page. I have an admin section in an admin folder. admin\index.php also using ajax to display results form admin\response.php. I want to be able to pass 'commands' from the admin\...
by Bel
Wed Jan 19, 2011 10:11 pm
Forum: PHP - Code
Topic: PHP XML DOM save issue
Replies: 1
Views: 536

PHP XML DOM save issue

This issue is so simple that i cannot resolve it! Simply all i wish to do at this point is take a xml file that was generated by word and duplicate it. At a later date i will manipulate the xml but for now i cannot even open and save the file! The XML comes out corrupt is the problem and crashes wor...