[PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
tails : MySQL - 5.x Apache - apache_2.2.4-win32-x86-no_ssl.msi PHP base - C:\PHP Regards, Shreyas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Ash, Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see how it goes. But just to understand how this all works, will it work with Eclipse, too? I am using Ganymede. Regards, Shreyas On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan wrote: > On Tue, 2010-06-01 at 21

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Alright! Point duly noted. I only did not want to spam the list with my very rudimentary questions. On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan wrote: > On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote: > > You have been of great help, Ash. > > > > I just did some pr

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Thanks, Ash. I was able to set things up with EasyPHP 3.0. I had to uninstall my MySQL and Apache to get this work. I have to figure out how I can ask my java code to look at a separate instance of MYSQL while the EasyPHP's instance runs too. Anyone has encountered this before? Regards, Sh

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Ash, Not sure if that would work here. I gave that a shot and there was a port conflict. I actually want to learn how to set PHP environment in bits and pieces without a WAMP. Will see what I can do there. Regards, Shreyas On Wed, Jun 2, 2010 at 12:55 AM, Ashley Sheridan wrote: > On

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Tried that just now and didn't work. The Java code which talks to the DB has a different username and password than the one installed with EasyPHP. I might be missing something very silly here. Damn me! --Shreyas The On Wed, Jun 2, 2010 at 1:10 AM, Ashley Sheridan wrote: > On Wed,

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
sense? --Shreyas On Wed, Jun 2, 2010 at 3:25 AM, Ashley Sheridan wrote: > On Wed, 2010-06-02 at 04:48 +0700, shiplu wrote: > > You can consider XAMPP. (www.apachefriends.org/en/xampp.html) > It has everything in it. > > Mysql server, Apache server, PHPMyAdmin, PHP, Perl a

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
staller and the actual MySQL website has quite a lot of things. --Shreyas On Wed, Jun 2, 2010 at 4:08 AM, shiplu wrote: > > On Wed, Jun 2, 2010 at 5:32 AM, Shreyas wrote: > >> Since I have another Java app running and points to the same port 3306, >> when I tried to configur

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-02 Thread Shreyas
Bob, That was a separate installer. It was nothing to do with another software. --Shreyas On Wed, Jun 2, 2010 at 7:19 PM, Bob McConnell wrote: > From: Shreyas > > > What would be the exact installer which will let me have the MySQL > Server > > and the Query browser? I k

Re: [PHP] Inserting, storing, outputting dates and selections

2010-06-02 Thread Shreyas
I can try to answer the second one but would wait for the PHP gurus to chime in. Can't you have Choice=1 with selected="true" by default? On the PHP end, you can get the value of whatever was selected. Regards, Shreyas On Thu, Jun 3, 2010 at 1:50 AM, David Mehler wrote: >

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-02 Thread Shreyas
o far so good. Talk to you all soon as I am gearing up with programming questions now. --Shreyas On Thu, Jun 3, 2010 at 1:02 AM, Shreyas wrote: > Bob, > > That was a separate installer. It was nothing to do with another software. > > --Shreyas > > > On Wed, Jun 2, 2010 at

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Shreyas
Shiplu, Not sure what you meant by that. I never had to restore anything. Would be happy to know if I have misunderstood anything. Regards, Shreyas On Thu, Jun 3, 2010 at 4:52 AM, shiplu wrote: > Actually you just restore your NS schema in the new EasyPHP stack. > > Shiplu Mokad

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Shreyas
Ash - Yes, the service was stopped and then it was copied. --Shreyas On Thu, Jun 3, 2010 at 7:07 PM, Ashley Sheridan wrote: > On Thu, 2010-06-03 at 08:29 -0400, Bob McConnell wrote: > > From: Shreyas > > > Not sure what you meant by that. I never had to restore anything. &g

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Shreyas
has > slowed down enough that I had time to actually read a few posts! > > Marc Hall > HallMarc Websites > www.hallmarcwebsites.com > > > > __ Information from ESET Smart Security, version of virus signature > database 5169 (20100603) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Regards, Shreyas

[PHP] CakePHP, alternatives?

2010-06-03 Thread Shreyas
Folks, Just quite could not stop taking your inputs before I start my learning curve to shape up. Should I use one of these frameworks or just *K*eep *I*t *S*imple and *S*tupid and learn it the traditional way? Thoughts? -- Regards, Shreyas

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Shreyas
Steve, Do you know where Apache is installed? If yes, you have something like error.log and access.log. Find them and nail them them down. I am a novice, too and the best way to learn is to answer here and getting corrected by other PHP gurus! So, all in the name of learning! :) --Shreyas On

