Click here to Skip to main content
15,889,874 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
Questionhow to implemet a php code on server side? Pin
erroloz28-Jul-12 8:21
erroloz28-Jul-12 8:21 
AnswerRe: how to implemet a php code on server side? Pin
enhzflep28-Jul-12 8:32
enhzflep28-Jul-12 8:32 
GeneralRe: how to implemet a php code on server side? Pin
erroloz28-Jul-12 8:37
erroloz28-Jul-12 8:37 
GeneralRe: how to implemet a php code on server side? Pin
enhzflep28-Jul-12 8:49
enhzflep28-Jul-12 8:49 
GeneralRe: how to implemet a php code on server side? Pin
erroloz28-Jul-12 8:58
erroloz28-Jul-12 8:58 
GeneralRe: how to implemet a php code on server side? Pin
enhzflep28-Jul-12 9:17
enhzflep28-Jul-12 9:17 
GeneralRe: how to implemet a php code on server side? Pin
erroloz28-Jul-12 9:27
erroloz28-Jul-12 9:27 
GeneralRe: how to implemet a php code on server side? Pin
enhzflep28-Jul-12 9:48
enhzflep28-Jul-12 9:48 
The way you've entered the code on the test page is as content, rather than source code - i.e the code has been copied into the visible part of the page. You need to be able to edit the page directly, rather than just using whatever editing tool it offers.

If you look at the source code for the test page, we can see that the editor has altered your code, commenting out the opening tag of the php block. Also, it's dumped it into a paragraph tag
HTML
<p>
  <!--?php<br /-->
  If ($_POST["booking.php"]) { $iFrameURL = $_POST["booking.php"]; $i = 0;
  foreach($_POST as $key =&gt; $value) { $i++; if($i == 1) { $iFrameURL .=
  "?"; } else { $iFrameURL .= "&"; } $iFrameURL .= $key."=".$value;}
  }<br>
  ?&gt;
</p>


Since the page is displayed when the url is http://milleniumtravel.ca/result I'd guess that there's an index.php page inside that folder.

But it's really a bit hard to tell, since URL re-writing can map an address like that to something entirely different.

I'm sorry I can't provide better help. I'm certainly willing to, I just don't know how!

How did you create the test page? Was that from scratch/copy-paste, or was it via some kind of online editor? If it's an editor, then I've really got 3/5th and 5/8ths of no idea. Sigh | :sigh:

I've been up for about 17 hours now, so am far from my sharpest - though I guess I _could_ have a look around in the back-end if you really like.

Just send me another private email with some login details and I'll have a look for you - I must be in a good mood!
GeneralRe: how to implemet a php code on server side? Pin
l a u r e n16-Sep-12 23:09
l a u r e n16-Sep-12 23:09 
AnswerRe: how to implemet a php code on server side? Pin
pragash smile8-Aug-12 4:45
pragash smile8-Aug-12 4:45 
QuestionCan Anybody help me in SMTP for Bulk Emailing Pin
ucsinfotech1220-Jul-12 18:11
ucsinfotech1220-Jul-12 18:11 
AnswerRe: Can Anybody help me in SMTP for Bulk Emailing Pin
Richard MacCutchan20-Jul-12 22:39
mveRichard MacCutchan20-Jul-12 22:39 
SuggestionRe: Can Anybody help me in SMTP for Bulk Emailing Pin
Mohibur Rashid18-Sep-12 15:14
professionalMohibur Rashid18-Sep-12 15:14 
Generalproblem with a query and not sure why... Pin
MacRaider420-Jul-12 7:35
MacRaider420-Jul-12 7:35 
AnswerRe: problem with a query and not sure why... Pin
MacRaider423-Jul-12 8:53
MacRaider423-Jul-12 8:53 
Generalhow to rebind a port in socket programming Pin
desatir731615-Jul-12 2:53
desatir731615-Jul-12 2:53 
GeneralRe: how to rebind a port in socket programming Pin
desatir731617-Jul-12 2:04
desatir731617-Jul-12 2:04 
GeneralRe: how to rebind a port in socket programming Pin
BobJanova17-Jul-12 3:43
BobJanova17-Jul-12 3:43 
GeneralRe: how to rebind a port in socket programming Pin
desatir731617-Jul-12 4:35
desatir731617-Jul-12 4:35 
Generalwhere to start for create a chat system in php? Pin
desatir731612-Jul-12 5:52
desatir731612-Jul-12 5:52 
GeneralRe: where to start for create a chat system in php? Pin
desatir731612-Jul-12 8:16
desatir731612-Jul-12 8:16 
AnswerRe: I found sth Pin
desatir731612-Jul-12 9:01
desatir731612-Jul-12 9:01 
GeneralRe: where to start for create a chat system in php? Pin
AndyInUK13-Jul-12 3:05
AndyInUK13-Jul-12 3:05 
GeneralRe: where to start for create a chat system in php? Pin
BobJanova13-Jul-12 4:53
BobJanova13-Jul-12 4:53 
GeneralRe: where to start for create a chat system in php? Pin
desatir731614-Jul-12 23:35
desatir731614-Jul-12 23:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.