- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
13 Posted Topics
Re: Options: 1. Install Sendmail or a similar SMTP server or 2. Use the SMTP settings from your email account. (so PHP will connect to your outgoing mail server just like your email programs do) | |
Re: I know the error, but not specifically how to fix for wordpress. The error is because XML parsers expect the <?xml> tag to be the very first thing in the file. Your file is either blank, or has a blank line inserted before that tag. If it is something you … | |
| |
Re: Can you post what you've done? I have a site using UTF-8, and it took me a while to get it sorted out. Is your backend database ALSO utf-8? That made a *huge* difference for me. making sure my takes had default charset utf8 don't try and retro-actively change the … ![]() | |
Re: Worst/Quickest/Unelegant method? (assuming you don't just make a console app) 1. Drop a TTimer on the form 2. In the OnTimer event: Timer1.enabled=false; SendEmail(); <-- whatever it is you do self.close Better/More elegant: If your email has an event "OnSent" or something, you could call self.close there. Best: console application. … | |
Re: When you do a view-source on the page, what is the output? | |
Re: use ODBC/OLEDB to talk directly to the database from PHP (if PHP is on a windows machine). You can't execute any functions in the mdb, but you could insert keys/etc into the database that could be checked later. | |
Re: Honestly. I'd use xmlhttp (Ajax) and do it on the server. If you *need* it to be hidden from the user, then COMPLETELY hide it from the user by removing it from the page. Just have ONCHANGE call an xmlhttp function with only the apropriate user/date, and your php page … | |
Re: When you see this error, take out the content-type declaration, You're probably getting an error from PHP, but because of content-type the browser is preventing you from seeing what is wrong. // header("Content-type: image/png"); <-- comment out. When you get a bunch of text with PNG on the front, you … | |
Re: If you feel that you don't want your pages to show as .php, but you still want to have dynamic content, you may want to check mod_rewrite as an an extension to Apache (which can accept urls in "static" format and then call php locally. ![]() | |
Re: If this URL is correct products.php?product=string Then this: $_REQUEST['product[B]s[/B]'] should be $_REQUEST['product'] | |
Re: [QUOTE=ta5na;456678] if (mysql_num_rows([B]S[/B]result) > 0) [/QUOTE] Should be if (mysql_num_rows([B]$[/B]result) > 0) | |
Re: try: mysql -pPASSWORD -u username < filename example: mysql -u cs301 -pweb |
The End.