Re: [PHP] PHP Form submitting to MySQL not working...

2010-06-03 Thread Shreyas
True. Since I am a Windows user, I find it here : *C:\Program Files\EasyPHP 3.0\apache\logs* --Shreyas On Fri, Jun 4, 2010 at 12:27 AM, Ashley Sheridan wrote: > On Fri, 2010-06-04 at 00:25 +0530, Shreyas wrote: > > Steve, > > Do you know where Apache is installed? If yes, you

Re: [PHP] CakePHP, alternatives?

2010-06-03 Thread Shreyas
Larry, That's a very nice way to learn stuff. That's what I am doing but probably in a very crude way. I am just reading a PHP book and doing those examples. Would you recommend any other innovative way of learning and mastering this language? Regards, Shreyas On Thu, Jun 3, 2010 a

Re: [PHP] convert files utf8

2010-06-04 Thread Shreyas
m/M_248814.html > EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp > Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 > ZOPA : http://uk.zopa.com/member/RQuadling > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Regards, Shreyas

Re: [PHP] CakePHP, alternatives?

2010-06-04 Thread Shreyas
Trying again. --Shreyas On Fri, Jun 4, 2010 at 3:10 AM, Shreyas wrote: > Larry, > > That's a very nice way to learn stuff. That's what I am doing but probably > in a very crude way. > > I am just reading a PHP book and doing those examples. Would you recommend &

Re: [PHP] CakePHP, alternatives?

2010-06-04 Thread Shreyas
know any books that I can read online or I can buy? I would be happy to do that. Also, I couldn't get much information about "Yojimbo". I would be very curious to know how you maintain your learning(s) in the very way that you mentioned in the mail. I can definitely try to implement i

Re: [PHP] CakePHP, alternatives?

2010-06-04 Thread Shreyas
@ All - Points duly noted. Thanks for all the mighty advice. As the owner of the thread, I consider the thread closed for now unless anyone has anything to add. --Shreyas On Sat, Jun 5, 2010 at 1:02 AM, Adam Richardson wrote: > > > > I am reading this PHP for Dummies and then I

[PHP] Question - foreach.

2010-06-09 Thread Shreyas
* *1) Before I navigate the array, foreach will bring the pointer to the starting key?* *2) After the first index, it goes to 2nd, 3rd, and nth? * Regards, Shreyas

Re: [PHP] Question - foreach.

2010-06-10 Thread Shreyas
All, I tried and tested it but wanted a solid confirmation on it. I felt foreach usage is better than manual way of next(), prev() et al. Thanks for the comments. I consider the thread answered and solved unless someone has anything more to add. Regards, Shreyas On Thu, Jun 10, 2010 at 7:02 PM

Re: [PHP] How does php server identify that the particular session belongs to particular user

2010-06-11 Thread Shreyas
out a Content Delivery Network like Akamai to meet the scale and improve the performance of your web-site without compromising on the end-user's site navigation experience. Regards, Shreyas On Fri, Jun 11, 2010 at 3:06 PM, Ashley Sheridan wrote: > On Fri, 2010-06-11 at 15:13 +0530

Re: [PHP] How does php server identify that the particular session belongs to particular user

2010-06-11 Thread Shreyas
Agreed. I was just speculating; may be I over -speculated it ;) Regards, Shreyas On Fri, Jun 11, 2010 at 8:18 PM, Ashley Sheridan wrote: > On Fri, 2010-06-11 at 19:56 +0530, Shreyas wrote: > > I agree with Ash's comment. > > You should probably dig in deeper and see if

Re: [PHP] http request

2010-12-05 Thread Shreyas
question wrong. --Shreyas Sent from my iPhone On 05-Dec-2010, at 18:09, Moses wrote: Hi Everyone, I would like to know whether there is a http request PHP script. I would like to use in cases where a background script is running for sometime and outputs the results in PHP once the script

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Shreyas Agasthya
Karl, Which app are you talking about? Regards, Shreyas On Tue, Jun 15, 2010 at 8:21 AM, Karl DeSaulniers wrote: > Hey, > I just found this app that I think will do your single user login. It is a > MySQL monitoring app called MySQL Query Analyzer. It has the functionality I > th

