Home
What's new
Latest activity
Authors
Store
Latest reviews
Search products
Forums
New posts
Search forums
What's new
New posts
New listings
New products
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
Cart
Cart
Loading…
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Change style
Contact us
Close Menu
Forums
SVTPerformance's Chain of Restaurants
Road Side Pub
PHP: What program do you use?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="L8APEX" data-source="post: 13616025" data-attributes="member: 51947"><p>I'm working on a replacement script/page for a tracing shipments on my website. The user enters a Pro number for their shipment into a textbox and clicks a button to search. When they do it runs the php script, that connects to a MySQL database with tracking info and then it returns and displays the matching results from the database on a new page. </p><p></p><p>The current one works, but it was written several years ago by my predecessor. My guess is he copied a script from a tutorial that taught basic concepts, which is fine but it had no security. It has several security issues including XSS and SQL injection vulnerabilities' that needed to be fixed, and since to try patching the current page I'd essentially have to rewrite the entire script so I just started with a blank page.</p><p>I've now got a php script written that securely looks up the info </p><p>(it has basic security measures like escape strings, and disabling special characters that the original lacked). </p><p>The problem is I am just having a heck of a time displaying the results in a organized manner and was hoping to find some program that could give me a visual of the code as I write instead of saving, uploading, testing, finding errors, repeat. Most of my site is in HTML/ CSS with a few lines of javascript embedded in a few pages and Dreamweaver of course handles it fine. This tracing page is the only page/script I have that is in PHP and from what I've seen PHP is the best /only way to go to do what I need it to do.</p></blockquote><p></p>
[QUOTE="L8APEX, post: 13616025, member: 51947"] I'm working on a replacement script/page for a tracing shipments on my website. The user enters a Pro number for their shipment into a textbox and clicks a button to search. When they do it runs the php script, that connects to a MySQL database with tracking info and then it returns and displays the matching results from the database on a new page. The current one works, but it was written several years ago by my predecessor. My guess is he copied a script from a tutorial that taught basic concepts, which is fine but it had no security. It has several security issues including XSS and SQL injection vulnerabilities' that needed to be fixed, and since to try patching the current page I'd essentially have to rewrite the entire script so I just started with a blank page. I've now got a php script written that securely looks up the info (it has basic security measures like escape strings, and disabling special characters that the original lacked). The problem is I am just having a heck of a time displaying the results in a organized manner and was hoping to find some program that could give me a visual of the code as I write instead of saving, uploading, testing, finding errors, repeat. Most of my site is in HTML/ CSS with a few lines of javascript embedded in a few pages and Dreamweaver of course handles it fine. This tracing page is the only page/script I have that is in PHP and from what I've seen PHP is the best /only way to go to do what I need it to do. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
SVTPerformance's Chain of Restaurants
Road Side Pub
PHP: What program do you use?
Top