a...@stockton.co.za wrote:
Shawn, that was silly of me. I have now removed the echo but I still do
not get the expected result from the server.
var_dump of $result returns:-
object(stdClass)#2 (1) {
[GetSequenceNoResult]=
object(stdClass)#3 (6) {
[iServerNo]=
int(0
SOAP functions can be called as methods of the SoapClient object. Maybe:
$client-GetSequenceNo( $parameters );
-Shawn
On Wed, Sep 25, 2013 at 9:17 AM, Alf Stockton a...@stockton.co.za wrote:
In an attempt to interface with a webservice on a Windows 7 server I have
started writing
I believe this was a bug, is only a warning that may be suppressed and may
have been fixed in 5.2.0. Are you aware that PHP is at 5.5.4 and that
5.1.6 is over 7 years old?
-Shawn
On Wed, Sep 25, 2013 at 9:09 AM, Markus Falb markus.f...@fasel.at wrote:
With RHEL/CentOS 5 php I get an SSL
Just as I thought:
5.2.0
Fixed bug #39039 SSL: fatal protocol error when fetching HTTPS from servers
running Google web server). (Ilia)
On Wed, Sep 25, 2013 at 10:03 AM, Shawn McKenzie
shawn.mcken...@gmail.comwrote:
I believe this was a bug, is only a warning that may be suppressed and may
Keep on list.
$result = $client-GetSequenceNo( CIS ); shouldn't be throwing that
error. Maybe you are trying to do something with $result afterwards? Try
var_dump($result);
On Wed, Sep 25, 2013 at 10:12 AM, Alf Stockton a...@stockton.co.za wrote:
On 25/09/13 16:52, Shawn McKenzie wrote
markus.f...@fasel.at wrote:
On 25.9.2013 17:12, Shawn McKenzie wrote:
Just as I thought:
5.2.0
Fixed bug #39039 SSL: fatal protocol error when fetching HTTPS from
servers
running Google web server). (Ilia)
Thanks, but ...
I am not sure how what I am supposed to do with this information
On 02/01/2013 10:40 PM, Ron Piggott wrote:
In the following the “2.” means a moderator response and “25” is the account
# of the moderator.
?php
$author = 2.00025
?
How can I get the 25 by itself?
- I want to drop the “2.” and remove all the zero’s
Would
On 11/18/2012 02:29 PM, tamouse mailing lists wrote:
There are certain times I'd like to include all files in a given
directory (such as configuration stuff that is split out by type, a la
apache conf.d). Anyone have something handy that implements that?
Just for fun:
with clear detailed user guides and the fact
that it is free, they are indignant about a missing feature or having to
look in the docs for anything.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 04/27/2012 10:56 AM, Chris Stinemetz wrote:
I still haven't been able to find a solution. Is there anyone out
there that knows how to keep the query string intact?
Thank you,
Chris
urlencode($storerow['store_subject'])
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing
('stripslashes', $row) prior. However I
would just use the $row array as most people do instead of extracting.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/php5/20090626+lfs
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 04/10/2012 12:25 PM, George R Smith wrote:
Matijin and Shawn,
I added to /etc/php5/apache2/php.ini the line
extension_dir = /usr/lib/php5/20090626+lfs
but when I run qm_ext_build I still get
You need to create the php extensions directory:
/usr/lib/php5/20090626+lfs no
could
On 03/27/2012 04:23 PM, Jay Blanchard wrote:
Seems unusual not to have any traffic on it all day long.
i put in my codes but i only get blank page...
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 03/27/2012 04:34 PM, Matijn Woudt wrote:
On Tue, Mar 27, 2012 at 11:32 PM, Shawn McKenzie nos...@mckenzies.net wrote:
On 03/27/2012 04:23 PM, Jay Blanchard wrote:
Seems unusual not to have any traffic on it all day long.
i put in my codes but i only get blank page...
List seems
On 03/27/2012 08:11 PM, Daniel Fenn wrote:
It working fine here, just people are busy I suppose.
y u no help me !! i have white page withg my php codes in my page !
help please !! asap please i put codes in my file and is white
On Wed, Mar 28, 2012 at 10:45 AM, Shawn McKenzie nos
later, then most likely execute another query with the new
sorting. If having tried that, and that's not what works, then use
array_multisort(). Pay attention to example #3 on php.net as this is
what you want.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http
On 03/10/2012 07:01 PM, Shawn McKenzie wrote:
foreach ($query-result() as $row) {
$arr_cTree[$row-cID] = array($row-cPcID, $row-cL, $row-cName,
$row-cSeg, $row-cSort);
}
Actually, you may construct your array as follows to make sorting with
ksort():
foreach ($query-result() as $row
know I didn't do it and js had been working great.
Something to check.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
break;
}
$i++;
}
$array = array_merge(array_slice($array, 0, $p), $insert,
array_slice($array, $p, count($array) - $p));
}
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 02/03/2012 10:11 AM, jas wrote:
array('private_key_type' = OPENSSL_KEYTYPE_RSA,
'encrypt_key_cipher' = OPENSSL_CIPHER_3DES);
Look like ints to me: var_dump():
array(2) {
[private_key_type]=
int(0)
[encrypt_key_cipher]=
int(4)
}
--
Thanks!
-Shawn
http://www.spidean.com
, CPM, Commodore 64, Mac OS 9 or Amiga either as far as I know. The
DOS that ran on TRS80, concurrent DOS and Zenith DOS are right as well.
I'm sure that if you submit a feature request they would be all over it.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http
with the wrong guy!
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(\$results$v = $k;);
}
print_r($results);
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not be found.\r\n in Unknown on line 0
There should be a line in your php.ini file similar to this:
extension='C:\\php\\ext\\php_msql.dll'
Comment that out with a semi-colon and restart apache:
;extension='C:\\php\\ext\\php_msql.dll'
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing
a php file as the img src and that file sets the
appropriate headers and uses readfile() to get and echo the image data:
getimage.php?image=someimage.gif
For download files you would do it in the same manner as for images:
download.php?file=somefile.zip
--
Thanks!
-Shawn
http://www.spidean.com
as an escape character and
for the ones that do you should use the X_real_escape_string(), like
mysql_real_escape_string() instead of addslashes()
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on biological remnants.
Why are you waiting for the day Dan? Just do it!
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. If it is connected via 9090 then
$_SERVER['SERVER_PORT'] will be 9090. If you want it to be different
than how it is currently connected then you will have to hard code the
port number in the href.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net
'])) {
// is not alpha numeric
}
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 09/15/2011 08:50 PM, d...@php.net wrote:
Thanks X4!
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Do I need to explain this one?
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for your help.
Ron
The Verse of the Day
“Encouragement from God’s Word”
http://www.TheVerseOfTheDay.info
If it is meant to be HTML then why run htmlentities(), especially before
storing it in the DB?
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net
to receive too many responses than not enough. Besides, more
often than not, it's multiple methods of doing things, not always
identical. Not only will that never change, but it shouldn't.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
your
string contains a float that is INF (8315e839) before the truncation at
the d, then it returns INF. Makes perfect sense.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 08/31/2011 01:48 PM, Shawn McKenzie wrote:
The cast to float is truncating the invalid characters and since your
string contains a float that is INF (8315e839) before the truncation at
the d, then it returns INF. Makes perfect sense.
Just FYI... Don't post your troubles
On 08/23/2011 08:36 AM, Yuri Yarlei wrote:
Hi,
I like to share with the list, that I passed in the ZCE and now I'm a Zend
Certified Engineer.
I did a post when I started studying in my blog:
http://www.yuriyarlei.net/en/zend-php-certification
Congratulations!
--
Thanks!
-Shawn
http
$new_description;
echo /pre;
}
}
I haven't look through it long enough to find out about the characters,
but try this:
foreach($tableNews as $headline = $text){
echo br;
echo $text['text'];
echo pre;
echo $text['user']['name'];
echo /pre;
}
--
Thanks!
-Shawn
http
=addresses[3][city]
name=addresses[4][state]
name=addresses[5][zip]
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
someone enlighten me?
Thanks,
Donovan
The manual is great! $_FILES
http://www.php.net/manual/en/features.file-upload.post-method.php
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the apache user to
execute it without a password.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
user to sudoers.
It's quite high risk move in security-wise
Good luck getting it to work another way.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: Undefined index: extension
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
one
seems like a good fit for you.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, this might
be useful:
if(!in_array($val, array('with','from','to','against','mom','dad')) {
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pass in
$e_cc but try and use $_email_cc, etc, etc, etc...
Develop with:
error_reporting(E_ALL);
ini_set('display_errors', '1');
This will tell you about all of those undefined variables.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On 07/13/2011 04:03 PM, Karl DeSaulniers wrote:
Thanks Shawn,
I had actually found the same thing myself..
$subCc = array_map('trim',explode(,,$subCc));
But I could not find my post last night to make a new comment about it.
Thank you for yours though.. I did not think of the implode
(', ', array_filter(array_map('trim', explode(',', $cc;
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
dll that is
located in the php dir.
And of course, Happy Independence Day!
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 06/27/2011 10:01 AM, Plamen Ivanov wrote:
On Sun, Jun 26, 2011 at 5:44 PM, Shawn McKenzie nos...@mckenzies.net wrote:
On 06/26/2011 12:31 PM, Adam Tong wrote:
Hi,
I wanted tu use php filters for validation to avoid regular expresions.
Is it possible that FILTER_VALIDATE_URL only checks
= filter_var($url,FILTER_VALIDATE_URL);
echo $url;
-
Or I am doing something wrong
Thank you
No, because http:// is not a URL, it's a scheme or protocol.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
with http://
}
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 06/26/2011 04:50 PM, Fatih P. wrote:
Guys, when you reply a mail, You should write your reply on the top of it,
not at the bottom of it.
makes it easier to follow.
Ready flame-throwers!
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net
. This has been happening to me every day for years using
Thunderbird. It's a news server issue that has never been corrected.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
great, though you need to
give it what it expects:
$ts = strtotime(str_replace('/', '-', $date));
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 06/22/2011 06:54 PM, David Nicholls wrote:
I'm late to the party, but strtotime works great, though you need to
give it what it expects:
$ts = strtotime(str_replace('/', '-', $date));
Thanks, Shawn, that's a bit more elegant! I'll give it a go. I didn't
know how to do the str_relace
On 06/20/2011 07:51 AM, Marten Lehmann wrote:
isn't working any longer
What does that mean? It generates an error? It executes without error
but the data isn't loaded? Try a test on the command line and see what
you get.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List
: mysql_fix_privilege_tables and
then restart mysql.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 06/19/2011 07:26 AM, tedd wrote:
At 6:34 PM -0500 6/18/11, Shawn McKenzie wrote:
Get method is for retrieval only. It is not for anything that has a
consequence (insert, update, delete, send email, etc.). Use only post
for those.
--
Thanks!
-Shawn
Why?
Cheers,
tedd
writing from my smart phone and it's
all untested. Hopefully it gives you a start though.
Jason Pruim
Get method is for retrieval only. It is not for anything that has a
consequence (insert, update, delete, send email, etc.). Use only post
for those.
--
Thanks!
-Shawn
http://www.spidean.com
. Here's mine:
/etc/php5/apache2/php.ini
/etc/php5/cli/php.ini
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[count($output)-1]);
array_shift($wmax);
print_r($wmax);
--or to search for wmax =
if($array = preg_grep('/^ wmax = $/', $output)) {
$wmax = explode(', ', $array[0]);
}
array_shift($wmax);
print_r($wmax);
May need some more error checking.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP
On 06/14/2011 01:03 PM, Shawn McKenzie wrote:
$wmax = explode(', ', $output[count($output)-1]);
Should be -2 :(
$wmax = explode(', ', $output[count($output)-2]);
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
misread the first. You want a string
of only the coma separated numbers? If so:
if ($array = preg_grep('/^ wmax = /', $output)) {
$wmax = array_shift($array);
}
If you want to get rid of the wmax = or add the { } or whatever use
str_replace() and/or concat then on.
--
Thanks!
-Shawn
http
On 06/07/2011 12:45 PM, Floyd Resler wrote:
What would be the easiest way to do a fuzzy array search? Can I do this
without having to step through the array?
Thanks!
Floyd
I use preg_grep()
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net
to all)
--
The trouble with programmers is that you can never tell what a programmer is
doing until it’s too late. ~Seymour Cray
On Tue, Jun 7, 2011 at 2:57 PM, Shawn McKenzie nos...@mckenzies.net wrote:
On 06/07/2011 12:45 PM, Floyd Resler wrote:
What would be the easiest way to do a fuzzy
On 06/07/2011 04:28 PM, Floyd Resler wrote:
Shawn,
I'm terrible with regular expressions. Could you give me an example?
Thanks!
Floyd
Depends. Could be as simple as this to return an array of all
occurrences of $needle in any of the $haystack_array values:
$haystack_array
On 06/07/2011 04:35 PM, Alex Nikitin wrote:
Shawn, == is not good for string comparison, its a bad habit that one
should get out of, use ===, its much safer .
Yes, except that I was comparing a string to an array of integers :)
Also try the same algorithm on 10 arrays of some number
, then Geshi would handle all of these.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the argument name then just add another
column called variable and change the argument column's name to value.
id results_id variable value
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On 05/11/2011 03:15 PM, Benedikt Voigt wrote:
Thanks Shawn,
yes, your second idea works for me. The first one not, as I need to
search and join on it.
To continue your second idea with your example:
Arguments:
idresults_idvariablevalue
111800
21
= mime_content_type($file);
header('Content-type: $type');
readfile($file);
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
? Was there a php
update that prohibited that sort of behavior or did hosts start setting
something to OFF, or what?
If you know, please explain.
Thanks,
tedd
Most likely like magic_quotes_gpc. Suhosin-Patch may protect against
this as well (can't remember).
--
Thanks!
-Shawn
http://www.spidean.com
that you have
tried.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: ', $s;
}
?
Completely unexpectedly, the above code runs but produces the wrong output.
FYI. My first inclination would have been:
switch(true) {
case in_array($s, range(0, 9)): echo 0 - 9; break;
}
But it's messy.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing
.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:
name[1] and name[1] are the same but different group from name[2]. If
you don't specify an index, but the name is the same, then they are
grouped together: name[], name[].
By grouped together I mean that only one of the group can be selected
and therefore successful on submit.
--
Thanks!
-Shawn
is $value;
}
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 03/11/2011 02:33 PM, Jim Lucas wrote:
On 3/11/2011 12:03 PM, Shawn McKenzie wrote:
On 03/11/2011 01:28 PM, Danny wrote:
Hi guys,
I have a form that has a long list of radio-bottons inside of it. The
radio-buttons are dynamically created via php and MySQL.
Here is an example of one
On 03/05/2011 04:38 PM, Mark Kelly wrote:
Hi.
Thanks for all the replies.
On Saturday 05 Mar 2011 at 22:11 Simon J Welsh wrote:
On 6/03/2011, at 11:08 AM, Shawn McKenzie wrote:
$regex = '/([^]+)/';
Shawn, this regex gets me two copies of each string - one with and one
without
replied.';
I want $phrases to contain 'This is it' and 'Nope, that is the wrong colour'.
Can anyone help?
Cheers,
Mark
$regex = '/([^]+)/';
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, these are very nice for working with data:
filter_var()
filter_var_array()
filter_input()
filter_input_array()
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as well in the repos. Check for them.
Yes, I'm on Ubuntu and just used 'apt-get install php-pear'.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 01/20/2011 05:26 PM, Tommy Pham wrote:
On Thu, Jan 20, 2011 at 2:49 PM, Shawn McKenzie nos...@mckenzies.net wrote:
On 01/20/2011 04:28 PM, Donovan Brooke wrote:
Hello again!
I'm trying to find a good way to convert array key/value's to
variable name values... but with the caveat
..
Yesterday I couldn't connect at all, all day. Today it seems to be
working OK.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
liner (not tested):
extract(array_combine(str_replace('f_', 't_', array_keys($_POST)),
array_values($_POST)));
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with it because I don't want mailing list mails either.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 09/12/2010 02:38 AM, Tamara Temple wrote:
On Sep 11, 2010, at 10:46 PM, Shawn McKenzie wrote:
It could however be a problem if there is a BOT or something that
continually submits to your page. In that case (and in general) I would
recommend using a form token that helps guard against
that
continually submits to your page. In that case (and in general) I would
recommend using a form token that helps guard against this.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ask:
Is this purely academic? Why is this a concern? Have you encountered
issues? If so, what?
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on the page but the
validator is OK with them?
Is the answer as simple as:
urlencode($myvar)
Thanks,
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing
are related by which keys and even let you enter
validation rules etc. It then builds a skeleton app with all the models
for your schema and will even generate test.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
?
echo 'File B';
?
Try not use the short open tag. Use ?php
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 07/15/2010 04:40 PM, Leonardo wrote:
Bad habit. I know.
Did it fix it?
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
stripslashes first:
if(get_magic_quotes_gpc()) {
$_POST['name'] = stripslashes($_POST['name']);
}
$name = mysqli_real_escape_string($DatabaseLink, trim($_POST['name']));
$name = stripslashes(mysqli_real_escape_string($dbc, trim($_POST['name'])));
Thanks.
Dave.
--
Thanks!
-Shawn
http
. If not, then load the
edit form again with a message that says the record has recently been
updated by someone else.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be an array containing all the
domain-names found in a text file.
Cheers,
tedd
Not extensively tested:
$domains = array();
if(preg_match_all('/[A-Za-z0-9][-A-Za-z0-9\.]*?\.(com|net|org)/i',
$text, $matches)) {
$domains = array_unique($matches[0]);
}
--
Thanks!
-Shawn
http
for any information.
David Cesal
I'm almost positive you can do this with cURL and it should be fairly
simple. Check it out.
http://php.net/manual/en/book.curl.php
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
1 - 100 of 1167 matches
Mail list logo