Re: [PHP] Date Conversion Problem

2010-06-17 Thread Shreyas Agasthya
David, I think it would help people like me (newbie) to know the exact statements. Though I could envisage what you would have done with my current learning, it would be good if I double check the statements that went there to fix it. Regards, Shreyas On Thu, Jun 17, 2010 at 7:07 PM, David

Re: [PHP] Website content question

2010-06-21 Thread Shreyas Agasthya
. Regards, Shreyas On Mon, Jun 21, 2010 at 5:11 PM, Ernie Kemp wrote: > This is not a direct PHP question but I will be using PHP in the > website. > > > > I go to the php list because the wordpress forum does not respond to my > questions and I know some of you have a lot

Re: [PHP] Warning messages on web page.

2010-06-22 Thread Shreyas Agasthya
iterate on an array and not on a variable. 3. Just FYI - You can control the behavior should or not these warnings/notices/errors in your php.ini file. Do a quick google and you should be happy to see the result. Regards, Shreyas On Tue, Jun 22, 2010 at 7:47 PM, Mike Davies wrote: > Hello, > >

Re: [PHP] Stripping Characters

2010-06-22 Thread Shreyas Agasthya
Perhaps, ereg_replace("your regex", "replacement_string", String $variable). Regards, Shreyas On Tue, Jun 22, 2010 at 9:10 PM, Rick Dwyer wrote: > Hello List. > > I need to remove characters from a string and replace them with and > underscore. > &g

Re: [PHP] Stripping Characters

2010-06-22 Thread Shreyas Agasthya
Then, when does one use ereg_replace as against preg_replace? I read from one the forums that preg_* is faster and ereg_* is if not faster but simpler. Is that it? Regards, Shreyas On Tue, Jun 22, 2010 at 9:58 PM, Richard Quadling wrote: > "A "word" character is any lett

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Shreyas Agasthya
your lines .:) ]* Regards, Shreyas On Wed, Jun 23, 2010 at 2:48 PM, Mike Davies wrote: > > The only earlier reference to $thumbsarray is in the first lines of the > file : > > mysql_select_db($database_general, $general); > $query_details = "SELECT * FROM news WH

Re: [PHP] Attachment to email from form.

2010-06-28 Thread Shreyas Agasthya
e often emails the list with random insults. He's emailed me > personally a couple of times too in response to a list email. Normally > I'd keep this off list, but as it's been going on for so long, and > others have noticed it too, figured his off-list behaviour should be > mentioned as well. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > -- Regards, Shreyas Agasthya

[PHP] Info : Regular Expressions Website.

2010-06-29 Thread Shreyas Agasthya
Team, I came across this website which can be very helpful to all of us when we are struggling to get the Regex right. I just started using it and seems very helpful. http://www.gskinner.com/RegExr/ Regards, Shreyas Agasthya

Re: [PHP] Array form processing

2010-06-29 Thread Shreyas Agasthya
The painDesc array is what that should be iterated. --Shreyas On Wed, Jun 30, 2010 at 2:27 AM, Ashley Sheridan wrote: > On Tue, 2010-06-29 at 16:54 -0400, Ron Piggott wrote: > > > I am trying to process a form where the user uses checkboxes: > > > > Sharp > > Stabb

Re: [PHP] form validation code

2010-06-30 Thread Shreyas Agasthya
http://www.php.net/manual/en/types.comparisons.php <http://www.php.net/manual/en/types.comparisons.php>The first table actually gives a very good understanding. --Shreyas On Wed, Jun 30, 2010 at 7:05 PM, Richard Quadling wrote: > On 30 June 2010 14:23, Daniel P. Brown wrote: >

Re: [PHP] Integers

2010-07-01 Thread Shreyas Agasthya
It would also mean that 7 (8 digits which includes 0) is the highest numeric representation that you can have or go up to in an octal representation. So to take your example and represent an octal number : 00100010 (subscript 2) = 1057(subscript 8) --Shreyas On Thu, Jul 1, 2010 at 7:42 AM

[PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
(i) C:\Program Files\EasyPHP 3.0\apache (ii) C:\Program Files\EasyPHP 3.0\conf_files *My php.ini (will remove the semi-colon)* * * ; For Win32 only. ;SMTP = localhost ;smtp_port = 25 ; For Win32 only. ;sendmail_from = m...@example.com *My code: * * * * * * * Regards, *Shreyas Agasthya

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
TP" and "smtp_port" setting in php.ini"* * * Regards, Shreyas On Thu, Jul 1, 2010 at 7:03 PM, Daniel Brown wrote: > On Thu, Jul 1, 2010 at 09:09, Shreyas Agasthya > wrote: > > > > All I am trying to do is send a mail from my localhost to my Gmail ID. I > &g

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Spoke too fast. Fixed that (SMTP has to be uppercase) Now it is : *SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. c15sm7128213rvi.11* On Thu, Jul 1, 2010 at 7:25 PM, Shreyas Agasthya wrote: > Erm... understood. > > I modified the changes to look like this in the

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
here?). If there is a rudimentary mistake that I am doing, please guide me. Regards, Shreyas On Thu, Jul 1, 2010 at 7:46 PM, Daniel Brown wrote: > On Thu, Jul 1, 2010 at 10:02, Shreyas Agasthya > wrote: > > Spoke too fast. > > > > Fixed that (SMTP has to be uppercase) > &g

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Trying again; most likely I cannot do this without SSL. --Shreyas On Thu, Jul 1, 2010 at 8:42 PM, Shreyas Agasthya wrote: > Not sure where I am top-posting. I posted to my own mail so that one gets > to know the latest. Nevertheless, I wouldn't go against the guidelines as I &

Re: [PHP] form validation and error display

2010-07-04 Thread Shreyas Agasthya
g the form with the usage of a superglobal variable called $_SERVER['PHP_SELF']. Regards, Shreyas On Sun, Jul 4, 2010 at 11:27 PM, David Mehler wrote: > Hello, > I've got a form with several required fields of different types. I > want to have the php script process it o

Re: [PHP] form validation and error display

2010-07-05 Thread Shreyas Agasthya
Ash - Thanks for correcting me [should I say us ;) ]. So, if my understandng is right, we should use # instead of the superglobal variable. David - Sorry to have written that. I was not aware of the implications of the grand old way of doing it. :) Regards, Shreyas On Mon, Jul 5, 2010 at 4:24

Re: [PHP] Serial Numbers

2010-07-12 Thread Shreyas Agasthya
Perhaps using a static variable might help? I am just guessing. --Shreyas On Tue, Jul 13, 2010 at 12:22 AM, Gary wrote: > I'm sure it is possible, but I am unsure how to do this. I have created a > Sale coupon that I was going to put up on a site that I manage, for > visitors

Re: [PHP] functions and global variables

2010-07-19 Thread Shreyas Agasthya
My two cents on this one. Modify the $name within the function and print it. Modify the$name outside the function (means the non-global-declared $name) and print it. You will know the difference. --Shreyas On Mon, Jul 19, 2010 at 7:41 AM, Paul M Foster wrote: > On Sun, Jul 18, 2010 at 06

Re: [PHP] MySQL Query Puzzle

2010-07-19 Thread Shreyas Agasthya
How about this : CREATE TEMPORARY TABLE bad_temp1 (id INT,name VARCHAR(20)); INSERT INTO bad_temp1 (id,name) SELECT DISTINCT id,name FROM SAMPLE; Regards, Shreyas On Mon, Jul 19, 2010 at 7:31 PM, Richard Quadling wrote: > On 19 July 2010 05:44, Peter wrote: > > Hi All, > > >

Re: [PHP] Recent Influx of Unrelated Discussions

2010-07-19 Thread Shreyas Agasthya
t all the members to let us know the code or even the pseudo-code to let us know how they made it work. We can collect those snippets and also ask not repeated questions. Regards, Shreyas On Sat, Jul 17, 2010 at 7:43 AM, Jason Pruim wrote: > > On Jul 16, 2010, at 10:47 AM, Paul M Foster wro

Re: [PHP] I need me a Good Book for PHP

