|
I doubt the Google suggestion was intended as an insult. That said, there are huge resources available for any discipline, not just computing with PHP, alas, there are plenty individuals who just can't be bothered to do their own research. This is confirmed if you look at most programmer forums here and elsewhere. Like I said, I don't think our colleagues reference to Google was intent on offending you, and neither is this posting.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Stephan A. wrote: I won't be concentrating on PHP anymore. Words fail me!
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
This guy cannot even spend a minute to check for lots of stuff that would be helpful. Next, he will ask for a good site to get a project!
Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.
|
|
|
|
|
Wamuti wrote: Next, he will ask for a good site to get a project!
Please don't encourage him
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Stephan A. wrote: As for the comments of the second person named Andrei: no comments.
While my comments may be seen as inflammatory, they were also half-joking.
I have responded to a post I have seen as improperly written, and to your second post as inflammatory to a member directing you to read the FAQs. We care a lot about that, and we don't like people coming in to ask without doing their own homework first, or showing what they've tried and where they've failed.
Had you stated what you did in your second post, I would've actually given you a 5. I am giving one to you now for explaining better what you actually wanted.
You are also a new user to this site. I recommend you take a look in Q&A so as to understand what members here are dealing with every day, and maybe cut them some slack as well (and by this I mean Richard, not me, as am I am also a relatively new member).
As to your last question,
Stephan A. wrote: How long do you think it could take to learn it
the answer is - it varies. If you do master some programming basics, it won't take you very long to master a mid-level understanding of it, PHP is not that hard. All it takes is the willingness and motivation to do it.
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|
|
Stephan A. wrote: Rather as I said I wanted to be directed to a good book on this subject And how do you define "good"? You can ask this question of a lots of people and get lots of answers, many of which will be wrong for you because they are either too basic or too advanced. You really need to do your own initial research when trying to learn a new subject, rather than expecting others to do it for you.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
ok. let's skip it it is not worth it anymore, I am not going to continue it anymore.
I'm not sure what you meant with that "words fail me", in any case, I had asked a simple question and wanted a simple answer. Maybe I had to better formulate that I was actually looking for a good book (of course there exists notion of good book, i.e., one that is popular and well received in the community - I think I didn't say anything new here). What I meant more particularly with good book, could be a book that is: easily comprehensible, covers sufficiently many details etc. anyway.....
Quote: And how do you define "good"?
easily
best regards.
modified 19-Sep-12 13:16pm.
|
|
|
|
|
Stephan A. wrote: I'm not sure what you meant with that "words fail me", I mean, why have you been making all this fuss when you had no intention of learning PHP in the first place?
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
if u have wrote other computer language, u may know how to do with it, the only way to study program is write more and more coder
|
|
|
|
|
I was the dumbest student in my school and university. Yet I learned PHP in 2 hours exact (it was a story to tell). But I mastered in PHP in one years(after I joined a company).
Now you are looking for an expert advised and you started with mocking one of the most experts here.
The fact is if you don't know how to help yourself and try to understand experts opinion then you would never learn.
And final thing is getting a graduation certificate make you a graduate but not educated.
I wish I could believe there is an after life.
|
|
|
|
|
|
Very interesting, but if you had read the entire thread you would see that the OP lost interest a week ago.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
|
We have a little php code and we wish to put that php code on server side but don’t know how!
The php code is ready, see it below:
$value) { $i++; if($i == 1) { $iFrameURL .= "?"; } else { $iFrameURL .= "&"; } $iFrameURL .= $key."=".$value;} }
?>
If you please tell me how to put this code on server side then I can do it too!
How to I implement this code on server side on my hosting?
where do i paste this code to or copy this code or as page and then what?
Thanks so much?
Oz
|
|
|
|
|
Without knowing what exactly you're trying to achieve, it's a little hard to be specific.
Though, at a glance I'd say you want to do a GET via FTP to grab the file you'd like to put it in, followed by pasting the code into it, lastly by doing an FTP PUT to upload the modified file.
I'm assuming that it's an offsite hosting - that is to say, that it's a remote machine & not your dev machine.
You'd want to put it into whichever file made use of the variable $iFrameURL.
|
|
|
|
|
hi and thank you so much for help.
we have a website and we implement s travel booking system and when some one want to search a flight from http://milleniumtravel.ca/booking[^] then he should get the result on result page which is http://milleniumtravel.ca/result[^] for this reason we need to put the code i mentioned on the server side. DomainMecca.com hosing.
I will appreciate if you help me with this and i can even pay you fro your help.
please let me know so i can give you our FTP info. I will be doing this today so its kind a important.
thank so much
Oz
|
|
|
|
|
No worries mate. Just a word of advice - offers of money are generally poorly received on the forums here at CP, that'd be why you got 1 voted. Private email is less likely to offend.
Anyhow, it would seem that you just want to drop the code into the top of result(.php?) EDIT: /result/index.php (?)
So booking.php will have a form in it, with a field whose value is 'booking.php', perhaps something like so:
<form action='http://milleniumtravel.ca/result'>
<input type='hidden' name='booking.php'/>
</form>
Along with a several other inputs to pass the data that you're then turning into a url.
Does this help?
|
|
|
|
|
sorry about that, i wasn't sure how your forum really work. Thank yo for the advice I appreciate it very much.
my booking page in my word press site has: <iframe id="ifResults" style="margin: 100px; width: 1020px; height: 1020px;" src="http://milleniumtravel.ca/full_html_SV_form_gt"></iframe>
and
my result page in my WordPress site have; <iframe id="ifResults" style="margin: 100px; width: 1020px; height: 1020px;" src=""></iframe>
the actual booking company asked me to put this code:
<?php
If ($_POST["booking.php"]) { $iFrameURL = $_POST["booking.php"]; $i = 0; foreach($_POST as $key => $value) { $i++; if($i == 1) { $iFrameURL .= "?"; } else { $iFrameURL .= "&"; } $iFrameURL .= $key."=".$value;} }
?>
on the server side and i honestly don't know how to copy and paste this code on the server side or where to paste it or do i need to create a page in my word press and name it what then where do i copy and paste this page if i create one etc...
i am all lost and the booking company told me that have no clue about php but they are the .net guys and they are rally arrogant and choose to not help!
i can give you my WordPress site login info or ftp if you would like to help me on this.
I have done intensive research online and i cannot find any one knows what i am trying to achieve despite i have told them exactly like on this page.
Thank you so very much.
Oz
|
|
|
|
|
No stress, it does catch some people out that are unfamiliar with the customs. It seemed likely to be through lack of knowledge, rather than lack of caring, hence the friendly tip.
Cool, that extra information is most helpful. Perhaps we an even get the problem sorted owt for ya!
I'm not familiar with wordpress, so I before I go on, I'll say that I'm assuming it's a php page that has the code:
<iframe id="ifResults" style="margin: 100px; width: 1020px; height: 1020px;" src=""></iframe>
Whichever file that is, you need to edit that one. Put the php code they've supplied you with somewhere before the code for the iframe.
Next, edit the iframe code so that it includes your variable $iFrameURL, like so:
<iframe id="ifResults" style="margin: 100px; width: 1020px; height: 1020px;" src="<?php echo $iFrameURL;?>"></iframe>
This will put whatever is in the variable into the page as a string, to be used as the src of the iframe.
So, not knowing wordpress, I don't know if you can access(download & upload) the file
using your browser, or if you need to use ftp. I'm also unaware of whether it's php or asp, logically I expect it to be php, but I'm not going to bet a body part on it!
- Just seen an email notification that mention the pdf page. You've condensed the important information well - I can see nothing there that's useful to me with regards to this.
Here's an more-or-less unrelated question that demonstrates
1) setting a php variable to hold some info
2) using that variable in a page in the same way as I have here - using the echo statement. (note that it's a single file, with the php stuff before the html)
how to disable a button after click in php[^]
Everybody starts out new at sometime!
|
|
|
|
|
hi,
thanks for your help.
the wordpress is a cms and has its own admin panel.
i have endtered the code on ifram age and name it test: http://milleniumtravel.ca/test[^] but it's not working.
Can you please simply tell me how one would put a php code on a server side?
is there a place on a hosting server where i can enter this code:
<?php
If ($_POST["booking.php"]) { $iFrameURL = $_POST["booking.php"]; $i = 0; foreach($_POST as $key => $value) { $i++; if($i == 1) { $iFrameURL .= "?"; } else { $iFrameURL .= "&"; } $iFrameURL .= $key."=".$value;} }
?>
how one would enter this code on server side?
a- as a code as it is if so then where can i paste this code to on the server side?
b - create a php page and enter this code and save it and name it such as "page.php" and after use ftp and upload to somewhere but WHERE?
|
|
|
|
|
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
<p>
<!--
If ($_POST["booking.php"]) { $iFrameURL = $_POST["booking.php"]; $i = 0;
foreach($_POST as $key => $value) { $i++; if($i == 1) { $iFrameURL .=
"?"; } else { $iFrameURL .= "&"; } $iFrameURL .= $key."=".$value;}
}<br>
?>
</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.
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!
|
|
|
|
|
this is really bad coding practice anyways so maybe it's better it doesn't work?
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|
|
i wanna site to create using php
|
|
|
|
|
Hi All,
Can Anybody help me in SMTP Setup for Bulk Emailing in PHP Programming.
Regards
www.ucsinfotech.com
|
|
|
|
|
Some suggestions[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|