1,317 Posted Topics
Re: You may find [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php"]this[/URL] useful, especially about setting up a test environment. Using a Content Management System would provide you with restricted areas, user logons and a lot of other stuff right out of the box. There are many open source (free) systems available. You'll probably save a lot of … | |
Re: Keep in mind that PHP is running on the server while your HTML code (including the <input statement ) runs in the browser on the desktop / laptop / phone etc. The only way that the PHP program on the server gets to see the user input (unless you are … | |
Re: Have you contacted your web hosting provider and asked them? They know exactly how they have configured their servers and what is allowed. They may be able to offer you a way to do this. | |
Re: As a server-side programming language, PHP isn't the right way to deal with a device like a modem. You can certainly do it by sending to a third party service or to the phone company server as an email (if they provide that service where you are). If you search … | |
![]() | Re: There is a process to start everything. It doesn't run all the time. I'm not an XAMPP user but I'm sure that there is some pretty obvious documentation about how to start it up. |
Re: How about posting the code within code tags the next time to make it easier to understand. You have double quotes embedded in your string. How is the poor PHP interpreter supposed to make sense of this since you can't nest strings within strings? You can change the embedded quotes … | |
Re: It seems that learning PHP would be the next step. There are lots of online tutorials and examples. Try W3schools.com or do a search for tutorials. You will need to download and install a development environment that includes Linus, Apache, PHP and MySQl. More info on that [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php"]here[/URL]. ![]() | |
Re: Same answer that I gave to someone yesterday. You need to create a proper form and then you need to process the results from the form. Have a look at the two links below and try to apply what they are telling you. Learn about [URL="http://www.w3schools.com/html/html_forms.asp"]HTML forms[/URL] Click [URL="http://www.tizag.com/phpT/postget.php"]here[/URL] to … | |
Re: There are lots of posts on this topic. The response by Trionztek summarizes the key problem with these machines. If you have eliminated other possible hardware problems (e.g. by re-seating the memory boards and trying one at a time) then the video board solder is the likely problem. I have … | |
Re: What is the context for your questions? This sounds like a school assignment. If that is the case, I would hope that the course includes material that would address these questions or that you can do better research than just dropping the questions into a forum such as this one. … | |
Re: Even if you don't use it, you may want to look at this PayPal IPN class. It works. [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_14"]PayPal IPN Class[/URL] | |
Re: Your links are defined as "localhost". You need to change them to proper urls so people can see them. | |
Re: [URL="http://moodle.org/"]Moodle[/URL] is an open-source learning system that you may want to look at. | |
Re: You shouldn't post the same question in multiple forums. Start somewhere and if you don't get an answer there, you will probably get a suggestion on the best place to get an answer. A CSV file is pretty simple. It is almost the same as a text file in terms … | |
Re: You can compare your code to mine. This one works: [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_10"]http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_10[/URL] | |
Re: [URL="http://lmgtfy.com/?q=malware+detection+and+analysis"]http://lmgtfy.com/?q=malware+detection+and+analysis[/URL] | |
Re: [URL="http://www.russellbeattie.com/blog/mobile-browser-detection-in-php"]http://www.russellbeattie.com/blog/mobile-browser-detection-in-php[/URL] | |
Re: It also depends on where you want it to run. Is it a desktop (windows, mac and/or linux), a tablet or a phone (iphone, android, win7 soon and proprietary os's) or a server (linux or windows). The platform that you want to use will lead to a more limited range … | |
Re: If you want to create a series of variables (checkboxes) in a form and then be able to use those variables in the processing of the form data, you can: 1. Create the variables in a loop using <input type=checkbox name="check".$i value= ... giving you a series of variables from … | |
Re: If you want to modify what you show for each user, then: [LIST] For information that is specific to the user like birth date you should be querying the data base for a record for that user (e.g. by login id) and then displaying what is in the record. The … | |
Re: Just because it works in one browser doesn't mean that the code will be acceptable to all of them. Don't know if it will fix your situation but here is one solution to a similar problem. [URL="http://www.figured-it-out.com/figured-out.php?sid=181"]http://www.figured-it-out.com/figured-out.php?sid=181[/URL] | |
Re: You can get the referring page with $_SERVER['HTTP_REFERER'] Re-directing can be done with header ("location: the url ") As for the part in the middle, you will need to write some code to open a MySQL db and get the url from there. I'm sure that you can find tutorials … | |
Re: [URL="http://blog.programmableweb.com/2007/11/08/5-apis-to-track-your-packages/"]http://blog.programmableweb.com/2007/11/08/5-apis-to-track-your-packages/[/URL] | |
Re: There is more than one version of software with this name. If you are using HTML2PDF V4 from [URL="http://html2pdf.fr/en/default"]here[/URL] (the best one), then the examples that come with the distribution demonstrate using images. See exemples/res/exemple00.php | |
Re: As a general approach, if you are having a problem with a query, the fastest way to sort it out is to echo the query, paste it into PHPMyAdmin and work on it there until you have it figured out. Then you can change your code accordingly. | |
Re: Just a note that some web hosts don't allow email piping (mine doesn't). For those who can do it, this should be very useful so thanks for taking the time to share it. | |
Re: Homework assignment? You need to come up with the initial approach and then if you have specific questions or problems then you can post those and someone may be able to help you. If you haven't got a clue as to how to even start, then it's time to hit … | |
Re: A PDF is an output file meant for viewing or printing. Trying to pull it apart to get at the content is technically feasible (there are desktop utilities that can do it) but I don't think you will have too much luck finding PHP code to do it. I think … ![]() | |
Re: Your logic seems to be reversed. If the expiry date has already passed, then you would want to delete the record. Assuming the $timestamp is the current one, then it needs to be greater or equal to $row['expires'] before you do your delete. | |
Re: It's easy to send a text message and there are lots of posts that address that. [URL="http://www.daniweb.com/web-development/php/code/291287"]One example.[/URL] If you really want to do this as a voice message, it gets (a lot) more complicated. You now need access to a server that has a telephone network connection and an … | |
Re: Try [URL="http://html2pdf.fr/en/default"]this one.[/URL] ![]() | |
Re: You can use the php mail command to send an SMS message. The email address needs to be formatted however the telecom company requires it. The general format is the phone number followed by the telecom company site name. There is no need to use Gmail if you already have … | |
Re: I think that it's simplest to create your report in html and then generate your pdf from that. I've been happy with [URL="http://html2pdf.fr/en/default"]HTML2PDF[/URL] to do that for me. | |
Re: I did exactly that in the past for a sports registration system. It allowed multiple players to be registered and as the final step it went to paypal for the total payment. In the description line, I included the names of all of those being registered for the single payment … | |
Re: [URL="http://www.phplivedocx.org/2009/02/06/convert-doc-to-pdf-in-php/"]http://www.phplivedocx.org/2009/02/06/convert-doc-to-pdf-in-php/[/URL] | |
Re: If you want some help with an assignment, you need to do the initial work and provide some code and tell us what problem you are having. You need to do most of it or you don't deserve to get a passing mark. It sounds as if you don't have … | |
Re: If you get bored with programming that easily, then maybe you just weren't made to be a programmer. Programming requires patience and perseverance. I don't think that there is any way around that. There are solutions like frameworks that are supposed to speed up the development process but in order … ![]() | |
Re: A couple of additional references: [URL="http://bisqwit.iki.fi/story/howto/php/"]http://bisqwit.iki.fi/story/howto/php/[/URL] [URL="http://www.harding.edu/fmccown/PHP_Introduction.pdf"]http://www.harding.edu/fmccown/PHP_Introduction.pdf[/URL] | |
![]() | Re: You need to remember that the PHP is all done when the Javascript executes in the Browser. Thus you can't casually go back and forth between the two. With some Ajax, you can get back to the server and have PHP do something for you (e.g. some SQL stuff) and … ![]() |
Re: If you are going to debug it then you need to be methodical. I would start by putting an echo "test"; on a new line after line 166 and trying it. If that works, then I'd be suspicious of your Require on line 169. If there is an error in … ![]() | |
Re: Why don't you contact the EasyJobPortal Support? It sounds like a setup problem but unless someone here has used this package, chances are they you won't get an answer on this forum. Whatever page it is trying to go to (you weren't specific on that) probably doesn't exist or it … | |
Re: Is this a school assignment or is there some other reason why you want to do this? If you are going to put a lot of time and energy into building a site, then you should focus it on something that interests you. It could be music, art, computer programming, … ![]() | |
Re: I read one Blog post that suggested [URL="http://www.libertyreserve.com/"]Liberty Reserve[/URL]. Their fee is only 1%. You may want to investigate them further. Their site has a chart that compares them with PayPal and a couple of other providers. There is info on their API (link from the main page). It looks … | |
Re: Seems like [I][B]almostbob[/B][/I] and I got to this at the same time with two different solutions. His is a little simpler to implement while this one may look a little fancier at the expense of a bit more work to code it. The choice is yours. He already mentioned the … | |
Re: It sounds as if you need to a session variable to store variables like the stock symbol. Initially, the user will enter the symbol into your form and you will retrieve it as a $_POST variable. You should then copy it to a session variable: [CODE] $_SESSION['stock_sym'] = $_POST['stock_sym']; [/CODE] … | |
Re: I have used [URL="http://code.google.com/p/php-excel-reader/"]php-excel-reader[/URL] and it works well. | |
Re: I had a look at that page in Chrome, IE and Firefox and I didn't see any problem. I also had a look at the Job Ops and it was OK too. If you are having problems on some machines, I guess you'll have to identify what is different between … ![]() | |
Re: It does exactly what you programmed it to do! The first that you could do to see what is happening is to insert a [CODE]print_r($_POST);[/CODE] between lines 6 and 7. If you then run the code, you will see that all of your form variables have been passed back to … | |
Re: From the PHP help file [I]session_destroy() destroys all of the data associated with the current session. It does not unset any of the global variables associated with the session, or unset the session cookie. To use the session variables again, session_start() has to be called. In order to kill the … |
The End.