the part where $token is defined and used
[More code that seemed fine]
--
Regards,
Shreyas Agasthya
Best regards,
Jasper Mulder
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
JS injection would be that (bad scripts inserted by the
> user on a comment form or review page) or where you are using eval() and
> they dump bad code into there.
>
> Regards,
>
> -Josh___
> Joshua Kehn | josh.k...@gmail.com
> http://joshuakehn.com
>
>
>
--
Regards,
Shreyas Agasthya
#x27;how.php')
> // do stuff
> if ($script_name == 'why.php')
> // do other stuff
>
> Cheerios,
> Marc
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
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
$input = file_get_contents($url);
>
>
>
> The Verse of the Day
> “Encouragement from God’s Word”
> http://www.TheVerseOfTheDay.info
>
> *From:* Shreyas Agasthya
> *Sent:* Thursday, November 25, 2010 4:21 AM
> *To:* Ron Piggott
> *Cc:* php-general@lists.php.n
;
>
> This didn’t work. The browsing was attributed to the dedicated IP address.
>
> How do I get AWSTATS to access this, such as other entries under the
> “Robots/Spiders visitors” heading:
> Unknown robot (identified by 'bot*')
>
> I don’t mean any ill will by changing this setting. Thanks for the help.
>
> Ron
>
> The Verse of the Day
> “Encouragement from God’s Word”
> http://www.TheVerseOfTheDay.info
>
>
--
Regards,
Shreyas Agasthya
t;
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
you think it will break?
>
>
> Cheers,
> Thiago Henrique Pojda
> +55 41 8856-7925
>
--
Regards,
Shreyas Agasthya
t;
> --
> Per Jessen, Zürich (3.7°C)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Let's adhere to the rules
--
Regards,
Shreyas Agasthya
On Mon, Oct 18, 2010 at 10:46:41PM -0400, Cris S wrote:
>
> > At 15:12 18 10 10, Shreyas Agasthya wrote:
> > >Thanks all for their input. Some of the learnings from the thread :
> > >
> > >1. tag is getting deprecated.
> >
> > Not in HTML5.
>
c and bold,
> those tags by definition imply a specific way to render the content
> that they contain, which makes a real confusion in cases such as style="font-style: normal; font-weight: bold;">text.
>
> Andrew
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
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
urrently use VIM for most editing.
>
> What IDE are you using?
>
> What do you like about the one you are using?
>
> Which ones have you tried?
>
> Mike
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
gt;> pages of gumpf about php.
>>
>> However if I paste this into a
>>
>>
>>
> That was weird!
>
> I was saying, If I paste this into a webpage I only get the "HTML" line as
> before.
>
> Anyone have any ideas?
>
> PHP is obviously w
d resource.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com
> > Version: 9.0.851 / Virus Database: 271.1.1/3089 - Release Date: 08/25/10
> > 02:34:00
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
nd also '/^true|^false/' which doesn't seem to work.
>
> Any ideas to filter this kind of string in just one expression?
>
> Thanks in advance :)
>
> --
> Mailed by:
> UnReAl4U - unreal4u
> ICQ #: 54472056
> www1: http://www.chw.net/
> www2: http://unreal4u.com/
>
--
Regards,
Shreyas Agasthya
; > --Rick
> >
> >
> >
> >
> Use it
>
>
> echo ' src="/itemimages/'.$mypic.'" alt="'.$myitem.'" width="60" ...'
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
ere, would javascript work for this?
> Thanks.
> Dave.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
rked fine. It erased all the
> duplicates and left one instance of the multiple entry values.
>
> This will add a permanent unique restraint to the table. So, you will
> never have dupps again.
>
> Jim Lucas
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
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
als) for PHP and MySQL.
> Thanks
>
> Best Regard
> Jovanov Jordan
>
--
Regards,
Shreyas Agasthya
the off topic posts? :P
>
> Happy Friday yall! :)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
ECT
>Col1,
>Col2,
>MIN(UniqueID) AS UniqueID
>FROM
> Table
>GROUP BY
>Col1,
>Col2
>)
>)
>
> UNTESTED
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
.
> > Dave.
>
> Variables declared outside a function are visible outside the function.
> Variables declared inside a function are visible only within that
> function. To use a "global" variable inside a function, you must declare
> it global, as:
>
> global $globalvar;
>
> Paul
>
> --
> Paul M. Foster
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
y.
>
> http://www.eset.com
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
Paul
> > >
> > > --
> > > Paul M. Foster
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
>
>
> $_SERVER['PHP_SELF'] is not to be trusted, and shouldn't be used as the
> action of a form like this.
> http://www.mc2design.com/blog/php_self-safe-alternatives explains it all
> better than I can here, so it's worth a read, but it does list safe
> alternatives.
>
> One thing I do when creating sticky select lists is this:
>
> $colours = array('red', 'green', 'blue', 'yellow', 'pink');
>
> echo '';
> for($i=0; $i {
>$selected = (isset($_POST['colour']) && $_POST['colour'] ==
> $i)?'selected="selected"':'';
>echo "{$colours[$i]}";
> }
> echo '';
>
> Basically, this uses PHP to not only output the list from an array
> (which itself can be populated from a database maybe) and select the
> right option if it exists in the $_POST array and matches the current
> option in the loop that's being output.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>
--
Regards,
Shreyas Agasthya
ndle this, but am not sure how
> to tie it in to the fields since any one of the required fields could
> not be filled in.
> I'd appreciate any help.
> Thanks.
> Dave.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
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
&
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
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
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
(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
ber of distinct digits we use.
>
> In binary we only us two, 0 and 1, so 10 is 2 decimal
>
> So we go
>
> 0 = 0 decimal
> 1 = 1 << important
> 10 = 2 << important
> 11 = 3
> 100 = 4 << important
> 101 = 5
> 110 = 6
> 111 = 7
>
> So binary 111 is 4 + 2 + 1 = 7
>
> Stephen
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
.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 Agasthya
>
> > I need to know the values of the array (IE to know what the user is
> > checking), not that there is an array. I hope to save these values to
> the
> > database.
> >
> > Thank you.
> >
> > Ron
> >
> >
>
>
> You need to iterate that array, as that holds the values of everything
> sent by the browser
>
> 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
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
humbsarray);
> ?>
>
> This is exactly the same as the code which is working for the 'projects'
> pages.
>
> Mike
>
> --
> Mike Davies
> Integra Web Design, Rhynie, By Huntly, AB54 4LS
> 01464 861535www.integrawebdesign.co.uk
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
?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 Agasthya
For every possible character I can think of, is there a way to simply omit
> any character that is not an alpha character and not a number value from 0
> to 9?
>
>
> --Rick
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
> Mike Davies
>
> --
> Mike Davies
> Integra Web Design, Rhynie, By Huntly, AB54 4LS
> 01464 861535www.integrawebdesign.co.uk
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya
nd
> all I got was the html code displayed.
>
>
>
> I tried moving the folder around but same results.
>
> Read some docs on this but it’s not clear to me why this will not work.
>
>
>
> Please help this is new to me and I need to get over this wall.
>
> Thanks,
>
> /Ernie
>
>
>
>
>
>
>
>
>
>
>
>
>
--
Regards,
Shreyas Agasthya
g PHP's strtotime() function to
> populate a new column on the DB.
> 2 - Find the code that inserts/updates the date string and add the new
> column to the insert/update statement.
>
> That will preserve the current app and allow you to have the new
> column for new work.
>
> Just remember, if _YOU_ update the new column, you must also update
> the original date string also.
>
> --
> -
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/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
>
--
Regards,
Shreyas Agasthya
ink you were looking for. Might be worth a "look-see".
>
> :))
>
> Hth,
> Karl
--
Regards,
Shreyas Agasthya
46 matches
Mail list logo