Hi,
I lost phpmyadmin password. Is there anyway to recover it?
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The message is to webhosting companies,
Israel is killing palestinian children. Some sites are are showing the fotos of
israel's holocoste against palestinians.
Now here is a link that shows to israelis how to fight that too:
http://www.jpost.com/servlet/Satellite?cid=1231167272840&pagename=JPos
Hi all,
I've installed php and mysql in fedora. Now i am able to create php programs.
But when I am unable to use email in my programs. I am wondering what is the
easiest way to use email in my php programs. Can i send email from my personal
computer. I am a regular person connected to internet
ts.php.net
> Date: Thursday, February 5, 2009, 3:19 PM
> 2009/2/5 Thodoris :
> >
> > I think that the OP mentioned the word fedora
> somewhere above...
> >
>
> Oh sorry, I'm so stupid... Anyways, if you want to send
> mail to large
> providers you'll need
Hi,
I am using that right now and i have don't know how to include blank fields.
For example if a user does not fill a field in a form i want to accept it. I
tried the code you posted, for now it is blocking blank fields.
Thank you
- Original Message
From: Richard Lynch &l
Hi,
I need help with a simple script that i made for handling errors. The problem
is that the script displays the same message several times while i want it
displayed just one time.
He is the code:
";
echo $errno. "";
}
}
set_error_handler(error_handler, E_S
Sorry,
i found the error. it was my mistake
- Original Message
From: It Maq <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Tuesday, March 11, 2008 11:38:10 AM
Subject: [PHP] Error handling
Hi,
I need help with a simple script that i made for handling errors. The probl
Hi,
I want to know what is the best solution for handling errors. After reading
some documents dealing with the subject, i have three options:
* Using a class for error handling
* Using PEAR error object
* Using try and catch exceptions
The error handling i want to implement will be done in a bi
Yes you are right i can use trigger_error that will use the function that
handles errors from my class.
Thanks
- Original Message
From: Christoph Boget <[EMAIL PROTECTED]>
To: It Maq <[EMAIL PROTECTED]>
Cc: php-general@lists.php.net
Sent: Wednesday, March 12, 2008 10:31:0
I mean using calling trigger_error from the catch{}
Yes you are right i can use trigger_error that will use the
function that handles errors from my class.
Thanks
- Original Message
From: Christoph Boget <[EMAIL PROTECTED]>
To: It Maq <[EMAIL
Hi,
Now i know how to create errors with trigger_error, but i am wondering how can
I make my error handling class intercept any kind of error although i'm not
aware about it and i don't know if it will happen. Is this possible?
: Richard Heyes <[EMAIL PROTECTED]>
To: It Maq <[EMAIL PROTECTED]>
Cc: php-general@lists.php.net
Sent: Thursday, March 13, 2008 10:36:20 AM
Subject: Re: [PHP] Intercepting errors
> Now i know how to create errors with trigger_error, but i am
> wondering how can I make my error handl
I already read th page of the manual, but i still don't understand a lot of
things. Below you will find a simple code that i ade for understanding more
about this. In the code i'm triggering an error of type "E_USER_ERROR", so now
i'm wondering why it is not cons
sorry i just forgot to print the results. It 's my mistake
- Original Message
From: It Maq <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Thursday, March 13, 2008 11:22:36 AM
Subject: Re: [PHP] Intercepting errors
I already read th page of the manual, but i
);
//trigger_error("The string for testing the error", E_USER_WARNING);
$ourFileName = "testFile.txt";
$fh = fopen($ourFileName, 'X');// or die("Can't open file");
fclose($fh);
?>
____
Hi,
I maid the modifications you suggested. For the error
context when i display it, it gives a lot of
information, but not easy to understand how the array
is structured. If somebody knows about a site
explaining how to access the context it would be
great.
I also modified the error reporting to
For example "mysql_connect" reprted automatically the
error but in the manual
http://us3.php.net/manual/en/function.mysql-connect.php
all they give as information is the return: "Returns
a MySQL link identifier on success, or FALSE on
failure.", where can i see if it throws an
14, péntek keltezéssel 07.40-kor It Maq
> ezt írta:
> > For example "mysql_connect" reprted automatically
> the
> > error but in the manual
> >
>
http://us3.php.net/manual/en/function.mysql-connect.php
> > all they give as information is the return:
&g
Hi,
I am working in page breaking (dividing the result of
a select query in multiple pages).
Now my problem is not with the php code, but with the
algorithm that organize the links to the pages. I want
to do something like google, the pages numbers at the
bottom of the page must not exceed a maxi
Hi,
did you try mysql_num_rows ?
--- Andrew Ballard <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 19, 2008 at 1:04 PM, TG
> <[EMAIL PROTECTED]> wrote:
> >
> > It seems that count(*) pulls all the data from
> the row then performs a count
> > increment
Hi,
i have an associative array and i want to use it as an
ordinary array, is that possible?
what i mean is instead of $arr['fruit'] i want to call
it by its position in the array $arr[
thank you, it works!
--- Casey <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 28, 2008 at 10:33 AM, Daniel Brown
> <[EMAIL PROTECTED]> wrote:
> > On Fri, Mar 28, 2008 at 2:27 PM, It Maq
> <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > &g
Hi,
I am reading an xml file. After that i modify one
node. IN the xml object that i'm handling it is
modified but not in the original file. Can you tell me
how i can make the modification to an xml file or
how to write an xml object to a file?
Than
miter but occurred as data."
I'm wondering if there is a way to avoid this error. The page itself is valid
and fails just in the case the user enters the & character.
Thank you
________
Be a better friend,
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
i'm trying to build a class that sorts a multidimensional array.
I'm using the php function "usort".
I declared the comparision function as a method of my class but i'm unable to
give it as argument to the function usort.
this "usort($this->arr, $this-
It works thanks a lot!
--- On Fri, 5/9/08, Richard Heyes <[EMAIL PROTECTED]> wrote:
> From: Richard Heyes <[EMAIL PROTECTED]>
> Subject: Re: [PHP] usort inside a class
> To: [EMAIL PROTECTED]
> Cc: php-general@lists.php.net
> Date: Friday, May 9, 2008, 8:47 PM
>
me name as
the fields names of table tablename.
Thank you
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Hi,
this statement:
echo nl2br(htmlspecialchars($row['jobdescription'], ENT_QUOTES, 'UTF-8'));
works for php4.3.10 but not for php5.2.5
I am wondering if i am missing something.
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Hi all,
Some months ago i worked with XML. And i remember that i was able to create xml
files quite easily. Now i don`t have the book i used by the time. I made many
searches in google and i don't find something interesting. So i'm wondering if
somebody can give a good link with examples. If i
I am using the same code in my PC, it is working but not in the real
server.
What i am able to do in my pc is writing the archive to the disc. Do you know
if there is a way to create the archive just in memory and let the user
download it without having to store it in the server?
Thank yo
Hi,
Thank you for your answer. Now i figured out how to build the zip archive.
I am using a class that returns the compressed data:
$zipedresult = $zipfile->zipped_file();
This data, i can write it to a file. but i would like to make it downloadable
without having to store it in the server.
Hi,
What do you think is the best php editor for linux.
I'm using the Debian distribution.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I'm using Fedora 8. I installed php, mysql and apache. Now i can run a script
connecting to a database from terminal but not from browser.
Any suggestion?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am working on the code of a former employee and I don't understand what this
$arr['N']['#'] refers to.
I know it is a multidimensional associative array but the # i don't what this
means.
Thank you
--
PHP General Mailing List (http://www.p
, 2008 at 1:00 PM, Richard Lynch
> <[EMAIL PROTECTED]> wrote:
>
> > > -Original Message-
> > > I am working on the code of a former employee and
> I don't understand
> > > what this $arr['N']['#'] refers
> to.
> >
Hi,
is there any predefined function in php that allows to remove an element from
an associative array?
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
below you will find the code for a small script where i'm able to extract a row
but not a column.
So the question is how can I do that.
Here is the code:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know where I can get a better step by step how to for installation of PHP with
DOM,
XSLT, and XPATh support on Red Hat? PHP.NET is not so hot...
/T
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
but probably this self-confidence
could lead us to some troubles later.
Is there a workaround? Without going to the file system to check if the
file still exists? A smart and elegant PHP session way, without any
if-file-exists-checking functions?
P.S. (To the administrators/moderators/whatever of
Hi List,
I'm having a problem sorting the following array:
$product = array($id, $title, $price);
$shop[] = $product;
I want the array 'shop' to be sorted by the 'title' in array 'product'. I
tried the function 'array_multisort()', but that did not do the trick.
Does anyone know how to fix t
Hi all,
Just wanted to know if it's possible to write iptc tags with php, and, if
so, how?
I can read them trough getimagesize().
TIA,
Dirk
Bean IT
T: +31 (0)23 - 5422299
F: +31 (0)23 - 5422728
W: http://www.bean-it.nl
--
PHP General Mailing List (http://www.php.net/)
To unsubs
I have been trying for several days to get PHP 4.x installed on my
Win2003 SP1 server. I am doing the manual (isapi) install. I modified
my php.ini file, I think correctly. And added the extension into
IIS6, pointing to the \php directory and the php4isapi.dll file.
When I try to view a php
Can someone tell me where I can find some detailed instructions on how
to install PHP on a Win2003 Server? I've tried to install it using the
PHP instructions, but it doesn't seem to be working, think I'm missing
something.
Thanks.
No, this is on a IIS6 install, not Apache
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 12:27 PM
To: Grosz, Steve (IPG IT); php-general@lists.php.net
Subject: RE: [PHP] Help installing on Win2003 server?
[snip]
Can someone tell me where I
Yes, I have looked at that info, but am still having a problem.
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 12:39 PM
To: Grosz, Steve (IPG IT); php-general@lists.php.net
Subject: RE: [PHP] Help installing on Win2003 server?
[snip]
No
I get a message in the browser saying it can't find the file, will find
standard .htm or .cfm files, but when I try to browse to a .php file, nothing.
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 1:39 PM
To: php-general@lists.ph
I can see the .htm/.html file just fine. So, what settings should I be
looking at for the problems with PHP?
Steve
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 12, 2005 12:12 AM
To: Grosz, Steve (IPG IT)
Subject: Re: [PHP] Problem installing in
Ok, I thought I had installed PHP correctly on my Win2003 server, using
ISAPI. I added the extension, and mapped it to the php4isapi.dll file,
added a path to my /php folder in Win2003, edited my php.ini file which
I copied to my /windows/system32 folder.
In IIS, I made sure that the
. in local disk?
2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>
> Ok, I thought I had installed PHP correctly on my Win2003 server,
> using ISAPI. I added the extension, and mapped it to the php4isapi.dll
> file, added a path to my /php folder in Win2003, edited
, you wrote:
GSII> Ok, I thought I had installed PHP correctly on my Win2003 server,
GSII> using ISAPI. I added the extension, and mapped it to the
GSII> php4isapi.dll file, added a path to my /php folder in Win2003,
GSII> edited my php.ini file which I copied to my /windows/sys
I guess I'm not sure how to tell if its loading correctly. Can you tell
me how to confirm that it is?
I'm using PHP 4.x as well.
Steve
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 11:00 AM
To: php-general@lists.php.net
Subject
gt;
ISAPI
2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>
> I guess I'm not sure how to tell if its loading correctly. Can you
> tell me how to confirm that it is?
>
> I'm using PHP 4.x as well.
>
> Steve
>
> -Original Message-
> Fro
Ok, I don't think it is loaded. I manually added it, restarted w3svc,
and the status still shows as *unknown*
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 11:10 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error
Ok, now it appears the ISAPI is loaded, I get the green up arrow, but
the priority always shows as 'unknown'.
Still get the 404 errors when trying to view .php pages
Steve
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 11:10
ubject: Re: [PHP] 404 error - why???!!
Hello,
it seems that your ISAPI is ok.
1. with full permission? e.g: execute,write and so on...
2. how about asp file?
2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>
> Ok, now it appears the ISAPI is loaded, I get the green up arro
I appreciate the try, but no, I still get a 404 error. :)
This is killing me!!
-Original Message-
From: Joseph [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 12:34 PM
To: Grosz, Steve (IPG IT)
Cc: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!
Steve, I
In installing PHP4 on Win2003/IIS 6, I have noticed that only 1 dll file
is used on the ISAPI install.
What is the php4ts.dll file used for? And do I need to add it into my
ISAPI area within IIS or just use the php4isapi.dll file...
Steve
I'm afraid it didn't help. I know the php4ts.dll need to be in the
path, and the instructions say that if that file is in the /php
directory, and there is a Path to that directory, all should be fine.
I'm curious if within IIS I use php4isapi.dll for my extension a
│
php.ini-dist │ php.ini-recommended │ php4embed.lib │ php4isapi.dll │ php4ts.dll
│ php4ts.lib │ ├─dlls │ ├─extensions │ ├─mibs │ ├─openssl │ ├─pdf-related │
└─sapi
2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>
> I'm afraid it didn't help. I know the php4ts.dll nee
Does anyone have a step by step, screenshots would be great, of how to
install PHP 4.x on a Win2003 SP1 server?
I've tried going through the install instructions on PHP.net's site for
windows, but its still not working, so I think I'm missing something
somewhere along the way.
Thanks!
Steve
Tjoekbezoer,
I can tell you that it is there, because I manually added it, and it is
set to 'allowed'.
Steve
-Original Message-
From: Tjoekbezoer van Damme [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 3:52 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 e
I pretty sure that it isn't checked, but I'll double check
againanything else? I can't imagine that it should be this
difficult to get PHP running.
Steve
-Original Message-
From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 14, 2005 7:09 AM
Is setting up PHP easier on Windows 2000 server rather than Win2003?
I'm having nothing but problems getting PHP files to show up in IE on
the Win2003 server, I get nothing but 404 - file not found errors.
Hi,
I want to know the dimensions (width, height) of an mpeg / avi / mov file...
does anyone know how I can arrange that with PHP or possibly via a UNIX
command string?
Greets,
Edward
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
ssing about, seeding the randomizer,
etc., but you get the idea.
>
> Miles Thompson
>
>
> On Sunday 27 January 2002 03:00 pm, Tauntz wrote:
> > If I have n variables:
> > $nr1 = "some text";
> > $nr2 = "some other text"
> > $nr3
> >
9:57 AM
Subject: Re: [PHP] Back button to Query Pages
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> * and then phantom blurted
> > Page 1 is a list of people's names (queried by State).
> >
> > Page 2 is each person's profile.
> >
>
the moment I hit the send button I realised it myself too :-)
but this is a pretty good alternative...
Edward
- Original Message -
From: "Nick Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 10:15 AM
Subject: Re: [PHP] Back
Hi,
I've asked this question before, but no answer... so here it is again:
does anyone now how I can get the dimensions (width, height) of an mpeg
file? maybe via a unix command... (because in the PHP manual, I can't find
anything about it, and I'm not that much of a unix-guru
try something like this:
check 1
check 2
check 3
check 4
check 5
that should do it...
Edward
- Original Message -
From: "Scott Saraniero" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 3:17 PM
Subject: [PHP] Sending Form Array
maybe you can try something like this...
$r1 = "game1"
$r2 = "game16";
echo "";
echo "$teams[$r1]";
echo "$teams[$r2]";
echo "";
Greets,
Edward
> I keep getting parse error with this code:
> ($teams[] is a big array that I got by using mysql_fetch_array)
>
>
>$r = "game";
>
including a file is nothing more then placing the text of the include file
at the place you called "include()" so I think there's no reason why it
should be quicker or slower...
Edward
Hi, is create function slow? Or has it a very significant slowdown compared
to an include
I recommend sending yourself a mail with an attachment and check the
sourcecode of the received mail... together with base64encode() you should
be able to do the job...
Edward
- Original Message -
From: "Rafael Perazzo B Mota" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday,
and if you want to write it to a file directly then do something like:
exec('ftpusers > filename.txt');
Greets,
Edward
> Take a look at
>
> exec()
> passthru()
> system()
>
> Keep in mind that the webserver usally runs as User nobody or an
equivilant
&
to reverse the procedure, else it wouldn't be safe...
Greets,
Edward
"Jose" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
>
> I'm making a proyect in php, and I have some doubts about the md5.
> I encript a password with it, but
huh?
well, use md5()...
if you want a password that can be decrypted too, I'm afraid you have to
write you're own encryption / decryption algoritm... maybe you can use
base64encode() (don't know for sure)... but in both cases, if someone
guesses your used encoding algoritm, you have a problem...
uot;>news:[EMAIL PROTECTED]...
> from the PHP manual
> [flush()]
> ...Even the browser may buffer its input before displaying it. Netscape,
for
> example, buffers text until it receives an end-of-line or the beginning of
a
> tag, and it won't render tables until the tag of th
hi,
is there a simple way to replace an occurence of a string, into another,
maintaing capital positions...
Like:
$str = "This equals this equals tHis";
and I wanna replace all occurences of "this" in "that", that the result will
be:
$str = "That equals that equals That";
Edward
--
PHP Ge
that is not what I meant... I want the cases to remain...
- Original Message -
From: "Rick Emery" <[EMAIL PROTECTED]>
To: "'Edward van Bilderbeek - Bean IT'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002
Oh, that was a typo... sorry...
it should be:
"This equals this equals tHis" -> "That equals that equals tHat"
Edward
- Original Message -
From: "Jeff Sheltren" <[EMAIL PROTECTED]>
To: "Edward van Bilderbeek - Bean IT" <[EMAIL PROT
hmm, that's not what i wanted to hear :-)))
e.g. try doing that for the word: transparancy looots of different
possibilities then...
Edward
- Original Message -
From: "Jeff Sheltren" <[EMAIL PROTECTED]>
To: "Edward van Bilderbeek - Bean IT&quo
Maybe I better ask my question different...
what i want to do is, to highlight certain text in a string...
for example: "This equals this equals tHis..." has to become:
"This equals this equals tHis"... so dispite the case,
the 's should be put around it...
does that m
Wow, thanks a lot...
although it should be \\0 here...
didn't see anything in the manual about the \\ maybe gotta look for it again
:-)
Thanks,
Edward
- Original Message -
From: "Richard Crawford" <[EMAIL PROTECTED]>
To: "Edward van Bilderbeek - Bean
From: "Mike Eheler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 10:01 PM
Subject: [PHP] Re: Email Attachment
> That's because it's not a specific feature of mail sending/php's mail
> features.
>
> Instead you should look
2002 6:41 PM
Subject: Re: [PHP] Adding 6 digits to a str?
> Why is it that you want to represent an int with leading 0's? Is it just
> to print it out that way? If that is the case, then you can use the
printf
> function for formatted printing.
>
>
> Jeff
>
> At 1
i think it is the strtotime() function that gives the trouble... why don't
you try mktime() ?
> sounds like it might have something to do with leap year.
>
> Jim Lucas
> - Original Message -
> From: "toni baker" <[EMAIL PROTECTED]>
> To: <[EMA
shouldn't it be:
uksort($array_array,"cmp");
Greets,
Edward
- Original Message -
From: "Sondra Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 5:52 AM
Subject: [PHP] uksort wisdom
> Hi Guys!
>
>
array variable called glacier. Now I am
> checking for the content
> of this array. Because there are more of those arrays, I am getting all
the
> names out of a db.
>
> How is it possible to get the value and keep the name of the array
dynamic?
>
> e.g:
> Array na
check out: setlocale()
Greets,
Edward
- Original Message -
From: "Nicolas Llamosas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 4:13 PM
Subject: [PHP] Change of Language
> How can in change the language in my site? (spanish)
> for example using the fun
$array_foo = explode(",", $foo);
for ($i=0; $i
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 06, 2002 1:54 PM
Subject: [PHP] Create Mysql Records From a Comma separated Values String
>
> Hi to everyone
>
> i have the following problem
>
> i have a string $foo which contains (n variable) co
I don't know if this is the best way but:
$str = "This is or was a test for short words";
while (ereg(" [a-z]{1,3} ", $str)) {
$str = eregi_replace(" [a-z]{1,3} ", " ", $str);
}
print $str;
this replaces all occurences of a space followed by 1,2 or 3 alphabetic
characters followed by a space.
})[a-z']{1,3}([ ]{1}|[,]{1}|[.]{1}
|[:]{1})", "\\2", $str);
}
Greets,
Edward
print $str;
- Original Message -
From: "Edward van Bilderbeek - Bean IT" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Michael Kimsal" <[EMAIL PRO
after some puzzling I came to this:
$str = "One as a start. This is or was a test for short words, although an,
should be deleted to.";
$str = preg_replace(array("/\b[A-Za-z']{1,3}\b/",
"/[ ]{1}([ ]{1}|[,]{1}|[.]{1}|[:]{1})/"), array("", "\\1"), $str);
print $str;
which means:
first: replac
day, February 08, 2002 7:38 PM
Subject: [PHP] Syntax ???
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello all again,
>
> Here is my line in my script:
> $ynumber = mysql_query("SELECT COUNT(*) FROM responses WHERE
> response=y");
>
> But it returns a blank or
or:
SELECT LEFT(date, 7) as YearAndMonth FROM table;
Edward
- Original Message -
From: "val petruchek" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Saturday, February 09, 2002 2:28 PM
Subject: Re: [PHP] One more quickie
> > Don?t really want to bother you with these quick
don't know if there is some "date_diff" -like function, but you can do it
this way:
$now = getdate();
$nw_year = $now["year"];
$nw_month = $now["mon"];
$nw_day = $now["mday"];
$chk_date = "09/02/1977";
list ($chk_day, $chk_month, $chk
it was last week though...
guesss you mean 29th?
Edward
"LaserJetter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Using the code below:
>
> $buffer['Last_access'] = 1013336429;
> $date = date("H:
just put the lines in an array, each array element contains a line... and
then just print the specified array elements...
Edward
- Original Message -
From: "John Gurley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 13, 2002 12:55 PM
Subject: [PHP] printing files
another variable with an array which value is
set
> inside the function.
>
> How can I pass this html thing and ensure that the variable is gonna be
set?
> Take a look at the code underneath.
> Like that it is just printing out $picture_id[$i]
>
> $icon_1 = "onclick=\
ink that may be the
escape
> of | character.
>
> Note: I'm looking for a | in the string. Then i need escape the |
>
> Any idea for fix it?
>
>
>
> Thanks
> German Castro
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscri
1 - 100 of 131 matches
Mail list logo