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
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
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
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
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
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,
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
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
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
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:
>
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
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
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
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
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
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
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
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
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
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
&
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
@ 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
*
*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
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
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
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
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
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
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
.
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
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,
>
>
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
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
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
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
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
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
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:
>
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
(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
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
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
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
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
&
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
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
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
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
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,
> >
>
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
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
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
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
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
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
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
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..
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
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,
>>
&
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
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
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
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:
>
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
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
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
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)');
>
>
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
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
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'
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
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
,
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
73 matches
Mail list logo