one way. It's currently in development for Win32, but it
> would be nice if it works on *nix later on aswell. Got a tip from a user
> in a chatroom to use Ncurses for it, but then I can't use it on win32.
>
> Just to correct myself; it's chr(8) and not 7.
>
> //Si
What would be the PHP expression to change any and all ' to ? in a
variable?
I want to change any and all ' in $_POST[data] to ?
what would be the statement? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you, that works great!
On Thu, 4 Mar 2004, Richard Davey wrote:
> Hello Adam,
>
> Thursday, March 4, 2004, 3:36:06 PM, you wrote:
>
> AW> What would be the PHP expression to change any and all ' to ? in a
> AW> variable?
>
> AW> I want to c
is and if there is a remedy, I'd sure like to know about it. Thanks a lot!!
-Adam Reiswig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is and if there is a remedy, I'd sure like to know about it. Thanks a lot!!
-Adam Reiswig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is and if there is a remedy, I'd sure like to know about it. Thanks a lot!!
-Adam Reiswig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes, my webhost is on Unix. Thanks, that must be it because I sent a
regular email to both address's at the same time and I only received one.
-Adam Reiswig
[EMAIL PROTECTED] wrote:
On 8 Mar 2004 Adam Reiswig wrote:
Normally, the two emails would end up in the same pop account but don
all this so please be patient with me if
none of this makes any sense at all. Let me know if I need to be more
specific with something and I'll do my best. Thanks for any help or
advice in advance. Also if anyone knows of any good articles online
that you could point me to, I'd be most grateful.
-Adam R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To clarify my question, can one class directly call a function or change
a variable of another class or is the main php file the only way to
interact between the two or more classes? Thanks again!!
-Adam R
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
a
> script that is being launched several hundred times an hour.
>
> Ideas?
>
> Ian
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for any idea
--
Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
f(!isset($correct)) {
> $correct = 0;
> } else {
> $correct = $correct++;
> }
>
> Seems like it should work?
>
> Thanks!
> Shane
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
work. It just doesn't
> work, no incrementation of the variable. Is there something in php.ini that
> can prohibit this from working?
>
> Thanks,
> Jake
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; My question is how to I know how/where the pages will break, and how can
> I make the generation of the PDF files work automagically? The first
> page will always have a header set of information, and then the quote
> following it, all other pages will just have the quoted items.
>
because for some reason the $counter++; doesn't work. It just doesn't
> work, no incrementation of the variable. Is there something in php.ini that
> can prohibit this from working?
>
> Thanks,
> Jake
>
> --
> PHP General Mailing List (http://www.php.net/)
> T
ersistent Unlimited Unlimited
> mysql.trace_mode Off Off
>
> Can anyone give me ideas to get this working? I must admit, I'm stumped.
>
> Here's the mysql_error: Can't connect to MySQL server on '192.168.1.44'
>
> >From the webserver error l
So what error prints out when you try and connect from PHP?
On Wed, 2004-03-17 at 15:03, Cameron B. Prince wrote:
> Hi Adam,
>
> > What happens when you try to use the "mysql" client on the
> > web machine, to connect to the production database server?
>
)
>
> Not very helpful huh?
>
> Any ideas?
>
> Cameron
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bhost, $DBuser, $DBpwd)
>or die("Could not connect : " . mysql_error());
>
> mysql_select_db($DBconf)
>or die("Could not select database");
>
>
>
>
> Could not connect : Can't connect to MySQL server on '192.168.1.44' (2
n't write a log by default as best I can tell, but I did find something.
>
> The MySQL on the webserver is: mysql-standard-4.0.16-sun-solaris2.9-sparc
>
> The MySQL on the dbserver is: mysql-3.23.54a-sun-solaris2.8-sparc
>
>
> Do you think the version skew could cau
http://www.php.net/str-replace
On Wed, 2004-03-17 at 15:48, Vernon wrote:
> I want to be able to replace a space that comes from a form field (such as
> in 123 My Street) with a + sign.
>
> Can anyone help me with this?
>
> Thanks
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP Ge
t want that to happen - I want it to remain as
> the original creation timestamp. How do I prevent this from happening?
>
> Thanks,
>
> - Brian
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or her authorized agent, the reader is hereby notified that
> any dissemination, distribution or copying of this e-mail is prohibited. If
> you have received this e-mail in error, please notify the sender by replying
> to this message and delete this e-mail immediately.
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l)
> {
> if (ereg ("^([^[:space:]]+)@(.+)\.(.+)$", $email))
> {
> return TRUE;
> } else {
> return FALSE;
> }
> }
> ?>
> =
>
> open_db.php is just mysql_connect and mysql_select_db, while close_d
Hi, I was wondering if I can get some help with either a str_replace or a
regex. I have some data and it always begins with $$ but it can end with
any letter of the alphabet. so sometimes its $$a and sometimes its $$b
and sometimes $$c all the way to $$z. $$a all the way to $$z needs to
be ch
some times the POST request gets b0rked,
if this is the case, I'm not sure there's much that can be done about
it.
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
f there is,
I would use that instead.
On Thu, 2004-03-18 at 14:38, Chris de Vidal wrote:
> Adam Voigt said:
> > If I ran XP I might be able to do that. From reading the security
> > release my MS, it sounds like some times the POST request gets b0rked,
>
> Yep.
>
>
x27;s possible with
out conflicting with existing css styles and as long as it didn't insert
font tags and tables all over.
Is there a good open source php based cms system out there that can do
the above? I'd sure like to know about it. Thanks for any pointers!
-Adam R.
--
PHP Gener
écrit :
> > Hey, there.
> > I'm a new php student from Brazil, and sorry about my ignorance writing
> > in English.
> > I'd like to know if exists any function in php that identifies a string
> > as a-z, like is_num() to the numbers.
> >
> >
t;
> $test = 22;
>
> The " denotes a string and without quotes it denotes a value
>
>
> HTH,
> Roger
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1, '%W %M %Y') FROM table
>
> How do I know what name mysql_fetch_array assigned to the date_format ?
>
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; to undo the insert!
>
> Any suggestions, I guess I could get the last inserted row id and perform an sql
> delete but is there a more elegant way?
>
> Cheers
>
> Matt
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
m
> http://www.phpcommunity.org/wiki/People/BenRamsey
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, what is the syntax for using ocilogon() to connect to a remote server?
The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the
database is zed.aleph0. Locally on zed I can do
ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server
I try ociogon("user",
es.ora ($ORACLE_HOME/network/admin)
>
> Let's say that you make connection to Oracle using sqlplus:
> User: scott
> pass: tiger
> dbstring: test
>
> this in PHP would be: $conn = OCILogon("scott", "tiger", "test");
>
>
> -William
Hi, I figured out what was wrong, I had php_oci8.dll uncommented in
php.ini but not php_oracle.dll. Fixed that and now I get an ORA-12705
error, which looking on google has something to do with NLS. Going to do
more reading, thanks :)
--
PHP General Mailing List (http://www.php.net/)
To unsu
ce to the class/object itself.
Isn't this like saying outside the class "$myref =& new test;"? What
would be the point of referring to itself inside the class in this
manner? Thanks for your help in advance!
-Adam Reiswig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
itself
inside the class, sort of an object inside an object? I guess my
problem in understanding this is not so much where this sort of coding
should be used but rather what is really going on here. Thanks again!
-Adam Reiswig
Jason Barnett wrote:
It's not the same thing. When an vari
I need to be able to pull a certain page out of a multi-page PDF, and
then be able to save that single page to it's own PDF file.
Anyone know how to do this with free tools?
Thanks.
--
Adam Voigt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
code
and SimpleTest to test your code as it is written. These along with
some XP techniques I read about seem like good practices to follow.
Does anyone have any other ideas/practices that it would be good for a
new oop developer like myself to make a habit it of?
Thanks!!
--
Adam Rei
Hi, I use a piece of proprietary software at work that uses weird session
ID strings in the URL. A sample URL looks like:
http://zed2.mdah.state.ms.us/F/CC8V7H1JF4LNBVP5KARL4KGE8AHIKP1I72JSBG6AYQSMK8YF4Y-01471?func=find-b-0
The weird session ID string changes each time you login. Anyway, how c
Hello All,
I have a simple mail() question, and I hope a hero can shed some
light. I can't understand why my messages are being encoded, and extra
headers are being added, *before* the message is sent through sendmail.
Infinite Thanks,
Adam
Input:
$more test.php
Expected Result:
$p
Hi Manuel,
That was *exactly* the issue. I can't express my gratitude for the
assistance enough
-Adam
Original Message Follows
From: Manuel Lemos <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] Re: simple mail() question
Date: Sat, 13 Nov 2004 19:21:18 -0200
Hell
Hi, I don't know what functions to use so maybe someone can help me out.
I want to grab a URL's source (all the code from a link) and then cut out
a block of text from it, throw it away, and then show the page.
For example, if I have page.html with 3 lines:
hi
this is line a
this is line b
From within the application, I use one page to include
classes/variables and so on. Is there a way (I may have been missing it
in the documentation for PHP, however I didnt see anything related) to
prevent a user from directly accessing/executing *.php by the file
making sure taht it was only i
Thomas Goyne wrote:
On Thu, 13 Jan 2005 16:25:30 -0600, Adam Hubscher
<[EMAIL PROTECTED]> wrote:
1 (the preferred way): user accesses
http://www.example.org/index.php?function=Join, this loads the class
NewUser and begins its implementation. Because of the __autoload, it
in
Warning: socket_connect() expects parameter 3 to be long, string given
in testing.php on line 21
Couldn't Create Socket: Success
It actually spits that across for every socket I'm trying to connect.
I'm doing an online status for multiple servers, which I have tested to
work when I simply do a s
Warning: socket_connect() expects parameter 3 to be long, string given
in testing.php on line 21
Couldn't Create Socket: Success
It actually spits that across for every socket I'm trying to connect.
I'm doing an online status for multiple servers, which I have tested to
work when I simply do a s
Ok, I had made a post earlier but bout 5min later I figured out the
problem (I had spaces and returns that were in the array beside the ports).
The code looks like this:
if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) < 0){
print("Couldn't Create Socket: " .
socket_strerror(socket_last_
Richard Lynch wrote:
Adam Hubscher wrote:
Warning: socket_connect() expects parameter 3 to be long, string given
in testing.php on line 21
Couldn't Create Socket: Success
PHP usually auto-converts data -- However it's possible that this
EXPERIMENTAL function (?) doesn't have the
Andrew Maxwell wrote:
When you submit something, and you want to make sure that the user
inputs all of the info, is there an easier way to do it than this:
if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah]))
{
etc.
}
is there an easy way to check if all of the varibles have data in them?
The code looks like this:
if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) < 0){
print("Couldn't Create Socket: " .
socket_strerror(socket_last_error()). "\n");
}
socket_set_option($sock, SOL_SOCKET,SO_RCVTIMEO, array('sec' => 1,
'usec' => 0));
$output = '';
for($i = 0; $i < count($fil
Jochem Maas wrote:
Adam Hubscher wrote:
The code looks like this:
if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) < 0){
print("Couldn't Create Socket: " .
socket_strerror(socket_last_error()). "\n");
}
socket_set_option($sock, SOL_SOCKET,SO_RCVTIMEO, ar
I have a script that generates, creates, and updates dynamic banner
images for users of a service.
Recently I have run into a problem with file permissions... that has
thoroughly annoyed me. I found a solution to fix the problem, however,
it was then hit with another problem, and I'm not sure
Matt Darby wrote:
I have an array setup as such: *$arr['generated text']='generated number';*
What would be the best way to echo the key in a loop?
Seems pretty easy but I've never attempted...
Thanks all!
Matt Darby
I'm not sure I understand the question.
You could do foreach($arr as $key =
I have a script that generates, creates, and updates dynamic banner
images for users of a service.
Recently I have run into a problem with file permissions... that has
thoroughly annoyed me. I found a solution to fix the problem, however,
it was then hit with another problem, and I'm not sure how
Hi all, new to the list, and a bit of a php cluebie.
I know I'll omit some details that you'll need, so tell me what you need to
know.
I've been happily running mod_php4 (4.4.0) with apache 2.0.52 on FreeBSD 4.9
for quite some time, no problems. Today I tried to install phpBB from
/usr/ports/w
* to debug something
like this?
Thanks for any help.
-- Adam Atlas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've been having a tough time with parsing XML files and special characters.
I have attempted every applicable engine, last try SAX, to attempt at
parsing a (rather large, 17.8mb) xml file.
The problem I hit, is when it hits a UTF8 encoded character. I've
attempted at decoded the file before
tedd wrote:
I've been having a tough time with parsing XML files and special
characters.
-snip-
Any suggestions as to how I could get around this seemingly impossible
road block thats been placed by what seems to be the xml engines :O..
Adam:
I believe that these "special"
Adam Hubscher wrote:
tedd wrote:
I've been having a tough time with parsing XML files and special
characters.
-snip-
Any suggestions as to how I could get around this seemingly
impossible road block thats been placed by what seems to be the xml
engines :O..
Adam:
I believe that
Steve Clay wrote:
Sunday, January 22, 2006, 10:10:54 PM, Adam Hubscher wrote:
ee dee da da da? §ð <-- those that look like html entities are
the represented characters. I was mistaken, they are html entities,
Can you show us a small chunk of this XML that throws errors?
You said you
I have a block of XML that looks as follows:
<*_~_*> Røyken VGS <*_~_*>
Now, if I run that block of XML through htmlentities, I will get the
following:
<*_!_*> Røyken VGS <*_~_*>
XML parsers will return a problem, as there is both an unclosed tag and
an invalid tag, in two places no less
Brian V Bonini wrote:
On Sun, 2006-01-29 at 02:01, Adam Hubscher wrote:
I have a block of XML that looks as follows:
<*_~_*> Røyken VGS <*_~_*>
My question is, can I in any way efficiently (i -stress- efficiently, if
anyone read my previous XML and special characters post
ives of pear-general. I know for sure it
is in the pear-general archives as this question has been asked and
answered many times.
Adam Ashley
signature.asc
Description: This is a digitally signed message part
dickmeiss Tue Jan 30 05:09:27 2001 EDT
Modified files:
/php4/ext/yaz README php_yaz.c
Log:
Fixed problem with looping present requests for Isite targets.
Index: php4/ext/yaz/README
diff -u php4/ext/yaz/README:1.1 php4/ext/yaz/README:1.2
--- php4/
zas wrote:
>Is there any way to do this?? i mean.. test the connection speed of a client
>machine???
--
Adam Knight <[EMAIL PRO
be
parsed by PHP, so you can isolate PDF, plain text, and graphic files as well
as HTML.
--
Adam Knight <[EMAIL PROTECTED]>
AIM: AdamKnight
dickmeiss Tue Feb 13 12:02:53 2001 EDT
Modified files:
/php4/ext/yaz php_yaz.c
Log:
Bug fix: Record retrieval (present) is termiated on error.
Index: php4/ext/yaz/php_yaz.c
diff -u php4/ext/yaz/php_yaz.c:1.9 php4/ext/yaz/php_yaz.c:1.10
--- php4/e
dickmeiss Mon Feb 19 09:06:39 2001 EDT
Modified files:
/php4/ext/yaz php_yaz.c
Log:
Bug fix: number of records in yaz_range wrongly set to zero.
Index: php4/ext/yaz/php_yaz.c
diff -u php4/ext/yaz/php_yaz.c:1.10 php4/ext/yaz/php_yaz.c:1.11
--- php
dickmeiss Tue Feb 20 03:40:36 2001 EDT
Modified files:
/php4/ext/yaz php_yaz.c
Log:
Yet another bug fix regarding present.
Index: php4/ext/yaz/php_yaz.c
diff -u php4/ext/yaz/php_yaz.c:1.11 php4/ext/yaz/php_yaz.c:1.12
--- php4/ext/yaz/php_yaz.c:1.
ged in the upgrade, but I don't have
time to figure out what.
-adam
On Thu, 20 Jun 2002, William John Burns wrote:
> All:
>
> None of the many online user posts in setting up Java connectivity from
> within PHP have worked. RPM or tarball.
>
> Do you know of anyone who has
I am running Apache 2.0.47 with PHP 4.3.3 on a Windows 2000 server, and
I am having some trouble getting cookie-less sessions to work. I've
search around trying to figure out how to get this to work, but most of
what i have found is people going to other way. To be clear, I am
trying to use P
ow if a user browsing a php site in directories with
permission 777 can exploit this).
I am using PHP 3.0.14 (when using PHP4.05 RC1 on a different host I don't
get this problem - but need this working with PHP 3.0.14)
Thanks for any help
Mr. Adam ALLEN.
[EMAIL PROTE
ot;")
$cntmessg =$messages;
for($i=1;$i<=$messages;$i++)
{
if(($error=$pop3_connection->RetrieveMessage($i,&$headers,&$body,-1))=="")
{
for($line=0;$lineClose();
return 1;
}
Yours
Mr. Adam ALLEN.
[EMAIL PROTECTED]
http://w
t projects finsihed, I'm
answering newsgroups ;-)
I'd be interested to hear what others think anyway
Yours
Mr. Adam ALLEN.
[EMAIL PROTECTED]
http://www.dynamicinteraction.co.uk
> -Original Message-
> From: Steven Haryanto [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 19,
hey can go ahead and take
that comment out.
Adam
On Sun, 2013-02-17 at 21:26 -0600, tamouse mailing lists wrote:
> On Sat, Feb 16, 2013 at 2:30 PM, B. Aerts wrote:
> > - the biggest mistake: apparently I commented the fwrite() call to the
> > stream, which explains why he went in time-out ... (in this case, please DO
> > shoot the pianist)
> Nah
Does PHP provide some kind of XML building library? String building XML
is *always* dicey and it is *VERY* easy to introduce encoding problems.
Something at least with an codepage codec would be good. [although it
*should* work, I manipulate WebDAV servers via curl CLI all the time].
In Python a combination of ElementFlow and the codecs module is
perfection. I assume there is a PHP equivalent.
--
Adam Tauno Williams
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
007fa177531767 in ?? ()
#16 0x7fa177531a7a in ?? ()
#17 0x7fa177531dab in ap_mpm_run ()
#18 0x7fa177509900 in main ()
--
System & Network Administrator [ LPI & NCLA ]
<http://www.whitemiceconsulting.com>
OpenGroupware Developer <http://www.opengroupware.us>
Adam
On Mon, 2012-02-20 at 20:02 +0100, Matijn Woudt wrote:
> On Mon, Feb 20, 2012 at 7:21 PM, Adam Tauno Williams
> wrote:
> > php-5.3.3-3.el6_2.6.x86_64
> > 2.6.32-220.4.2.el6.x86_64
> > The PHP session file. Originally I had a tmpfs mounted for the session
> > files
PHP code into doing it
perhaps, but i'd love some elegant PCRE solution that thus-far evades
me :(
Any ideas are appreciated.
-Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Assume that you should accept any string that PHP itself would accept,
though no processing of the actual escapes is required nor desirable.
On Mar 29, 2008, at 8:34 PM, Robert Cummings wrote:
On Sat, 2008-03-29 at 19:16 -0400, Adam Jacob Muller wrote:
Hi,
Have a potentially interesting
Yes, php source code.
On Mar 29, 2008, at 8:54 PM, Robert Cummings wrote:
On Sat, 2008-03-29 at 20:41 -0400, Adam Jacob Muller wrote:
Assume that you should accept any string that PHP itself would
accept,
though no processing of the actual escapes is required nor desirable.
Sorry, I
token_get_all, fantastic!
Thanks.
- Adam
On Mar 29, 2008, at 10:02 PM, Robert Cummings wrote:
On Sat, 2008-03-29 at 21:31 -0400, Adam Jacob Muller wrote:
Yes, php source code.
You will not be able to do this with PCRE. You need something that can
track state because double quotes can
vable, what happens to:
And /root/foo/qxx? Do you select qxx in the default ns? Or not?
-adam
--
[EMAIL PROTECTED] | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!
-
On Mon, 13 Dec 2004, Dan Phiffer wrote:
> Adam Maccabee Trachtenberg wrote:
>
> > This is an XPath FAQ. Without a ns prefix, XPath doesn't choose
> > elements living in the default ns, but ones living in no namespace.
>
> Are there any good references you might p
Diana wrote:
> Hi,
> that sounds really impressive. I'm using Redhat 9 with
> the stuff from their Edition, that means Apache 2 and
> php together. Never had any issues (so far.keep my
> fingers crossed). The server is not under heavy load,
> but it is indeed a "production server". I know it
David Otton wrote:
> On Wed, 13 Aug 2003 10:54:58 +0200, you wrote:
>
> >
> > I want to choose a file at random from a
> > directory which adheres to certain naming scheme.
> > I can't get it to work. It's probably something
> > simple...Here is a relevant snippet:
> >
> >news:pl.soc.seks.
Analysis & Solutions wrote:
> > By that logic, you would think that PHP sucks, because there are plenty of
> > sucky PHP applications. :-)
>
> I've had folks say things along these lines. Considering the number of
> PHP related vulnerabilities showing up in Bugtraq/Security Focus
> newsletter,
Peng Cheng wrote:
> i think the problem is there is a newline between
> the
> " "
> try write them in the same line may be a solution.
Yes, you are right, I noticed it myself
while trying David's solution. Thanks anyway.
--
Seks, seksić, seksolatki... news:pl.soc.seks.moderowana
htt
I want to choose a file at random from a
directory which adheres to certain naming scheme.
I can't get it to work. It's probably something
simple...Here is a relevant snippet:
(the files are all called i??.gif and
located in a directory /images/, which is a
subdirectory of
Chris wrote:
> How can I find a list of PHP functions that are deprecated? Also, how
> can I print to the browser the Notice message that would indicate that a
> function is depricated? Like: Notice: mysql(): This function is
> deprecated; use mysql_query() instead
How about you do a sea
Artoo wrote:
> For example supose the 150th character is the v in the word "privileges" I
> would want to finish displaying the word and end with "privileges" rather
> then ending with"priv"
How about using the SUBSTRING_INDEX function
with delimiter set to ' ' (space). You could sele
Tim wrote:
> i have a string that contains the following:
> $mystring=<< (((TITLE)))
> *color*
> ==
> this is where the content goes
> it can spreed many lines
> ...
> ==
> EOS;
>
> i'm using this line of code to try and get the content between == and ==
>
> preg_match_all("|==(.+)==|",$mystrin
Wouter van Vliet wrote:
> 110 $File = $this->Get($User);
> 111
> 112 foreach($File['Headers'] as $H) header($H);;
> 113 readfile($File['Path']);
Do I see TWO ; here or it's just a typo?
--
Seks, seksić, seksolatki... news:pl.
I want to access a value of an array
by key, but the array is not a variable
- it is a constant.
How do I do it?
I tried
$value = PL_ORT[$key];
, but this doesn't work (parse error)...
I even tried
$value = {PL_ORT[$key]};
--
Sek
"Chris W. Parker" wrote:
> 10. Use htmlentities() on data that will be put through a SQL query to
> prevent XSS attacks. http://php.net/htmlentities
How is it going to interact with MySQL FULLTEXT
search SQL queries, where the characters ">" and "<"
are in use as modifiers?
--
Seks,
There is an array of regexes, for example
$array = array('moon', '[wh]ood', '[^as]eed' ...
(about 300 entries).
I want to sort it comparing to the
character lenght of a regex. For example
[wh]ood is 4 characters, moon is 4 characters.
There are only letters of the alphabet
Eugene Lee wrote:
> On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka Gasiorowski FNORD wrote:
> :
> : There is an array of regexes, for example
> :
> : $array = array('moon', '[wh]ood', '[^as]eed' ...
> : (about 300 entries).
1301 - 1400 of 1428 matches
Mail list logo