[PHP-DB] Adding url to google

2006-05-12 Thread Manoj Singh
Hi all, I am developing the site using php and mysql. I have to add the url at google site through php code. If any one have idea about it, please help me. Regards Manoj

Re: [PHP-DB] Adding url to google

2006-05-12 Thread John Hicks
Manoj Singh wrote: Hi all, I am developing the site using php and mysql. I have to add the url at google site through php code. If any one have idea about it, please help me. PHP is server-side technology. Google will never see it. The matter of placing your site in a search engine is a

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Ron Piggott (PHP) wrote: I came up with some code today. I started e-mailing myself file attachments to see what my e-mail program did in preparing them and when I opened the e-mails I changed the view to show e-mail source. The biggest challenge is the boundary that separates the e-mail

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Chris wrote: JupiterHost.Net wrote: Ing. Edwin Cruz wrote: Have a look on this: http://framework.zend.com/manual/en/zend.mail.attachments.html It seems to be easy with zend framework How about a way to do it without having to install a huge system wide binary and configruation

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Alister Bulman wrote: On 12/05/06, JupiterHost.Net [EMAIL PROTECTED] wrote: You're piping a hand crafted mime message to sendmial via mail()? You are a glutton for pain :) (and oh yeah theres about a zillion MIME issues you've overlooked that will come back and bite you later, gauranteed)

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Edward Vermillion wrote: Ummm... dude... Zend Framework is NOT a system wide binary... Semantics. The point is its more fiddling, why fiddle (and likely break something) when you don't need to. besides is like way beta right now... fun to play with, sure, but they're not really

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread Stut
JupiterHost.Net wrote: Chris wrote: JupiterHost.Net wrote: Ing. Edwin Cruz wrote: Have a look on this: http://framework.zend.com/manual/en/zend.mail.attachments.html It seems to be easy with zend framework How about a way to do it without having to install a huge system wide binary

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread Stut
JupiterHost.Net wrote: Alister Bulman wrote: On 12/05/06, JupiterHost.Net [EMAIL PROTECTED] wrote: You're piping a hand crafted mime message to sendmial via mail()? You are a glutton for pain :) (and oh yeah theres about a zillion MIME issues you've overlooked that will come back and bite

RE: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread Dwight Altman
Right after rebuilding php and apache and breaking PHP funtionality for everyone, just so you can send a semi complex MIME message? That is the epitome of PHP's lameness and why I can't sit quietly by and not recommend an easy to install and use and maintain solution. This command breaks

Re: [PHP-DB] Adding url to google

2006-05-12 Thread tg-php
Sounds like you're asking how to programmatically add your web site to Google's search. I didn't dig very deep, but it doesn't look like Googles API provides for the ability to submit (only search) and by Google's addurl page (http://www.google.com/addurl/?continue=/addurl) it appears that

RE: [PHP-DB] Eliminating character sets from DB entry

2006-05-12 Thread Bastien Koert
trap the IP and do a lookup on some service to detmine the origin of the user...if not from the country(ies) you want to serve redirect that user away to some other page or provide a custom 404 page to mess with the bots bastien From: Chris Payne [EMAIL PROTECTED] To: php-db@lists.php.net

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Edward Vermillion wrote: You've made it obvious by all of your replies that you have no idea what you're talking about, so maybe it would be a good time to *not* reply and let the folks that know what they're talking about actually try to help people? Eh? Maybe? a) Im speaking in

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
What planet are you on? Seriously? Because PEAR does not need to be compiled into PHP. Zend Optimizer is no different to the optimizers I was referring to --with-pear, sorry compiled was not the right word * available for other scripting languages. Version mismatches are a fact I was

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Dwight Altman wrote: Right after rebuilding php and apache and breaking PHP funtionality for everyone, just so you can send a semi complex MIME message? That is the epitome of PHP's lameness and why I can't sit quietly by and not recommend an easy to install and use and maintain solution.

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread Stut
Let me start by apologising if my posts came across as personal. Check the archives for my posts, primarily on php-general and you will see that I have a very sarcastic personality. No offence was meant or is meant by what follows. JupiterHost.Net wrote: What planet are you on? Seriously?

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread Martin Alterisio
2006/5/12, JupiterHost.Net [EMAIL PROTECTED]: Dwight Altman wrote: Right after rebuilding php and apache and breaking PHP funtionality for everyone, just so you can send a semi complex MIME message? That is the epitome of PHP's lameness and why I can't sit quietly by and not recommend

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread Martin Alterisio
2006/5/12, Martin Alterisio [EMAIL PROTECTED]: ... I hate not having a proper application framework, ... Sorry, there is a mistake there. I meant to say that I hate not having an application server, although I also think currently available framework are just not the way to go. They

