On 10/1/2013 12:51 PM, Floyd Resler wrote:
Here's my task: A group of kids is going to be staying with different host
families throughout the next 8 months. The number of kids staying with a host
family can range from 2 to 10. When deciding which kids should stay together
at a host family,
Jim Giner wrote:
Trying to manage line breaks in some output I'm generating and using
strlen to measure the lengths of the strings I'm printing. Discovered
something strange (to me!) in that strlen is returning +1 more than it
should.
The strings are from a query of my database - simple name
MOTS: never take any input on faith.
Jim Giner wrote:
On 7/5/2013 3:02 PM, Stephen wrote:
On 13-07-05 02:50 PM, Jim Giner wrote:
Now the question is - how the heck did I put that in there? Certainly
not intentionally. The data is captured from a d/e screen I wrote and
it simply grabs the
Jim Giner wrote:
On 5/29/2013 5:45 PM, Tedd Sperling wrote:
PS: I think it probably best not to rise to the bait from people who
forgot to turn off their cap's key.
You call it bait? I call it stupidity. Once no, more than once YES.
Why not both?
Cue cute taco shell girl.
--
PHP
On 1/25/2010 1:19 PM, Nathan Rixham wrote:
Parham Doustdar wrote:
Hello there,
A friend called me today and was wondering what happens if the ID colomn of
an MYSQL database, set to autoinc reaches the int limit. Will it return and
begin choosing the ID's that have been deleted, or... what?
On 1/14/2010 7:15 PM, alexus wrote:
What's the best way to extract HTML out of $var?
example of $var
$var = a href=http://http://stackoverflow.com/Stack Overflow/a
I want
$var2 = http://starckoverflow.com/;
example: preg_match();
what else?
Actually what it looks like you want
On 12/22/2009 9:10 PM, Daevid Vincent wrote:
http://thedailywtf.com/Articles/Maybe-I-Needing-Later.aspx
Read this, just loved it. Moral of the story (though some may turn it
racist or otherwise moronic): maybe hiring at the lowest possible bidder
isn't always the best idea.
--
PHP
Unfortunately, it doesn't look like we have a Hebrew mailing list.
-Original Message-
From: LuKreme [mailto:krem...@kreme.com]
Sent: Saturday, September 19, 2009 2:51 PM
To: php-general@lists.php.net
Subject: Re: [PHP] שנה טובה!
On Sep 19, 2009, at 10:09, Dotan Cohen
Is there anything special I have to do to output a mysql date field as
text? When I try to output it nothing appears on the web page.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What sort of function would I need if I wanted to convert those URLs
from plain jane text?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Devendra Jadhav wrote:
No need to do anything special. It should display date as string. Can
you provide little more information or code snippet?
$tweettable .=
preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@',
'a href=$1$1/a',$row[TWEET_TEXT]) . br . Sent at: .
Keith Davis wrote:
But how are you getting the data from the db?
Does $rowqry represent a call using the mysql_fetch_array() function?
mysql_fetch_assoc()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Apache 2.2
PHP 5.2.6 (as a module)
Windows
Relevant parts of php.ini
; Directory in which the loadable extensions (modules) reside.
extension_dir = I:\php\ext
extension=I:\php\ext\php_mssql.dll
extension=I:\php\ext\php_mysql.dll
Note: I did try it with just the name (php_mysql.dll) but it
Daniel Brown wrote:
On Feb 17, 2008 5:37 PM, nihilism machine [EMAIL PROTECTED] wrote:
i am using this code to get the extension of a filename:
$extension = strtolower(strrchr($fileName,.));
how can i get the text BEFORE the . (period)
You can STFW and RTFM. This list should
Børge Holen wrote:
On Monday 18 February 2008 00:10:30 John Meyer wrote:
Daniel Brown wrote:
On Feb 17, 2008 5:37 PM, nihilism machine [EMAIL PROTECTED]
wrote:
i am using this code to get the extension of a filename:
$extension = strtolower(strrchr($fileName,.));
how can
There is a very very important difference. Stealing/theft is a
criminal offence. Copyright infringement is not. For you to be
prosecuted for copyright infringement the injured party must bring a
civil case.
This is a fundamental difference. The reason everyone thinks the terms
theft and
Larry Garfield wrote:
On Wednesday 18 July 2007, tedd wrote:
And just because they do, doesn't make it any less accurate either. I
don't care if Hitler agreed with me, there is a fundamental wrongful
act of taking something that is not yours regardless of what you, and
others, may call it.
On Monday 16 July 2007, Richard Davey wrote:
As a published author I would *rather* people read a PDF of my work,
than not read it at all because they couldn't afford the printed
version. But that is my choice to make, not yours.
I would never be so two-faced as to rant about pirates and
David Powers wrote:
Richard Davey wrote:
First off, I'd like to know where you got that 2,000 number. Closest I
could find was 456 on TPB, and I'm guessing that's 456 people that have
downloaded the torrent. Not necessarily 456 that have completely
downloaded the book.
I didn't post that
tedd wrote:
At 9:26 AM -0500 7/17/07, Larry Garfield wrote:
On Tuesday 17 July 2007, tedd wrote:
Once I have written code or words, the time I have spent on that is
gone. I
will never get that time back, regardless of whether or not I get
paid for it
after the fact.
Ok, then it would be
Richard Lynch wrote:
On Mon, July 16, 2007 7:15 am, tedd wrote:
I have to agree with Col on this one. Books are not shareware,
freeware or open source. They are written for profit and anyone
wanting to pirate the books are stealing, plain and simple. And if
anyone thinks people will buy the
Muhammad Hassan Samee wrote:
ASP.net VS PHP?
how PHP is batter?
Without context that question is meaningless and only serves as troll bait.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
Don't.
Trying to solve a social problem with software hacks never works out
well.
:-)
Taking the emotion out of this, if you wanted to catch any list of words
(the Esperanto dictionary, the words to that last song that got ground
into your head), how would you do
Jochem Maas wrote:
Curt Zirzow wrote:
On 1/20/07, Vinicius C Silva [EMAIL PROTECTED] wrote:
hi everyone!
i'd like to ask something maybe commonly asked here. what is the most
powerful php editor?
So now we have a 4 day thread of discussing nothing but, this is what i
use
let see if
Dear god Arnot, would you like to stand back for a moment and consider
how retarded those statements are, or would you like for me to do it for
you?
Whether you use a powerful IDE or not, you still have to use the same
compiler underneath. In PHP, that compiler is the web server. Unless
you
Edward wrote:
How do I create a php document so that people in my nonprofit can vote
on issues online through the organization's website?
Thanks,
Edward
Start with PHP, add MySQL or your database of choice, mix and prepare.
Serves 500+.
--
PHP General Mailing List (http://www.php.net/)
On a side note, but going on the basis that the users are uploading .xls
files and don't understand how to convert. Would it be better to use
php's routines or to automate excel, convert it inside there, and then
use the result?
Leonard Burton wrote:
On 12/28/06, Jiffy Slides Leonard Burton
I'd pick up a book Web Database Applications with PHP and MySQL,
otherwise known as the Platypus Book, and use that. That will teach you
a lot about logins, sessions, as well as using MySQL and PHP together.
As far as the database name goes, that has nothing to do with the PHP
file name.
Jeff
Darrell Brogdon wrote:
Can you elaborate a little? Do you mean that you want certain letters
to have a numeric representation?
-D
no, what I was meaning was in relationship to each other, whether they
are the same letter or not.
--
PHP General Mailing List (http://www.php.net/)
To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Okay, what I am referring to is cryptograms, where one letter is
substituted for another. I would like to be able to list all the words
in a dictionary that have that arrangement of their letters. Later on,
I would like to be able to do an entire
Is there a way to make a regular expression to match on a particular way
the letters are arranged? For instance, if you had a word:
THAT
It could match on any word in the dictionary that had the form:
1231
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Not to be rude or anything, but if you want to do two things with one
click, wouldn't the javascript list be the place you would want to go?
Mel wrote:
Could someone please help me figure out how to show some description
(where applicable) at the
the ? is a delimiter between the url and the get variables, which are
set by the script itself, either through forms or by scripts.
Thomas Bonham wrote:
Hi All,
I keep seeing the ? mark after many file names index.php?id=234.
So what I would like to know is how do you make them. I have
Adapted something from this list and that worked, thanks for the help.
Richard Lynch wrote:
On Sat, November 4, 2006 10:15 pm, John Meyer wrote:
I'm trying to create this encryption method for puzzles (nothing super
secret, just those cryptograms), but this seems to time out, can
anybody
Modified the script, and that's what I needed, thanks.
Jochem Maas wrote:
$secret = HalloWorld;
$encoded = ;
$a = $b = range(a,z);
shuffle($b);
$c = array_combine($a, $b);
foreach (str_split(strtolower($secret)) as $v)
$encoded .= isset($c[ $v ]) ? $c[ $v ] : $v;
var_dump($c,
I'm trying to create this encryption method for puzzles (nothing super
secret, just those cryptograms), but this seems to time out, can anybody
point out what I'm doing wrong here:
for ($i=1;$i=26;$i++) {
$normalAlphabet[$i] = chr($i);
}
//now, to shuffle
for
I have a script to list the files in a directory:
select name=letters
?php
$open = opendir(.);
while ($file = readdir($open) != false) {
?
option value=?=$file??=$file?/option
?php
}
?
/select
/form
And all I am getting are 1s. I think I'm doing it right, what is
Richard Lynch wrote:
On Tue, August 15, 2006 12:04 pm, John Meyer wrote:
I have a script to list the files in a directory:
select name=letters
?php
$open = opendir(.);
while ($file = readdir($open) != false) {
?
option value=?=$file??=$file?/option
?php
}
?
/select
Richard Lynch wrote:
Do you really mean opendir() or do you mean readdir() ???
readdir().
The point is why do you need to put it as
!==
vs.
!=
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Gd,
BTW, came into this late, have we gotten the old store your images in the
filesystem and save the file name in the database argument yet?
-Original Message-
From: Dave Shariff Yadallee - System Administrator a.k.a. The Root of the
Problem [mailto:[EMAIL PROTECTED]
Sent: Sunday,
Depends on how pugnacious I'm feeling, awscrewit, you go for it.
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 13, 2006 10:41 PM
To: John Meyer
Cc: 'Dave Shariff Yadallee - System Administrator a.k.a. The Root of the
Problem'; '[php] PHP General List
Director, nah. Wait until you are promoted to Dictator of IT. That's where
the real power begins. BWAHAHAHAHAH...cough.
Enough maniacal laughing for now, back to work.
-Original Message-
From: Ligaya Turmelle [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 06, 2006 7:16 PM
To: Jay
John Nichel wrote:
What does $_POST['x'] mean?
What does $ in front of a string of chars without quotes mean?
That does register globals mean?
Is it possible to run php as a cgi script?
When it is necessary to use 'var' in php
code?
I would probably agree that a problem would be better.
|Found this on the PHP web site,
you can add the conversions as the first lines in the functions.
function callDuration($dateTimeBegin,$dateTimeEnd) {
$dif=$dateTimeEnd - $dateTimeBegin;
$hours = floor($dif / 3600);
$temp_remainder = $dif - ($hours * 3600);
$minutes
Renne Rocha wrote:
Hello,
I am using the ADODB class to connect to a MySQL server. I am trying
to generate an ID with the method GenID(), but when I tried this:
$id = $db-GenID('table');
The value of $id is equal to zero. I know that MySQL doesn't use
sequences like PostgreSQL does (I've
Wouldn't this:
$id = mysql_insert_id();
$query = UPDATE tablename SET id= . ($id + 1);
$result = mysql_query($query);
Be a little simpler.
But like I said, I'm confused over the need for this in the first place,
seeing as how an auto_incremented primary key is self-descriptive. or are
you saving
Larry Garfield wrote:
switch is fine if your elseif comparisons are equality based. If they're not
equality based, then they don't map to switch as well.
In other words, if you look at a logical ladder as the roots of the
tree, as long as each root has the same number of forks (say each
Two things:
1. You're not returning anything from the function.
2. You're not even using the function.
[EMAIL PROTECTED] wrote:
I am trying to create a function to clean up variables that are user
inputted from a form. I am not getting this script to work. Can anyone
help.
---Start
Jay Blanchard wrote:
[snip]
JavaScript can't be used for such things, or at least it can't be relied
upon. What if the user has disabled JavaScript? Or what if the user has
specifically disabled the JavaScript behaviour you are relying on?
[/snip]
Egg Zachary. That was why I wanted a PHP
BBC wrote:
Fatal error: call to a member function an o non object in /url/data.php
on line 34
and the syntax is in line 34, so what can I do..?
Could you point out which line is line 34?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
[snip]
I am going to do some thinking (typing) out loud here because I need to
come up with a solution to double-clicking on a form button issue.
[/snip]
Isn't there a javascript method that you could use to accomplish the
same thing? Either that, or on the first click,
tedd wrote:
At 6:26 PM -0400 6/23/06, Tom Ray [Lists] wrote:
I've run into something rather odd with cookies today. I'm working with this
admin section on a site and I'm setting a cookie that is supposed to be good
for one hour. So in the cookie I have time()+3600 and all was well or that was
Steven Osborn wrote:
$odd = array(1,3,5,7,9);
if(inarray(substr($var,strlen($var)-1,1),$od)
{
//haha
}
else
{
//even
}
How about this
if ($var % 2 == 0) { //it's even
} else { //it's odd
}
--
Online library -- http://pueblonative.110mb.com
126 books and counting.
--
PHP General
John Nichel wrote:
Do what I do, and don't do OO. ;)
In other words, do what works, realizing that 99 percent of the time
that you're doing indivdual sites, and ignore dogma? Hmm, what a concept!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Martin Marques wrote:
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form.
When I modify the options, some are in text, others
in textarea, and some are in select options. Now wat I did is make the
current value be the
Robert Cummings wrote:
On Thu, 2006-06-01 at 19:14, Jochem Maas wrote:
Robert Cummings wrote:
Ahh yes, I do like the elegance of prototypes too. They're a different
kind of beast, but a very flexible one.
the more I get in it the pretty it gets - javascript doesn't just give you a
revolver
$sql = INSERT INTO
BOOKS(CopyrightYear,CoverType,DatePurchased,EditionNumber,ISBNNumber,Notes,Pages,Publisher,LOCNumber)
VALUES(\ . $_POST[copyrightyear] . \,\ . $_POST[covertype] .
\,\ . $_POST[datepurchased] . \, . $_POST[editionnumber] .
,\ . $_POST[isbn] . \,\ .
I have the following script:
try {
$conn = mysql_connect(localhost,webuser,testme) or die(Could not
connect);
mysql_select_db(bookcollection,$conn) or die(Could not select
database);
//first, check to see if there is an author
if ($_POST[neworoldauthor] == new) {
$sql =
IG wrote:
John Meyer wrote:
Is there anyway to make PHP normally suppress errors, but a piece of
code that would show errors on a particular page?
Sorry forgot to mention how you show errors on a particular page- you
would use-
ini_set('display_errors', '1');
But are you sure you want
Is there anyway to make PHP normally suppress errors, but a piece of
code that would show errors on a particular page?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Should we really have this arguement about a standard way of writing
the code? This is PHP, an open-source project. Isn't that like asking
existentialists to adopt a uniform code of conduct?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey, is it possible to use the Amazon WSDL within PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Collyer wrote:
John Meyer wrote:
Hey, is it possible to use the Amazon WSDL within PHP?
Lookie what the first google entry for Amazon WSDL php was:
http://www.onlamp.com/pub/a/php/2003/07/03/php_amazon_soap.html
Richard
Nice, now I need to navigate the bloody Amazon web
tedd wrote:
Hi:
Related to my cron problem -- where do you get the path to php? My
phpinfo() says:
http://www.xn--ovg.com/info.php
reports it as:
/usr/lib/php:/usr/local/lib/php
If you're on a linux box, have you tried which php?
--
PHP General Mailing List (http://www.php.net/)
Philip Hallstrom wrote:
[snip]
How do i get a unique max number from a mysql table column?
[/snip]
SELECT MAX(number) FROM table LIMIT 1;
That might not be unique though... I'm wondering if the original poster
is looking for AUTO_INCREMENT (ie. sequences) to ensure a unique id to
use for
Chris Lott wrote:
Thanks for the advice-- I've run Linux without a GUI for a long time,
so I'm quite familiar with hand compilations-- but I always wondered
if I was just missing something with packaging systems that it seemed
to REQUIRE hand-compilation to get a workable development LAMP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Verdon Vaillancourt wrote:
Hi :)
I am using the following function (that I found in the user comments on
php.net manual) for trimming the number of words accepted via a form field
// Truncation is by word limit, not character limit. So if you
Hi, If I have a perl script to rip off the mp3 tag information, can I
have that script then pass them into the PHP file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
David Dorward wrote:
John Meyer wrote:
Hi, If I have a perl script to rip off the mp3 tag information, can I
have that script then pass them into the PHP file?
PHP::Interpreter looks like it will do the job.
http://www.annocpan.org/~GSCHLOSS/PHP-Interpreter-1.0.1/lib/PHP/Interpreter.pm
Stut wrote:
Ok, you're clearly missing my point and while I don't want this to
degrade into the usual pissing contest I do feel I need to clarify
what I was saying.
I completely agree that in this case Javascript should be used to
provide the user with feedback as to how close to the limit
Duncan Hill wrote:
On Wednesday 04 January 2006 16:56, Dave M G wrote:
First, is there a term for these kinds of images, or that kind of
verification system? What would be the best search terms to look for
source scripts?
captcha
I've been looking for this term for a
On Tuesday 27 December 2005 12:45 pm, Jared Williams wrote:
Anyone have any opinions or suggestions on cheap/free load
testing tools for dynamic sites?
Microsoft WAST
http://www.microsoft.com/technet/archive/itsolutions/intranet/downloads/web
stres.mspx
Jared
You violated one of the Ten
On Tuesday 27 December 2005 4:07 pm, James Lumb wrote:
Hi,
Does anyway know whether there is a PHP function which creates a new file?
i know there is fwrite, fopen etc but is there any way of creating a new
file? Thanks,
James
fopen() will create a new file if you open it for writing and it
Do I run it as htmldoc -f pdfmanual.pdf --book in that directory with the HTML
files, or what? And secondly, do I use the multiple pages or the continuous
one page?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 26 December 2005 8:26 am, El Bekko wrote:
Use file_get_contents() I'd say... but you'll have the problem the file
executes :S
Which is why I told him just to treat the php file like a text file (which is
what it really is) and use fopen to grab the file, read its contents into a
Hi, does the PHP document come in a PDF form?
--
Dr. Joseph Dolan: Isn't there a children's book about an elephant named Babar?
Fletch: I don't know. I don't have any.
Dr. Joseph Dolan: No children?
Fletch: No, elephant books.
--
PHP General Mailing List (http://www.php.net/)
To
Or you could retrieve that information prior to inserting the login
information, say, as soon as they type in their login name, store that, then
present it.
From: Jason Davidson [EMAIL PROTECTED]
To: Harlequin [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Retrieve The Last Record
Hello,
Is there a function to determine the difference between two dates? I am
asking so I can do some date verification for COPA.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
For a long time, on all of my mysql pages, I've done something like this
$conn = mysql_connect($server,$username,$password) or die(Could not
connect)
mysql_select_db($db);
I've finally put that into its own script file, moved it to my include
files, and simply included it whereever I needed
does anybody know of a class or a PEAR module to check the status of an AIM
user and see if they are online or offline.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php
How did a Nigerian oil scam e-mail get on this list, anyway?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Code:
$newwidth . x . $newheight
What I want to get out is a string, like 89x115. All I am getting though,
is one number, even though if I do this
$newwidth . x . $newheight
It prints out just fine. What is going on here?
--
PHP General Mailing List (http://www.php.net/)
To
Exactly. But it's only giving me one of the numbers without the space
between the numbers and the x.
-Original Message-
From: Adam Williams [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 3:48 PM
To: Kevin Stone
Cc: John Meyer; [EMAIL PROTECTED]
Subject: Re: [PHP] x
hi,
I have multiple forms on a page that refers to itself on the action. The
only difference is that one has one extra field. The two have every other
name in common. Will this be difficult to handle?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Basically, my question for PHP. Anything in the libraries that can do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I'm generating a 401 header for a few pages, and if they click cancel, I
want to send them to a 401 page. How do I do this? I've tried a header
after those headers, but that just redirects them automatically.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I never do well on tests. Always forget my pencil.
-Original Message-
From: James Johnson [mailto:james;owell.com]
Sent: Monday, November 11, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP] test
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I need to send a post array to another page. How do I do this using CURL?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
First off, I wouldn't go comparing one language to another as better (a
jihad has broken out on another list between Perl and PHP, substituting
belief for anything remotely resembling a civilized and intelligent
discussion), but if you want to convince them about the merits of PHP, look
up the
I'm doing some PHP work, and I've come across the h/1 tag. What, exactly,
is this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Actually, it's a product of Microsoft Frontpage that a client sent me.
-Original Message-
From: John W. Holmes [mailto:holmes072000;charter.net]
Sent: Sunday, November 10, 2002 9:33 PM
To: 'John Meyer'; [EMAIL PROTECTED]
Subject: RE: [PHP] h/1 tag
I'm doing some PHP work, and I've come
for($i=1;$i13;$i++) {
?
lia
href=categoryresult.php?condition=?=urlencode(where
month(UserDOB)= . $i)??=jdmonthname($i,0)?nbsp;(?=$i?)/a/li
?php
}
?
All it's printing out is November
I want to get the top layer to appear right on top of where the other two
are. How do I do this?
div id=More?=$row[UserID]? style=visibility: visible; zIndex:1a
href=javascript:show('Layer?=$row[UserID]?');show('layerhide?=$row[Us
How do I extract only the first eight characters (alpha-numeric) in a string.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
how about this:
$cutstring = substr(preg_replace(\W,,$originalstring),0,8);
-Original Message-
From: Adam Voigt [mailto:adam;cryptocomm.com]
Sent: Thursday, November 07, 2002 8:10 AM
To: John Meyer
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Extracting first eight characters of a string
On a PHP event, does the onLoad event in a document run before or after the
page is parsed, created, and sent to the user?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That's probably the way that you want it to be, if you're inserting the data
into a database. When you retrieve it, you use stripslashes().
-Original Message-
From: Brandon Orther [mailto:orther;webintellects.com]
Sent: Thursday, November 07, 2002 1:16 PM
To: PHP User Group
Subject:
yep, mea culpa, just thinking of MySQL.
-Original Message-
From: Marco Tabini [mailto:marcot;inicode.com]
Sent: Thursday, November 07, 2002 2:25 PM
To: John Meyer
Cc: Brandon Orther; PHP-General
Subject: RE: [PHP] getting changed to \ when pulled from a text
area
That's not necessarily
(isset($_POST[Submit])) is this the way to check a submission image to see
if it's been set?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've got a regexp:
(EV[0-9]{2})!([0-9]{4}-[0-9]{2}-[0-9]{2})!(GR[0-9]{2}).txt
My question is, will it match this:
EV01!2002-11-09!VR01!GR01.txt
And anything formatted like this: (EV02, and so forth).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
1 - 100 of 154 matches
Mail list logo