[PHP] Re: Image editing?

2006-01-10 Thread Raj Shekhar
like this done. Are there any websites about this issue, other than php.net, that might provide help to beginners? Thanks for your assistance! http://phpcommunity.org/gazette/2005/aug/imgresize.html http://phpcommunity.org/gazette/2005/jun/img_with_php.html -- Raj Shekhar blog : http

[PHP] Re: Maps and plotting data

2006-01-10 Thread Raj Shekhar
-More-fun-with-the-Yahoo!-Maps-API.html . -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net Disclaimer : http://rajshekhar.net/disclaimer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cms type session - how to ?

2005-11-26 Thread Raj Shekhar
that helps.. What you mean is that you want a MVC framework. This might help http://www.onlamp.com/pub/a/php/2005/09/15/mvc_intro.html and this http://www.tonymarston.co.uk/php-mysql/model-view-controller.html#2005-06-21 -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net

[PHP] Re: cms type session - how to ?

2005-11-26 Thread Raj Shekhar
that helps.. What you mean is that you want a MVC framework. This might help http://www.onlamp.com/pub/a/php/2005/09/15/mvc_intro.html and this http://www.tonymarston.co.uk/php-mysql/model-view-controller.html#2005-06-21 -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net

[PHP] Re: cms type session - how to ?

2005-11-26 Thread Raj Shekhar
that helps.. What you mean is that you want a MVC framework. This might help http://www.onlamp.com/pub/a/php/2005/09/15/mvc_intro.html and this http://www.tonymarston.co.uk/php-mysql/model-view-controller.html#2005-06-21 -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net

[PHP] Re: access resources via a proxy

2005-09-09 Thread Raj Shekhar
are retrieving data currently, hence I cannot give a definite answer. You will not have to rewrite the scripts which are giving the data. -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net Disclaimer : http://rajshekhar.net/disclaimer -- PHP General Mailing List (http

[PHP] Re: php.ini and php.config Tutorial?

2005-09-09 Thread Raj Shekhar
mysql), you will find an explanation for it in the php.net/ETENSION_NAME (like php.net/mysql) -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net Disclaimer : http://rajshekhar.net/disclaimer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: php.ini and php.config Tutorial?

2005-09-08 Thread Raj Shekhar
with the php source code, you will find it to be heavily commented. If you get stuck on some ini setting, you can always double check it with the php manual 2. Recomendations for forum, wiki and blog modules. Wiki - PmWiki http://rajshekhar.net/content/view/24/26/ Blog - s9y -- Raj

[PHP] Re: access resources via a proxy

2005-09-08 Thread Raj Shekhar
for it to display… how this can be achieved? Any clues please help!! http://pear.php.net/manual/en/package.http.http-request.proxy-auth.php -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net Disclaimer : http://rajshekhar.net/disclaimer -- PHP General Mailing List (http

[PHP] Re: FTP Chmod problem

2005-09-05 Thread Raj Shekhar
in the config file) -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net Disclaimer : http://rajshekhar.net/disclaimer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Generating images on the fly, linking via symlink?

2005-09-04 Thread Raj Shekhar
sure that the user has some session variables set and the user is not calling the imgenerator directly. That way you will not have to worry about the browser knowing about the original image. However, the user will still be able to save the image to his hard disk. -- Raj Shekhar blog : http

[PHP] Re: Getting queries from files FYI

2005-08-28 Thread Raj Shekhar
replying to this mail) You can enable logging in mysql server itself to log all queries http://dev.mysql.com/doc/mysql/en/binary-log.html ( there are ways to restrict logging to only some databases) . Later when you want to replay the sql statements, you can use mysqlbinlog -- Raj Shekhar blog : http

[PHP] Re: php vulnerability

2005-08-27 Thread Raj Shekhar
and populate it with the sane data. - How did you analyze your apache logs ? - Check out http://public.yahoo.com/~radwin/talks/one-year-of-php-oscon2003.htm especially the security part. -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net Disclaimer : http

[PHP] Re: Be careful! Look at what this spammer did.

2005-08-24 Thread Raj Shekhar
might find http://www.videolan.org/pwntcha/ helpful -- Raj Shekhar (still trying to get over his email backload) blog : http://rajshekhar.net/blog home : http://rajshekhar.net Disclaimer : http://rajshekhar.net/disclaimer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: parallel execution of php code?

2005-08-08 Thread Raj Shekhar
$_SESSION[_insert_success]=true. If the variable is set, then do not do the insert part , simply display the page again. -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net Disclaimer : http://rajshekhar.net/disclaimer -- PHP General Mailing List

[PHP] Re: Running a PHP script everyday

2005-07-31 Thread Raj Shekhar
through a cronjob and got this: Try which php instead. Another option would be to put the php script in the decomentroot of your server. Schedule a cron job on any of your desktop/dev machines to wget that php script. -- Raj Shekhar blog : http://rajshekhar.net

[PHP] Re: Question on exec() to call a php script from a php script

2005-07-31 Thread Raj Shekhar
? This page might be of help http://in2.php.net/manual/en/ref.pcntl.php Though I am quite sure there is an easier way to accomplish whatever you are trying to do by running a background process -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net

[PHP] Re: Redirection after login with security