[PHP-DB] Too stupid to UPDATE...

2006-05-12 Thread Grae Wolfe - PHP
I am trying to write a script to handle event registration. Most of the people that will be registering are already in the database, but not all, and those that are may not have current information. Here is my latest effort, or at least a snippet of it... Can anyone point out where I went

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread Bastien Koert
Then Please, stop posting here...it just is not constructive... If you have these issues that need addressing to make it a better langauge, then talk to the nice people at Zend and get invovled in making things better. All the rest if useless diatribe. Regards Bastien From:

Re: [PHP-DB] Too stupid to UPDATE...

2006-05-12 Thread tg-php
Don't have time to totally disect it, but you might change the if($num_rows) to if($num_rows 0) just to make sure. Also, try echoing out your SQL statement to check and make sure things like $table got a real value or other silly things. Lastly, I usually use single quotes for SQL

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Stut wrote: Let me start by apologising if my posts came across as personal. Check If? How else can What could be easier? Not having to read your ignorant emails. be taken? No worries though I understand, thanks :) What planet are you on? Seriously? Because PEAR does not need to be

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Bastien Koert wrote: Then Please, stop posting here...it just is not constructive... I will, but I think it is If you have these issues that need addressing to make it a better langauge, then talk to the nice people at Zend and get invovled in making things better. No thanks, trying to

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread Martin Alterisio
2006/5/12, JupiterHost.Net [EMAIL PROTECTED]: It's a fact that I can't deny any of the bad points you have exposed about PHP. I even agree with you that most of this problems are really awful and it's pointless to hide them. But the fact that PHP is by preference the language for

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread Stut
JupiterHost.Net wrote: Stut wrote: What planet are you on? Seriously? Because PEAR does not need to be compiled into PHP. Zend Optimizer is no different to the optimizers I was referring to --with-pear, sorry compiled was not the right word * I'm not familiar with the switch you are

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
in PHP source: ./configure --help I've had a look and it would appear that all that switch does is install PEAR for you during the build process. That doesn't change the fact that it's still just a collection of PHP classes and does not require rebuilding of PHP to benefit from it. sure no

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
there really aren't enough effort applied to educate those outside the IT world. Working on it :) but I still use PHP because it is still the most appropiate development enviroment for a small or middle sized web solution. Why not use Perl, it has all the pros but does not have the cons

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread Stut
I think we may have to agree to disagree. I love PHP. I've never had a problem with it that couldn't be solved that's made me want to switch. Just to make it clear I do try the so-called up-and-coming development trends, and over the years have tried most of the existing systems. I recently

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Stut wrote: I think we may have to agree to disagree. I love PHP. I've never had a Ah I completely forgot about this sort of fun thing that I find in my email almost once a week, just got this one: http://forums.gentoo.org/viewtopic-t-460727.html now how many phpinfo() pages do you think

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread Bastien Koert
php is not the only language susceptible to x-browser attacks... seems unfair to single it out. And as previously pointed out, many times it the developer's fault for writing that insecure code Bastien From: JupiterHost.Net [EMAIL PROTECTED] To: php-db@lists.php.net Subject: Re: [PHP-DB]

Re: [PHP-DB] Re: Sending filing attachments using PHP

2006-05-12 Thread JupiterHost.Net
Bastien Koert wrote: php is not the only language susceptible to x-browser attacks... seems unfair to single it out. Why not? Its the only I've seen that actually has hackability built in! (see below) So it singles itself out, thats the whole point :) And as previously pointed out, many