On Wed, Jan 28, 2009 at 4:31 PM, Terion Miller wrote:
> On Wed, Jan 28, 2009 at 3:22 PM, Christoph Boget
> wrote:
>>
>> > Well I'm stuck I have the AdminID but now I can't seem to use it to pull
>> > workorders with that AdminID . I couldn't get your
this relations table is that you can later
expand it to include other things, such as defining the relationship
of a user to a list (moderator, administrator, subscriber, etc.) if
that becomes necessary.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t now.) Is ZF really just that slow
under IIS?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the PHP script?
> Thanks.
>
.htaccess won't call it since it isn't actually executed, but you can
set up an auto_prepend_file in .htaccess that will be automatically
prepended to all your PHP scripts in the folder (assuming the server
config allows it).
Andrew
--
PHP Ge
On Fri, Jan 30, 2009 at 12:46 PM, Andrew Ballard wrote:
> Is anyone running Zend Framework under IIS? If so, how do you have it
> configured? (ISAPI versus FastCGI, etc.) Do you use any code
> optimizers?
>
> The reason I ask is because we set it up on a couple servers where I
&
or 'palavrões''
>
> zechim
>
http://www.google.com/search?hl=en&q=bad+word+dictionary&btnG=Google+Search
http://www.google.com/search?hl=en&q=bad+word+list&btnG=Search&aq=f&oq=
http://www.google.com/search?hl=en&q=bad+word+database&btn
ou sent to hell... I asked M$, and they
> adamantly refused to answer... so draw your own conclusions...
>
>
> Ash
> www.ashleysheridan.co.uk
I suspect either would be able to connect to MySQL as long as you had
the MySQL ODBC driver installed. I don't know if there are ot
Hi,
Can some body help out on how to validate user password from the database?
Thanks
Andrew
then it is without doubt the same record.
>
> If I was not using an unique identifier, then I would agree with you. But
> unique is unique -- it makes no difference if it's a record ID or email
> address -- both are unique.
You are right, but the point is that if you intend someth
yone just *knows* PHP is a significant player" -- that's not
>> proof.
>
> Perhaps a better question then might be how many IIS servers are there
> out there compared to Apache. Apache servers uniformly support PHP, but
> I think only IIS servers support ASP (I could be wrong).
We're running PHP under IIS where I currently work. For that matter,
I'm pretty sure the headers spit out that both ASP.NET and PHP are
supported on these machines, even though we're not currently using
ASP.NET.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$this ->validate = connect to externalServerObject($pwd, $acc,
$customerAcc);
}
*GetLoginSession()*
{
return $this ->validate;
}
}
Andrew Williams
http//www.willandy.co.uk
--
Best Wishes
Andrew Williams
On Mon, Feb 9, 2009 at 10:27 AM, tedd wrote:
> At 9:54 AM -0500 2/9/09, Andrew Ballard wrote:
>>
>> You are right, but the point is that if you intend something to be
>> unique then you should declare it as such in the database.
>
> We didn't discuss that.
>
&g
On Mon, Feb 9, 2009 at 11:05 AM, tedd wrote:
> At 10:55 AM -0500 2/9/09, Andrew Ballard wrote:
>>
>> -snip-
>>
>> Andrew
>
> As I said many times before.
>
> I've learned something new every day of my life -- and I'm getting damned
> tried of
On Mon, Feb 9, 2009 at 11:10 AM, tedd wrote:
> At 10:02 AM -0500 2/9/09, Andrew Ballard wrote:
>>
>> On Sun, Feb 8, 2009 at 3:37 PM, Paul M Foster
>> wrote:
>>
>> > Perhaps a better question then might be how many IIS servers are there
>>>
>
OM('...') should
be the name the class as registered with Windows, not the actual file
name. They are usually something like 'Scripting.FileSystemObject',
'word.application', 'ADODB.Recordset', etc.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Feb 9, 2009 at 11:32 AM, tedd wrote:
> At 11:15 AM -0500 2/9/09, Andrew Ballard wrote:
>>
>> On Mon, Feb 9, 2009 at 11:05 AM, tedd wrote:
>>
>> > I've learned something new every day of my life -- and I'm getting
>> damned
>> > t
o new COM('...') should
>> be the name the class as registered with Windows, not the actual file
>> name. They are usually something like 'Scripting.FileSystemObject',
>> 'word.application', 'ADODB.Recordset', etc.
>>
>>
>>
Hi,
Can somebody help me with why I have communication problem using MSSQL with
SQLserver 2005. Instead I am now using SQLSRV
--
Best Wishes
Andrew Williams
--
Best Wishes
Andrew Williams
On Mon, Feb 9, 2009 at 1:11 PM, Andrew Williams
wrote:
> Hi,
>
> Can somebody help me with why I have communication problem using MSSQL with
> SQLserver 2005. Instead I am now using SQLSRV
>
> --
> Best Wishes
> Andrew Williams
Care to be more specific?
Andrew
--
MSsql unable to connect to the SQLserver2005 but not SQLserver2008
On Mon, Feb 9, 2009 at 6:11 PM, Andrew Williams
wrote:
> Hi,
>
> Can somebody help me with why I have communication problem using MSSQL with
> SQLserver 2005. Instead I am now using SQLSRV
>
> --
> Best Wis
3A.com+filetype%3Aexe
7.6M
Of course, with extensions like .dll or .exe it's hard to tell whether
the indexed resource is a compiled web app or if it is a file
available for downloading.
Definitely still a slippery number to pin down. Nice use of Google though. :)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Feb 9, 2009 at 3:21 PM, Dan Shirah wrote:
> H, maybe it's not a problem with the DLL I'm trying to access because
> just doing a simple:
> $my_com = new COM("Excel.Application");
>
> Gives me the same error:
> *Fatal error*: Uncaught exception 'com_exception' with message 'Failed to
>
e was ASP, but from time to time we'd get an app
written in one of the other languages that someone wanted to host for
their department and often we'd host it. For that matter, what about
someone using Phalanger, Monologo, or the like to write PHP syntax
inside .NET? :-)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ds
>
> Carlos
>
Yes, it is, but the original question was about OOP and not
specifically about PHP. It seems fair enough to me for someone to ask
the question on this list since PHP was one of the languages being
considered, even if consensus among the list seems to be that PHP
would not be the best choice for teaching a course on OOP.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
which is running PHP
5.2.0 under WinXP, and it worked as expected:
FileExists($some_file)) {
echo 'The file exists!';
} else {
echo 'The file does not exist.';
}
?>
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ry
>
> Any help would be appreciated - thanks Dave
>
>
>
> --
> Thanks - RevDave
> Cool @ hosting4days . com
> [db-lists 09]
>
SELECT DISTINCT Category FROM contacts
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Feb 10, 2009 at 3:09 PM, Kyle Terry wrote:
> On Tue, Feb 10, 2009 at 12:07 PM, Kyle Terry wrote:
>> On Tue, Feb 10, 2009 at 9:46 AM, Tony Marston
>> wrote:
>>> Take a look at http://www.tonymarston.net/php-mysql/databaseobjects.html
>>>
>>> --
>>> Tony Marston
>>> http://www.tonymarston.
whether the double-slashes are getting passed into
the object method rather than being treated as escape characters. You
might try passing one of those values to your Hello() method to make
sure they are going into your class correctly.
This also doesn't begin to delve into whether the COM object uses the
same security context as PHP. I would think so, but that's just a
guess.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uest for this type of stuff, but it only works with
PHP 5.0/5.1 and greater. Otherwise, CURL is the next easiest, followed by
direct socket connections.
Keep in mind when passing the cookie to the client that if the client
browser is set to reject 3rd party cookies and you pass a value for $domain
to setcookie() that is different than the domain of your site, the browser
will ignore the header.
Andrew
ything
>
> Thank
>
> Daniel
>
You mean like this one?
http://www.yougetsignal.com/tools/web-sites-on-web-server/
I don't know how reliable or up-to-date it is.
Andrew
than the first few results for an address.
Andrew
nes
that get extra special treatment in the browser because the CA is
supposed to go beyond merely verifying that the URL domain matches the
certificate by making additionally validating that the certificate
belongs to a real entity whose identity they have verified. They also
cost the most.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> >
>> > I prefer calling C and C++ as Framework of Assembly language.
>> >
>> >
>>
>> Hahaha that was a good one Shawn. I almost fall of the chair :-) .
>
> What's so funny? Assembly is just a framework for microcode.
>
> Cheers,
> Rob.
I guess a computer would be a framework for data processing. :-)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ork?
>
>
> Ash
> www.ashleysheridan.co.uk
>
>
It seems to work OK for me. I typically use your altered format or the
form that Bastien posted (except I usually default the parameters to
null rather than an empty string) though.
'', 'venue' => '',
al Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >
>> >
>>
>> i tend to do
>>
>> function addEvent($values='')
>> {
>> if (!is_array($values))
>> {
>>$valu
client,
depending on proxies and gateways) and the request headers (including
cookies). Each has its own vulnerablities, as already discussed.
Variables such as HTTP_X_FORWARDED_FOR, HTTP_X_VIA, etc. may get
closer, but ultimately these are just request headers that are easy to
forge, munge and/or discard at multiple points between the client and
your server.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Feb 18, 2009 at 1:41 PM, tedd wrote:
> At 5:47 AM +0200 2/18/09, Ian wrote:
>>
>> Anyone had to deal with this in the past and does anyone have any
>> suggestions/ideas as to how I could better this setup?
>>
>> Many thanks in advance,
>> Ian
>
> Ian:
>
> As other people have said, using I
On Wed, Feb 18, 2009 at 3:43 PM, tedd wrote:
> At 1:54 PM -0500 2/18/09, Andrew Ballard wrote:
>>
>> On Wed, Feb 18, 2009 at 1:41 PM, tedd wrote:
>>
>> > Granted this is an involved method, but email addresses are unique and
>> thus
>>>
>>
On Wed, Feb 18, 2009 at 4:07 PM, tedd wrote:
> At 3:54 PM -0500 2/18/09, Andrew Ballard wrote:
>>
>> You're missing my point. Yes, e-mail addresses are unique delivery
>> points. They can not, however, uniquely identify one and only one
>> person -- which is
anks
>
> Eric Sherman
> Multi Media Information
You can put spaces anywhere in that string you want them. What problem
are you having?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
) $sql .= ', ';
$sql .= "('" . mysql_real_escape_string($categoriesIN[$ii]) . "')";
}
}
$result = mysql_query($sql, $db);
?>
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ingle floppy high-density
drive could hold that much data 18 years ago!
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r? If you have to
deal with namespaces in documents, it's probably time for the project
to graduate from SimpleXML to something like DOM.
Look at the user note on this page:
http://us3.php.net/manual/en/intro.simplexml.php
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$index = $this->index($bit);
> $offset = $this->offset($bit);
> $this->bits[$index] &= ~(1 << $offset);
> }
>
> public function test($bit) {
> $index = $this->index($bit);
> $offset = $this->offset($bit);
> return $this->bits
(name, age) VALUES ('Arnie Shwartz', '75')";
$result1 = mysql_query($sql1,$db);
if (!is_resource($result1)) {
echo "Error performing 1st query: " . mysql_error() . "";
exit();
} else {
echo '' . mysql_affected_rows() . 'row(s) affected
spidean.com
>>
>>
> Just another marketing tool to sell a limited toolset db to punters who like
> marketing hype
>
>
> --
>
> Bastien
I thought they were free. Limited, but free. (reduced functionality or
limited number of connections compared to the commercial versi
t
>
I thought (and almost replied) the same, but the more I think about
it, I'm not sure it would work. The query would return no results, so
there wouldn't even be an array of empty values.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
>> >
>> A dirty way is to query the table where 1=2 to return no results
>>
>> select * from table where 1=2
>>
> That'll just return an empty result set, as in empty and with no fields
> output! In MySQL you can do this:
>
> SELECT column_name FRO
On Fri, Feb 27, 2009 at 7:32 PM, Ashley Sheridan
wrote:
> On Fri, 2009-02-27 at 16:41 -0600, Boyd, Todd M. wrote:
>> > -Original Message-
>> > From: Andrew Ballard [mailto:aball...@gmail.com]
>> > Sent: Friday, February 27, 2009 3:26 PM
>> > To: Bas
On Sat, Feb 28, 2009 at 5:13 AM, Ashley Sheridan
wrote:
> On Sat, 2009-02-28 at 01:04 -0500, Andrew Ballard wrote:
>> On Fri, Feb 27, 2009 at 7:32 PM, Ashley Sheridan
>> wrote:
> I absolutely love enum datatypes; they allow you to use string values
> but internally stores
MySQL and PostgreSQL
> support it. Don't know about MSSQL.
>
> Paul
> --
> Paul M. Foster
>
Access is not MSSQL, and I'd hardly consider it standard SQL either.
:-) To even connect to it from PHP, I think you'd need to either use a
generic ODBC library or else the CO
On Sat, Feb 28, 2009 at 5:08 AM, Ashley Sheridan
wrote:
> On Sat, 2009-02-28 at 00:40 -0500, Andrew Ballard wrote:
>> On Fri, Feb 27, 2009 at 7:41 PM, Ashley Sheridan
>> wrote:
>> > On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote:
>> >> On Thu, Feb
On Sun, Mar 1, 2009 at 12:39 AM, Paul M Foster wrote:
> On Sat, Feb 28, 2009 at 06:54:25PM -0500, Andrew Ballard wrote:
>
>> On Sat, Feb 28, 2009 at 6:08 PM, Paul M Foster
>> wrote:
>> > On Sat, Feb 28, 2009 at 12:41:12AM +, Ashley Sheridan wrote:
>> >
>
On Mon, Mar 2, 2009 at 10:30 AM, Boyd, Todd M. wrote:
>> -Original Message-
>> From: Andrew Ballard [mailto:aball...@gmail.com]
>> Sent: Saturday, February 28, 2009 12:05 AM
>> To: a...@ashleysheridan.co.uk
>> Cc: Boyd, Todd M.; PHP General list
>> Sub
voids logic errors that result in
invalid results when differentiating between subjects like "Men's
Health" and "Women's Health" within the list.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Mar 2, 2009 at 6:36 PM, Ashley Sheridan
wrote:
> On Mon, 2009-03-02 at 09:30 -0600, Boyd, Todd M. wrote:
>> > -Original Message-
>> > From: Andrew Ballard [mailto:aball...@gmail.com]
>> > Sent: Saturday, February 28, 2009 12:05 AM
>> > To:
e
seen it make a difference is if I'm sending the file as an attachment
(prompting the browser to save the file rather than displaying it). If
removing the line eliminates the problem, I'd just remove the line and
be done with it.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Mar 5, 2009 at 1:26 PM, Jsbeginner wrote:
> Thankyou Andrew Ballard and 9Tel ,
You're welcome. However, you forgot to reply to the list.
> You both suggest that it's not necessory to set the Content-Length except
> for images etc ... well the problem is that I al
Dear All,
I have written a back end php program that update live stream database and
this data is streamed 24 hours a day. Please, what is the best way to make
sure this program execute or runs 24 hours day.
Best Wishes
Andrew Williams
www.willandy.co.uk
hours a day
On Sat, Mar 7, 2009 at 11:02 PM, 9el wrote:
> cronjob or deamon to execute the php file
>
>
> On Sun, Mar 8, 2009 at 4:56 AM, Andrew Williams > wrote:
>
>> Dear All,
>>
>> I have written a back end php program that update live stream database and
>
M, 9el wrote:
>
>> cronjob or deamon to execute the php file
>>
>>
>> On Sun, Mar 8, 2009 at 4:56 AM, Andrew Williams
>> wrote:
>>
>> > Dear All,
>> >
>> > I have written a back end php program that update live stream database
>&g
Hi,
my php program does not display current result of submitted form
instead the previous content is shown until you refresh manually
(which means resubmitting the form).
Can someone help me out because, I want to display the result of the
latest form result and not the old one.
I am using apach
difference.
help please
On Mon, Mar 9, 2009 at 3:09 PM, Virgilio Quilario <
virgilio.quila...@gmail.com> wrote:
> hi,
>
> that wouldn't be a problem.
> it will just tell the browser not to cache the html output.
>
> Virgil
> http://www.jampmark.com
>
> O
tes (onload, onmouseover, etc.) - the value of the
> attribute of the attribute I could care less about.
>
> There's probably an xpath way to get all the elements and then check them
> for a specified attribute, but using the wildcard with the
> getElementsByTagName also works.
>
>
If your source is well-formed enough to use the DOM library, then you
could probably write an XSLT template that would give you exactly what
you want. You still need to understand xpath syntax, but I found a
post here that talks about what you are doing:
http://www.biglist.com/lists/xsl-list/archives/200404/msg00668.html
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I thought so too. That was until I had to use xpath on a few
documents that used namespaces. Try this with a strict xhtml document
and all of a sudden your simple xpath query becomes something like
this:
//*[namespace-uri()='http://www.w3.org/1999/xhtml' and local-name() =
'p' and @class='red']
Although, for the original question, I believe something like this
would still work (unless the attributes themselves are namespaced):
//*...@someattribute!='']
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; When cheese melts take the potates from the oven, add salt or whatever
>> > condiment you use, add a litle oil and you have your lunch!
>> >
>>
>> My mom tried to serve us a meatless meal when I was a kid. After the
>> outrage of the three boys and dad, that was the la
new one?
>
> Is there any other way to alter the tagName without doing all that?
>
If this is related to your earlier post about attributes, is XSLT not
an option? I hate to sound like a broken record, but PHP has support
for XSL transformations and it sounds like that is exactly what y
On Wed, Mar 11, 2009 at 3:06 PM, Michael A. Peters wrote:
> Andrew Ballard wrote:
>>
>> On Wed, Mar 11, 2009 at 11:52 AM, Michael A. Peters
>> wrote:
>>>
>>> If I'm manipulating a dom object, is there a way to change the tag name?
>>> I kno
ll page
template so it is easier to determine where dynamic content needs to
be inserted when you start slicing the template apart, but even then I
usually remove those comments later in the design process before I put
the code out for production. Then again, I haven't included files for
any
#x27;,$nowts-(86400*28))."/1/".date('y',$nowts-(86400*28));
> $m03 = date('m',$nowts-(86400*58))."/1/".date('y',$nowts-(86400*58));
> $m04 = date('m',$nowts-(86400*88))."/1/".date('y',$nowts-(86400*88));
> $m05 = date('m',$nowts-(86400*118))."/1/".date('y',$nowts-(86400*118));
> $m06 = date('m',$nowts-(86400*150))."/1/".date('y',$nowts-(86400*150));
> $m07 = date('m',$nowts-(86400*180))."/1/".date('y',$nowts-(86400*180));
>
> Q: Any ideas how to fix this issue? (please try to keep it simple - 'cause I
> ain't no math wiz either)
>
>
>
> --
> Thanks - RevDave
> Cool @ hosting4days . com
> [db-lists 09]
>
Unless you are in a timezone that does not observe DST, you can't use
a constant 86400 as the number of seconds in a day. You could try
something like this:
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anifesto" that users must follow to send messages here I will
> surely specify my true e-mail address.
>
> Thank you very much again! ;)
>
Not a "manifesto", but the standard advice given to people who post to
this list is to use Reply-All when replying to the list.
e, there is an extra
S in PASSWORD. Also, you should enclose the array key in quotes:
if (empty($_POST['PASSWORD']))
{ $GERROR='TRUE'; }
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27; that you probably intended it to use.
That, and it generates an E_NOTICE. On a production server, these are
usually hidden from public view, but it is still good practice to
avoid them.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a program where I process more that 5000 list of 100 data at time
but it very slow due to many *for statement*s. how you make it run faster
--
best
www.willandy.co.uk
Hi all,
I am inserting more than 5000 rows into sql database but its taking more
than 30 mins to get it all the data inserted. I use union to insert
multiple rows of 20 at a time.
What is the best way to make insert sql statement run faster
--
andrew
www.willandy.co.uk
can some tell why the below loop stop running after some time.
$start=10;
const run=0;
while($start >run){
//do somthing
}
--
Best Wishes
Andrew Williams
what does time();
$t1 = time();
{
do something
}
$t2 = time();
$end_time = $t2 - $t1;
echo $end_time;
what does $end_time represent?
how do you determine the next 5 mins?
--
Best Wishes
willandy.co.uk
Best All,
How can you best and accurately extract XLM data to DB table. e.g.:
-
20
FRA
Frankfurt
-
28
LSE
London Stock Exchange
-
226
GER
Xetra
www.willandy.co.uk
All,
Please how can you run a timed php script file via window scheduled task. or
how can u execute a php script on a a time interval for instance every
4minutes
--
Best Wishes
Andrew Williams
.
Solution please
On Thu, Apr 2, 2009 at 4:58 PM, Andrew Williams
wrote:
>
>
> On Thu, Apr 2, 2009 at 2:06 PM, Virgilio Quilario <
> virgilio.quila...@gmail.com> wrote:
>
>> > Please how can you run a timed php script file via window scheduled
>> task. or
>&g
t; > how can u execute a php script on a a time interval for instance every
> > 4minutes
>
> hi Andrew,
>
> first schedule a task, locate and select your php.exe, and schedule it
> to run daily for the moment.
> after creating it, you will see it listed on the window.
>
HOW DO YOU CONFIGURE scheduled task to use firefox instead of Internet
Explorer
That is a better idea but the program needs about five minutes to complete.
Would that not be a problem?
On Fri, Apr 3, 2009 at 2:44 PM, Stuart wrote:
> Please include the list when replying.
>
> 2009/4/3 Andrew Williams :
> > interval update
>
> I'm sorry, a
> > What about first stripping out the @ characters with str_replace and
> > then attempting to load the XML? Maybe run it thru a few to do the
> > best possible clean up?
> >
> > Bastien
> >
>
> Found out what I was doing wrong, the problem has nothing to do with the
> XML code, tag attributes are put into the @attributes section, which must
> be accsessed with the attributes() function.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Best Wishes
Andrew Williams
Does any one knows why while loop below ends after few loops when it meant
to keep in loop?
File name: while_loop_script.php
define('run', 0);
define('START', 10);
while(START >run){
$ch = curl_init("mydomain/update_script.php?action=run");
curl_exec($ch);
curl_close($ch);
}
using php.exe to
Rane | Software Engineer | Persistent Systems
> chetan_r...@persistent.co.in | Cell: +91 94033 66714 | Tel: +91 (0832) 30
> 79014
> Innovation in software product design, development and delivery-
> www.persistentsys.com
>
>
>
>
> -Original Message-
> From: Andr
g "& exit" to your command. For instance:
>
> php.exe [YOUR COMMAND ARGS] & exit
>
> Greetings from Germany
>
> Marc
>
> --
> Sync and share your files over the web for free
> http://bithub.net/
>
> My Twitter feed
> http://twitter.com/MarcSteinert
>
>
--
Best Wishes
Andrew Williams
I need to exit php.exe window after completing an assigned task. Does anyone
knows how to close, exit, kill or stop the window
--
willandy.co.uk
memory a script may consume
(128MB)
the above setting should allowed script to execute indefinitely. is't it?
On Mon, Apr 6, 2009 at 11:29 AM, Andrew Williams
wrote:
> The php.ini maximum time is set to -1 which is infinity
>
>
> On Mon, Apr 6, 2009 at 11:27 AM, Chetan Rane >
ction. Effectively all it does is
issue the command WAITFOR DELAY '00:00:10', telling the server to wait
for 10 seconds before allowing the connection to continue.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e lies in the fact
that if it causes the resulting page to take more than 10 seconds to
load, the attacker knows that your page is wide open to SQL injection
as well as knowing that he can execute anything he wants. If you're
running MySQL, this won't work so you should be unaffected. Jus
On Wed, Apr 8, 2009 at 12:05 PM, Michael A. Peters wrote:
> Andrew Ballard wrote:
>
>>>
>>
>> You don't need a disassembler; I already said what that string is
>> intended to do. If it is allowed to run on Microsoft's SQL Server, the
>> hex val
page really is displayed with the right encoding - in FF,
> Ctrl-I.
>
> /Per
>
>
> --
> Per Jessen, Zürich (16.6°C)
A bit off topic, but Ctrl+I no longer brings up the Page Info in
Firefox like it used to -- at least on my Windows computers. (It opens
the bookmark list in the sidebar.) Does it do differently under Linux?
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
reaches the first row that begins with $Auth and stops
returning rows when it finds a value is greater than the pattern.
To evaluate "WHERE LEFT('$Auth', LENGTH('$Auth')) = '$Auth' ", the
server has to calculate a substring of last_name for every row in the
ta
On Thu, Apr 9, 2009 at 1:53 PM, Shawn McKenzie wrote:
> Per Jessen wrote:
>> Andrew Ballard wrote:
>>
>>> A bit off topic, but Ctrl+I no longer brings up the Page Info in
>>> Firefox like it used to -- at least on my Windows computers. (It opens
>>> the
et hit on the other
end with penalties, increased processing fees, or loss of privileges
from his payment processor if they find out that the site is not
securing cardholder information.
You (and your client) should read up on PCI compiance.
http://www.pcicomplianceguide.org/
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ve to do is clear cookies
> and they will see it again but it should work for most people.
Well, there is that ... and if the browser does not accept your
cookie, it will be trapped in an infinte redirection cycle.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;> // Todd
>>
>
> Hi,
>
> Sorry, that didn't work. The website is still returning error 400 with
> CURLOPT_COOKIESESSION and CURLOPT_COOKIE enabled.
>
> I did some experimentation in Firefox by blocking and deleting all cookies
> from the site. When I then visited the site, I was able to reach the logon
> page without returning error 400 so I doubt it's cookies that is the
> problem.
>
> I also tried changing the HTTP headers to:
>
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Connection: Keep-Alive
> Content-Type: text/html; charset=UTF-8
>
> Which didn't work either.
>
>
>
>
> Thanks
>
Does the site require a valid HTTP_REFERER? I haven't seen
CURLOPT_REFERER in any of your examples. (If I missed it somewhere,
just ignore the noise.)
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ssword in open text as part of the query and letting
MySQL calculate the hash. That way the sensitive data has already been
hashed and you don't have to worry about whether the communication
between PHP and MySQL travels over an unencrypted network connection
-- now or in the future.
Andrew
--
o I haven't
> encountered this problem before...but now I have a user who does. I could
> potentially have more users who encounter the same thing, so the easier the
> instructions and the less tinkering, the better. Is there a php.ini setting,
> for instance? What have you found th
701 - 800 of 1549 matches
Mail list logo