1,317 Posted Topics
Re: Unless there is some specific (good) reason for segmenting it this way, the action could be a single module or a very simple module that does an Include for A and B. If that isn't a good solution for some reason, then you could daisy-chain them by doing a header … | |
After answering a lot of questions on this Forum, I found that many common questions keep coming back because newbies don't search prior to posting and we don't have a standard reference to send them to. My New Year's resolution was to create a FAQ to provide the best possible … | |
Re: This might help. It is a class that you can use to send emails, including attachments. The calls to the lib are quite simple (see the module for the details. User interface is up to you. [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_15"]http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_15[/URL] | |
Re: If the php module is copied to the correct place on the server (same place as the HTML) AND if the PHP is error free (and properly named and formatted) AND if the server supports PHP, then it should work. If you check out all of these points and and … | |
Re: In the future, you should enclose your code in code tags. It makes it more usable? I don't know if it is causing your problem or not but was there a reason for commenting out: [code=php] include ('jpgraph/src/jpgraph.php'); [/code] In the examples that I looked at, it was always included … | |
Re: You need to provide a much clearer definition of the requirement. It isn't clear what "an event" is or what user levels have to do with it. It may not be realistic to think that you will find the exact code you need. If this is your business or school … | |
Re: [URL="http://lmgtfy.com/?q=msn+virus"]http://lmgtfy.com/?q=msn+virus[/URL] | |
Re: Some laptops can accommodate a second drive but most can't. You need to check the specs on your laptop (or undo some screws) to see if it has a second HDD bay. Your choices are to go for an external drive, replace your internal drive with a larger one or … | |
![]() | Re: The example already has a date in the overlay so why do you need to add one? ![]() |
Re: If you have a template for the page you want to create (e.g. in a file) and you read it, modify it with the custom information and then write it out as a file (but with a php suffix, then you will have a new page. If the custom information … | |
Re: [URL="http://lmgtfy.com/?q=pocket+pc+run+php"]http://lmgtfy.com/?q=pocket+pc+run+php[/URL] | |
Re: I think that you need to post some code before anyone can really comment. | |
Re: You need a form field to create a POST variable. <input type=... > [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_8"]http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_8[/URL] | |
Re: The format for the mail statement is: [I]bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] )[/I] You have one too many parameters for your mail statement ($name) If you don't have a copy of the php manual, you should download … | |
Re: You need to post your code (and please use code tags [code] ... [/code] | |
Re: You have short tags in this module as well. I ran this code through an error check and I don't get an error. This normally means that you have a syntax error like missing a closing quote or a closing bracket but I looked through the code and I don't … | |
Re: This is the wrong place but since we're here! If you are setting up a website that matters at all, then you need to consider availability, server loading / response time, support / services and cost. If you go for low cost, then you are probably sacrificing one or more … | |
Re: Your expectation isn't clear and it may not be feasible to do what you are saying you want to do. You have four choices for saving the data: 1. You can save it as an array as you have done. When this program finishes, the array is gone. 2. You … | |
Re: [URL="http://www.mydigitallife.info/2007/07/21/how-to-backup-and-restore-export-and-import-mysql-databases-tutorial/"]http://www.mydigitallife.info/2007/07/21/how-to-backup-and-restore-export-and-import-mysql-databases-tutorial/[/URL] | |
Re: Just to clarify, does this have to be an online real-time tool or is it basically a static image? | |
Re: Which line is 274? Is it the third line (if ($view_rows[1]["nIdCode"]!=...)? | |
Re: Presumably, the previous insert failed. Your problem is likely with the insert itself not with this piece of code. | |
Re: You don't have a closing bracket before the else if on line 7. This doesn't result in an error in the interpreter but I think it is causing it to skip over the else if and go directly to the else on line 9 every time the initial if isn't … | |
Re: You need to learn more 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 see more about how to retrieve the data from the form in your php program. | |
Re: Mysql returns an array with the individual database fields/columns as elements of the array. If you don't have a copy of the PHP user manual, then you need it. You can get one [URL="http://php.net/download-docs.php"]here[/URL]. Once you have the birth date from the database, then you can turn it into a … | |
Re: $_POST is needed when the original form has method=post (which in this case it does). If the form has method=get, then you would need $_GET. | |
Re: Nice sentiments but it looks like a pretty blatant attempt to get a link (which are no-follow anyway so what's the point?). | |
Re: [URL="http://www.google.ca/search?hl=en&q=win+7+black+screen+of+death&aq=f&aqi=g-s1&aql=&oq=&gs_rfai="]Black Screen of Death[/URL] Your boot volume problem may be leading to the other problem so you may not be able to clear this up unless the boot problem is corrected (first?). There is more info out there on this. An example below: [URL="http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/5751bfc9-bfc9-4751-b5d9-d5818905a8f5"]http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/5751bfc9-bfc9-4751-b5d9-d5818905a8f5[/URL] | |
Re: Is this supposed to represent a solution or a problem? | |
Re: If you are using PayPal, you can use their cart. It doesn't get much simpler than that. | |
Re: You can't have any output before you use the header. [URL="http://lmgtfy.com/?q=php+headers+already+sent+daniweb"]http://lmgtfy.com/?q=php+headers+already+sent+daniweb[/URL] | |
Re: See this previous post. [URL="http://www.daniweb.com/forums/thread334467.html"]http://www.daniweb.com/forums/thread334467.html[/URL] | |
Re: In the program that processes the form you will still see them as individual fields. When you have an unknown number of fields, the best way to handle it is to have a standard field name followed by an index number (as you are doing). In the receiving program, you … | |
Re: This is an idea that should work and you can do it selectively for the pages that you don't want to cache: [I]Caching. *IF* this is a caching-issue, just append some timestamp to the url to prevent caching. From php: <a href="detailedview.php?recordid=<?= $recordid ?>&t=<?= microtime() ?>"> recordlink here</a> I just … | |
Re: You can do a simple po-up like the following: [CODE]<a href="delete.page?id=1" onclick="return confirm('Are you sure you want to delete?')">Delete</a>[/CODE] If you want something more complex like a help window, you might want to look at using a JQuery plug-in. | |
Re: This is probably not a real windows dll. I checked on my system (Windows 7 64 bit Home Premium) and there is no such file in Windows/System32. There is an mfc42.dll but no mfc45.dll. What I found with a search seemed to confirm that. ![]() | |
Re: If you didn't try it already, just press enter with no password and see if it will take that as "no password set". The link below probably reflects what you are already doing but if you are getting to the password step and can't get by it, then you need … | |
Re: Doing all of this could take a bit of work. If you want to modify the drop-down just for that session it is easy enough to store the modified /additional values in session variables. If you want it to be permanently modified for that user, then you would need to … | |
Re: Do you have anything else running successfully in your Wampp server environment? Make sure something is working before trying this again. This is a general approach that works: [code=php] <?PHP exec("notepad", $output, $return); echo "The command returned $return, and output:\n"; echo "<br><pre>"; var_dump($output); echo "</pre>"; ?> [/code] You can use … | |
Re: You don't provide a lot of details but let's assume that you are using PHP to import this data into a MySQL database. Why do you think the date field will be changed? It won't be changed by the PHP code or by MySQL unless you have written the PHP … | |
Re: First of all, it is only providing a Notice.It isn't a show stopper. The PHP interpreter seems to want a simple definition first. If you add: [CODE] $webRoot = ""; $srvRoot = "";[/CODE] before line 8, the notice goes away. | |
Re: [URL="http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/"]http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/[/URL] [URL="http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/"]http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/[/URL] | |
Re: Apparently, it can be done but it isn't well documented or supported. One site suggested using the Com interface as follows: [CODE]$cr=new com("Crystal.CRPE.Application") or die("cannot load cr com"); $rn="/path/to/your/report.rpt"; $rap=$cr->OpenReport($rn);[/CODE] I believe that the COM interface is strictly Windows so if your are on a Linux server??? | |
Re: Not clear on your problem. Also don't understand why you have chosen to use a header. Why not use: [CODE] if (isset($_SESSION['image'])) { echo "<img src=".$_SESSION['image'].">"; } [/CODE] | |
Re: Wow, quite a pile of code. We can't see what is in the files that you are reading in. That could be a source of a problem or not (but probably not at this point). It seems that on line 67 it should have been $var_Ulist = ... On line … | |
Re: Your code didn't display properly because you used (php) not (code=php). Most of the encryption methods used for passwords are not reversible because it makes them more secure. Even with access to the database, you can't determine what the actual password is (except maybe by brute force). The normal approach … | |
Re: I generally answer two kinds of questions: 1. Questions where I know the answer or I can determine it /confirm it fairly quickly. 2. Questions where I don't know the answer but I have a reasonable chance of finding it out with a little bit of research. If you have … ![]() | |
Re: You can't remove it but you should mark it as solved and add any final notes that may make it useful to someone else who has a similar problem. Old posts are there as a reference and can be searched before posting something as a "new" problem. | |
Re: Have a look at some of the previous posts on the same topic: [URL="http://www.daniweb.com/forums/search13400429.html"]http://www.daniweb.com/forums/search13400429.html[/URL] | |
Re: Paypal has pretty good developer information on their site. [URL="https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_WPOtherAPIOps"]https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_WPOtherAPIOps[/URL] |
The End.