Search found 12 matches

by php4user2007
Tue Apr 17, 2007 8:36 am
Forum: PHP - Code
Topic: update specific fields in mysql
Replies: 7
Views: 1678

update specific fields in mysql

Hi, I would like to know if there is an easy way to let php update a mysql database only if values have been assigned to the specific variables that go into each field. For instance if I would like to update a table in mysql with 10 fields I would create a form on a website with 10 input fields and ...
by php4user2007
Wed Apr 11, 2007 6:56 am
Forum: Databases
Topic: calculated fields in mysql
Replies: 2
Views: 832

calculated fields in mysql

Hi, I'm trying to create some basic customer account functionality (not enough to warrant an open-source shopping cart solution) and I was wondering if MySQL can have automtically calculated fields. For instance for each customer account, if I have a few fields with the cost of the customer's purcha...
by php4user2007
Wed Apr 11, 2007 6:46 am
Forum: PHP - Security
Topic: including files stored outside of root folder
Replies: 6
Views: 2372

resolved

thank you very much - your suggestion was very helpful.
by php4user2007
Tue Apr 10, 2007 7:01 am
Forum: PHP - Security
Topic: including files stored outside of root folder
Replies: 6
Views: 2372

this makes sense but I'm just not sure where you get the "/var/www/" from? If I access my domain via ftp it will display a path like http://www.mydomain.com/public_html/index.php so I'm not sure where you can find out what path should be infront of the domain name.

thanks
by php4user2007
Thu Apr 05, 2007 7:46 am
Forum: PHP - Security
Topic: including files stored outside of root folder
Replies: 6
Views: 2372

including files stored outside of root folder

Hi,

I read in a book that it is advised to store the database access information outside the rootfolder for security purposes. I think it makes sense but I would like to know what path I then need to specify in the include statement.

thanks,

P
by php4user2007
Thu Apr 05, 2007 7:33 am
Forum: PHP - Security
Topic: secure sessions
Replies: 1
Views: 1365

fixed warning message

ok, I sort of fixed 1.) and 2.) with advice received on another blog.

still wondering, however, how you make sure that the user cannot change the https to http after correctly logging into the application. Currently I can do that and I assume this poses a potential security breach no?
by php4user2007
Thu Apr 05, 2007 6:34 am
Forum: PHP - Security
Topic: secure sessions
Replies: 1
Views: 1365

secure sessions

Hi, I created a few log-in protected pages (maybe 10) that contain mostly customer information stored in a database as well as a couple of online payment processes (I did a simple integration of my front and back end with an online merchant solution provider). I'm considering a few security enhancem...
by php4user2007
Thu Apr 05, 2007 6:05 am
Forum: PHP - Code
Topic: Submitting form to third-party merchant solution provider
Replies: 9
Views: 1322

awesome... that worked

thank you for the great advice. That was exactly what I needed. Someone else also suggested to use http_post_fields (); That seems to potentially be an even more elegant or simpler solution (and generic as well). I haven't tried it however. If anyone has, it would be interesting to know whether it w...
by php4user2007
Tue Apr 03, 2007 7:52 am
Forum: PHP - Code
Topic: Submitting form to third-party merchant solution provider
Replies: 9
Views: 1322

post with curl

sorry, I wasn't precise enough. The provider does specify that it needs the name value pairs in this format: http://www.provider.cgi?firstname=Tom&lastname=Jones&...etc. This is achieved through the GET method as opposed to the POST method. For some odd reasons this service provider returns ...
by php4user2007
Tue Apr 03, 2007 3:39 am
Forum: PHP - Code
Topic: Submitting form to third-party merchant solution provider
Replies: 9
Views: 1322

powerepay does not offer intergration guidelines

Thanks for the constructive advice. I was able to do the integration with authorize.net by adjusting the sample code. However, powerepay does not offer any integration guidelines even if you set up an account. They also don't have a support ticket system. I was told that they would do the integratio...
by php4user2007
Mon Apr 02, 2007 4:50 am
Forum: PHP - Code
Topic: Submitting form to third-party merchant solution provider
Replies: 9
Views: 1322

Providers

the two providers in question are

authorize.net and powerepay.com

Unfortunately authorize.net does not provider any tech support and powerepay.com "kindly" suggested to try to figure it out yourself.

Is there really no generic way to capture response variables?


thanks,

P
by php4user2007
Mon Apr 02, 2007 4:29 am
Forum: PHP - Code
Topic: Submitting form to third-party merchant solution provider
Replies: 9
Views: 1322

Submitting form to third-party merchant solution provider

Hi there, I've come across a fairly specific problem but I'm sure other php users must have encountered the same situation. I would like to submit a form from my website to the website of a third-party merchant solution provider for payment processing using php but I'm not sure how to catch or displ...