2005-04-11 Thread Raj Shekhar
. -- Raj Shekhar Y! : Operations Engineer MySQL DBA, programmer and slacker Y!IM : lunatech3007 home : http://rajshekhar.net blog : http://rajshekhar.net/blog/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: alternative to mysql_real_escape_string()

2005-04-11 Thread Raj Shekhar
the use of some characters in the password field, your users will be forced to use weak passwords. In this case, your best bet is to insert the md5sum of the users password instead of the cleartext password. -- Raj Shekhar Y! : Operations Engineer MySQL DBA, programmer

[PHP] Re: Oracle rpm?

2005-03-28 Thread Raj Shekhar
then install. PS : Congratulations on getting Oracle installed on Linux :P -- Raj Shekhar Y! : Operations Engineer MySQL DBA, programmer and slacker Y!IM : lunatech3007 home : http://rajshekhar.net blog : http://rajshekhar.net/blog/ -- PHP General Mailing List (http

[PHP] Re: Avoiding SQL injections: htmlentities() ?

2005-03-27 Thread Raj Shekhar
add your own additional checks in the library without letting the developers worry if they have done all the checks and validations correctly. -- Raj Shekhar Y! : Operations Engineer MySQL DBA, programmer and slacker Y!IM : lunatech3007 home : http://rajshekhar.net

[PHP] Re: Full-text searches sucks?

2005-03-24 Thread Raj Shekhar
, but this time use LIKE instead of MATCH AGAINST. This gave me good enough results. -- Raj Shekhar Y! : Operations Engineer MySQL DBA, programmer and slacker Y!IM : lunatech3007 home : http://rajshekhar.net blog : http://rajshekhar.net/blog/ -- PHP General

[PHP] Re: Setting cookies for other domains

2005-03-19 Thread Raj Shekhar
is examined. Thus, even though you think that msn, hotmail and msnbc are sharing the same cookie, they are not. It is the passport.com that is doing the dirty work of setting and examining the cookie. -- Raj Shekhar Y! : Operations Engineer MySQL DBA, programmer and slacker Y

[PHP] Re: Ensure only one instance of a script is running

2005-03-16 Thread Raj Shekhar
, this will not prevent a race condition. The only file operations that are guaranteed to be atomic are mkdir() and symlink(). Try to create the directory and see if it fails. Also remember to rmdir() the lock directory before exiting -- Raj Shekhar Y! : Operations

[PHP] Re: Ensure only one instance of a script is running

2005-03-16 Thread Raj Shekhar
script between step 1 and 2 ? That is why we need something that is guaranteed to complete in 1 step. -- Raj Shekhar Y! : Operations Engineer MySQL DBA, programmer and slacker Y!IM : lunatech3007 home : http://rajshekhar.net blog : http://rajshekhar.net

[PHP] Re: Permissions on uploaded image don't allow for over writing

2005-01-30 Thread Raj Shekhar
apache (or nobody). The file permission allow read and write to the owner. You do not need to modify them. If the user again uploads the files via HTTP, you do not have to worry about whether he has the permissions to overwrite the files. He *will* be able to overwrite the files. -- Raj Shekhar

[PHP] Re: Multi-language in script

2005-01-28 Thread Raj Shekhar
at http://www.onlamp.com/pub/a/php/2002/06/13/php.html for a gentle introduction -- Raj Shekhar System Administrator, programmer and slacker home : http://rajshekhar.net blog : http://rajshekhar.net/blog/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: end of array

2005-01-23 Thread Raj Shekhar
M. Sokolewicz [EMAIL PROTECTED] writes: Raj Shekhar wrote: M. Sokolewicz [EMAIL PROTECTED] writes: Raj Shekhar wrote: $n_elts = count($myarray); for ($i=0; $i $n_elts ; $i++) { if ($i = $n_elts -1) ^^^ Use of == required to make it work

[PHP] Re: end of array

2005-01-22 Thread Raj Shekhar
Jeffery Fernandez [EMAIL PROTECTED] writes: Hi all, I have a foreach loop on an array and within that loop I need to find if the array has reached the last pointer. I have tried if (next($row)) { } but that advances the pointer. Any tips on finding out if the array pointer has

[PHP] Re: end of array

2005-01-22 Thread Raj Shekhar
M. Sokolewicz [EMAIL PROTECTED] writes: Raj Shekhar wrote: $n_elts = count($myarray); for ($i=0; $i $n_elts ; $i++) { if ($i = $n_elts -1) ^^^ Use of == required to make it work { echo On last element; break

[PHP] Re: Search engine

2005-01-20 Thread Raj Shekhar
Rosen [EMAIL PROTECTED] writes: Hi, Can someone recommend me a search engine script in PHP for inside one site? If you need to index through static pages phpdig can be useful for you http://www.phpdig.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Secure login script

2004-05-31 Thread Raj Shekhar
to operate upon you ? It is good to know the tools you are going to use . You can simply copy paste the code and it might or might not work. However when some trouble crops up and you have no idea where to look, you will be in real trouble. Regards Raj Shekhar -- PHP General Mailing List (http

Re: [PHP] mysql blob and phpmysqladmin

2004-05-15 Thread Raj Shekhar
) . Clicking on the T will show the text stored in blob. Regards Raj Shekhar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: thumbnails of images

2004-05-11 Thread Raj Shekhar
) +ooO-- -Ooo-+ |Raj Shekhar| |System Administrator | |Media Web India| |http://www.netphotograph.com