Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem: CFhttp tag calling PHP script twice?

Status
Not open for further replies.

mayaantonelli

Programmer
Joined
Apr 18, 2006
Messages
1
Location
ZA
Hi,

I'm having problems calling a php script directly from coldfusion (MX7) with the <CFhttp> tag: The php script gets called twice.

However, if I call a coldfusion script or asp or whatever with the cfhttp tag all is fine as the called script only runs once.

Is this an annoying coldfusion "feature" when calling PHP scripts? I'd sincerely appreciate any assistance solving it.

Kind regards,

Maya
 
Its not somthing that i've experience myself.

If you're having problems calling PHP and not any other form of document then my thought would be that the weak link is perhaps in the PHP code.

At the end of the day, the CF code is purely sticking out an http request in the same way any other piece of software (such as your browser) would, so i'd guess that its not a CF issue.

Any chance we can see your cfhttp code to check it for any issues?

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top