2010-07-19 Thread Shreyas Agasthya
lan to put your learning to usage? 3. Any specific things that you want to achieve from PHP? Regards, Shreyas On Mon, Jul 19, 2010 at 9:24 PM, Joce Jovanov wrote: > Hello, > > I work only 6 mouth with PHP, and now star to like more and more. Do you > someone know samo good books (tutori

Re: [PHP] MySQL Query Puzzle

2010-07-19 Thread Shreyas Agasthya
Just to add more perspective : You will have a table with DISTINCT values. Drop the initial table (better take a back-up); copy from the temporary table which will have only DISTINCT values. Regards, Shreyas On Mon, Jul 19, 2010 at 7:58 PM, Shreyas Agasthya wrote: > How about t

Re: [PHP] MySQL Query Puzzle

2010-07-20 Thread Shreyas Agasthya
I am very keen to see a closure to this thread so that I can add to my snippets. Let's all know what worked best out of many solutions that have been proposed. --Shreyas On Tue, Jul 20, 2010 at 10:07 AM, Jim Lucas wrote: > Peter wrote: > >> Hi All, >> >> I have

Re: [PHP] opening link in new window

2010-07-23 Thread Shreyas Agasthya
I am not sure how PHP can help here. I am sure there must be a way out. With JavaScript, it s certainly possible. You can try window.open() to make this happen. It can accept a lot of parameters and a google search should give you a lot of answers. --Shreyas On Fri, Jul 23, 2010 at 10:58 AM

Re: [PHP] Encoding for W3C Validation

2010-08-03 Thread Shreyas Agasthya
Rick, Probably Sebastian's fix might work but *htmlspecialchars* can help you, too. Regards, Shreyas On Wed, Aug 4, 2010 at 12:17 AM, Sebastian Ewert wrote: > Rick Dwyer wrote: > > Hello List. > > > > In the Alt section of the IMG tag below, the variable $myitem has

Re: [PHP] Regular expressions, filter option1 OR option2

2010-08-18 Thread Shreyas Agasthya
Camilo, What exactly are you trying to achieve? Meaning: if (true) do this; if (false) do that; However, here's a link that I used long back to help me with some RegEx : http://www.gskinner.com/RegExr/ Regards, Shreyas On Wed, Aug 18, 2010 at 11:31 PM, Camilo Sperberg wrote: &g

Re: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-25 Thread Shreyas Agasthya
m and to maintain. The subdirectory approach, whereas, is very cumbersome and takes more work at your end to paraphrase the whole set-up should the needs change going forward. Regards, Shreyas On Thu, Aug 26, 2010 at 12:42 AM, Steven Staples wrote: > I started out not using a framework..

Re: [PHP] Re: SEO Experts?

2010-09-26 Thread Shreyas Agasthya
Avoid 302's as mush as possible. --Shreyas On Sun, Sep 26, 2010 at 8:55 PM, Al wrote: > > > On 9/26/2010 8:09 AM, David Mehler wrote: > >> Hello, >> Do we have any SEO experts on this list? I'm not one, learning only, >> reading a book and a few art

Re: [PHP] Re: Continuance of the struggle (trying to understand)

2010-10-05 Thread Shreyas Agasthya
Col, Can you let us know what exactly you see when you say http://localhost:/phptest.php ? Regards, Shreyas On Tue, Oct 5, 2010 at 4:20 PM, Col Day wrote: > > ""Col Day"" wrote in message > news:23.81.45586.2820b...@pb1.pair.com... > > Hi all, >> &

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Shreyas Agasthya
Eclipse Ganymede or Galileo. The support for plug-ins is what I like. I have tried NetBeans and found it to be OK. --Shreyas On Wed, Oct 13, 2010 at 10:28 PM, Hansen, Mike wrote: > I'm about to do a lot of work on an existing code base and I think I'd like > to try an IDE. I c

[PHP] Formatting an ECHO statement.

2010-10-18 Thread Shreyas Agasthya
her with the above syntax? How do I achieve it? I know we can do it this way : echo " I am $other"; but I want to learn how to do it with the above syntax like I mentioned earlier. Regards, Shreyas Agasthya

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Shreyas Agasthya
Thanks all for their input. Some of the learnings from the thread : 1. tag is getting deprecated. 2. Use and 3. Have CSS used to do the kind of stuff I was trying. I must inform, this was already in place. 4. Keep an eye on the SE monster. Regards, Shreyas On Mon, Oct 18, 2010 at 11:43 PM

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Shreyas Agasthya
Thanks for that detailed mail, Admin. The was an example and I wanted to understand how does one go about the whole formatting. Nonetheless, I am pretty well informed after this thread. Thanks once again, everyone. Regards, Shreyas On Tue, Oct 19, 2010 at 10:09 AM, Paul M Foster wrote: >

Re: [PHP] Reminder On Mailing List Rules

2010-10-21 Thread Shreyas Agasthya
Let's adhere to the rules. --Shreyas On Fri, Oct 22, 2010 at 1:15 AM, Per Jessen wrote: > sueandant wrote: > > > Hi > > > > I'm not familiatr with the term "top-post"; could you please explain? > > http://lmgtfy.com/?q=top-post > > &g

Re: [PHP] Apache mod_pagespeed

2010-11-03 Thread Shreyas Agasthya
Thiago, I would like to join this. Let me know how I can help you with this. Please be explicit with your requests so that we can totally test it and see if it could pose any risk to acceleration services provided by CDNs. Regards, Shreyas On Wed, Nov 3, 2010 at 11:51 PM, Thiago H. Pojda wrote

Re: [PHP] Pros/Cons of using mysqli prepared statments

2010-11-04 Thread Shreyas Agasthya
mysqli_xxx(). The seniors perhaps can give you more facts which they have seen and experienced. Regards, Shreyas On Thu, Nov 4, 2010 at 1:18 PM, Tamara Temple wrote: > I'm wondering what the advantages/disadvantage of using prepared statements > with mysqli are. I'm used to using t

Re: [PHP] Fw: Spoofing user_agent

2010-11-25 Thread Shreyas Agasthya
A standard HTTP Request headers is : User Agent (without the underscore). --Shreyas On Thu, Nov 25, 2010 at 2:36 PM, Ron Piggott wrote: > > Is this what you are telling me to do: > > header('user_agent: RonBot (http://www.theverseoftheday.info)'); > >

Re: [PHP] Fw: Spoofing user_agent

2010-11-25 Thread Shreyas Agasthya
I feel you should use more of the 4th method here as you are not trying to read the file but the header level (7th layer) information of the HTTP protocol. http://php.net/manual/en/function.file-get-contents.php --Shreyas On Thu, Nov 25, 2010 at 4:11 PM, Ron Piggott wrote: > Will

Re: [PHP] odd list bounces

2011-01-31 Thread Shreyas Agasthya
y email > address. The fact that I was able to read an email about an email that > bounced from me suggests that things are OK my end with regards to > receiving messages. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > -- Regards, Shreyas Agasthya

Re: [PHP] Does requesting $_SERVER variables need to query the server

2011-02-23 Thread Shreyas Agasthya
Marc, $_SERVER is an array and it should have all the information. I do not know the answer for the latter part of your query. Regards, Shreyas On Thu, Feb 24, 2011 at 12:30 AM, Marc Guay wrote: > This question will probably reveal my lacking knowledge of the > fundamentals, but I'

Re: [PHP] JavaScript Injection ???

2011-04-18 Thread Shreyas Agasthya
Is someone up to Cross Site Scripting? ;) --Shreyas On Mon, Apr 18, 2011 at 10:39 PM, Joshua Kehn wrote: > On Monday, April 18, 2011 at 1:06 PM, tedd wrote: > Hi gang: > > > > Quite some time ago I had a demo that showed Javascript injection. It > > was wh

[PHP] Urgent help - Token Generation code!

2011-05-27 Thread Shreyas Agasthya
t . $sHash); return $sToken; } /** * Helper function used to translate hex data to binary */ function _unHex($str) { $res = ""; for ($i = 0; $i < strlen($str); $i += 2) { $res .= chr(hexdec(substr($str, $i, 2))); } return $res; } ?> -- Regards, Shreyas Agasthya

Re: [PHP] Urgent help - Token Generation code!

2011-05-28 Thread Shreyas Agasthya
, Tried echoing $sToken but wouldn't work. Regards, Shreyas On 28-May-2011, at 4:11 AM, Jasper Mulder wrote: Date: Sat, 28 May 2011 03:56:26 +0530 From: shreya...@gmail.com To: php-general@lists.php.net Subject: [PHP] Urgent help - Token Gener