VamVan wrote:
Hello All,
For example I have these email addressess -
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
What would be my PHP function[Regular expression[ to that can give me some
thing like
yahoo.com
hotmail.com
gmail.com
Thanks
Or if you know that the address is
Tyson Vanover wrote:
I need a quick way to make sure that a string is a single word with no
white spaces. I would prefer that it is a command that could fit on a
single line. Or at least an if block.
I have a few thoughts on this but it involves things like explode(),
stripslashes(), etc.
Shawn McKenzie wrote:
Tyson Vanover wrote:
I need a quick way to make sure that a string is a single word with no
white spaces. I would prefer that it is a command that could fit on a
single line. Or at least an if block.
I have a few thoughts on this but it involves things like explode
Stut wrote:
On 3 Jun 2008, at 18:35, Yui Hiroaki wrote:
Sorry I still have a problem.
Let's take a step back. What are you *actually* trying to do. I'm
assuming it's not just printing out Hello and Good. What is the real
problem you're trying to solve and what are the constraints that are
Boyd, Todd M. wrote:
-Original Message-
From: blackwater dev [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 01, 2008 9:26 PM
To: Shawn McKenzie
Cc: php-general@lists.php.net
Subject: Re: [PHP] saving outside website content via php...
Yes, but file_get_contents will get me the code which
Gabriel Sosa wrote:
why no just save the searhed url in a db field. next time you just
need call the iframe with the last or N search
anyway if you still want to save all the searched page try using curl
http://ar.php.net/manual/en/function.curl-exec.php
saludos
On Sat, May 31, 2008 at 8:11
Per Jessen wrote:
Iñigo Medina García wrote:
Hi Per,
yep, it's true, playing with mime it can be sent as attachment, but I
don't want that but embed.
iñigo
OK, then you need to revisit what Bastien said. However, instead of
img referring to an external image, you need to use
Per Jessen wrote:
Bastien Koert wrote:
You'll need to create a HTML email, and then embed the image with the
img tag, using the entire path to the image as the source attribute
Not necessarily, images may simply be sent as an attachment with
type image/jpeg etc.
/Per Jessen, Zürich
I
Eric Butera wrote:
On Mon, May 19, 2008 at 11:06 AM, Aschwin Wesselius
[EMAIL PROTECTED] wrote:
Hello list,
Is there anyone having experience with finding dead code in their library
/ application?
Dead code as in unused variables, uncalled methods, uncalled functions,
undeclared classes etc.
Stut wrote:
On 12 May 2008, at 09:39, Peter Ford wrote:
tedd wrote:
Hi gang:
This is what I did this morning:
http://webbytedd.com/bb/tribute/
It speaks for itself.
Cheers,
tedd
tedd,
Nothing to do with the subject matter, but I noticed because it is one
of your more simple pages: I get a
Dan Joseph wrote:
On Tue, May 13, 2008 at 12:02 PM, Usamah al-Amin [EMAIL PROTECTED]
wrote:
if(chop($comments) == ) { ... } //hope that helps.
Well, chop() is an alias of rtrim(), so it won't work here for, say,
trimming control characters at the end of the string like line feeds.
trim()
Rahul P wrote:
Ok I removed mysql using yum remove mysql. But is there a special way to
tell yum to install that version of mysql?
On Sun, May 11, 2008 at 12:44 AM, Rahul P [EMAIL PROTECTED] wrote:
On Sun, May 11, 2008 at 12:42 AM, Nathan Nobbe [EMAIL PROTECTED]
wrote:
On Sun, May 11, 2008
Al wrote:
I ended up using posix_access() which is what is_writeable() should be.
is_writeable() is virtually useless.
Al wrote:
I need to determine if a file is truly deletable by a php script,
Deleting permissions seem to be the same as writing, they probably
have the same criteria.
Merca, Ansta Ltd wrote:
Hi
Anyone dd/mm/ as a date variable? strtotime - works fine with
mm/dd/ but now with dd/mm/. (PHP 4.x)
setlocale()
and then...
http://pt.php.net/manual/en/function.strftime.php
-Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
André Medeiros wrote:
Shawn,
I think the idea here was to get a timestamp from a date in that
format he was telling about.
After replying however, I noticed that strptime is only implemented in
PHP5. Sorry about that mate.
On Fri, May 9, 2008 at 2:36 PM, Shawn McKenzie [EMAIL PROTECTED] wrote
Shawn McKenzie wrote:
André Medeiros wrote:
Shawn,
I think the idea here was to get a timestamp from a date in that
format he was telling about.
After replying however, I noticed that strptime is only implemented in
PHP5. Sorry about that mate.
On Fri, May 9, 2008 at 2:36 PM, Shawn McKenzie
André Medeiros wrote:
Yeah, that would be the way to do it ;)
On Fri, May 9, 2008 at 3:54 PM, Shawn McKenzie [EMAIL PROTECTED] wrote:
Shawn McKenzie wrote:
André Medeiros wrote:
Shawn,
I think the idea here was to get a timestamp from a date in that
format he was telling about.
After
Michael Satterwhite wrote:
I'm trying to turn off magic quotes for a site. I've copied the php.ini
from /etc/php5/apache2 to the web site directory. In this file, I've changed
magic_quotes_gpc to read
magic_quotes.gpc = Off
When I run phpinfo() from this directory, it still shows
revDAVE wrote:
Newbie - is there a function similar to the sql 'like' comparison operator?
I would like to be able to compare 2 strings:
If $this ---*like or similar to*--- $that
That type of thing...
I know of this page:
http://us3.php.net/manual/sl/language.operators.comparison.php
But
Ryan S wrote:
clip
preg_match_all('|p[^]*(.*)/p|Ui', $myText, $myArray);
/clip
Hey!
Thanks for replying.
Your preg_match_all works like a charm, but for some reason catches only 8 out
of 9 paragraphs... its really weird. I have upped the test page to
Ryan S wrote:
clip
To say I suck at regex is an understatement so really need any help I can get on this, I have a page of text
with different html tags in them, but each block of text has a p or a
class=something tag... anybody have any regex that will catch each of these paragraphs and
Philip Thompson wrote:
Hi all. I have several classes. Within each class, a new class is
called. Is there a way to assign a function in a *deeper* class to be
called in the first class? Example to follow..
?php
class A {
function __construct () {
$this-b = new B ();
//
Craige Leeder wrote:
On Fri, May 2, 2008 at 7:27 PM, Shawn McKenzie [EMAIL PROTECTED] wrote:
Why are you using OOP? That's insane.
-Shawn
I believe that's a matter of opinion. Some people like OOP, others
don't. Why criticize the man because he likes to use it? I like to use
Shawn McKenzie wrote:
Craige Leeder wrote:
On Fri, May 2, 2008 at 7:27 PM, Shawn McKenzie [EMAIL PROTECTED]
wrote:
Why are you using OOP? That's insane.
-Shawn
I believe that's a matter of opinion. Some people like OOP, others
don't. Why criticize the man because he likes
Yehudi Alexis Garrett wrote:
I'm using a php script which performs three xml queries to other three
servers to retrieve a set of ids and after I do a query to mysql of the
kind
SELECT * FROM table WHERE id IN ('set of ids');
Although I'm sure the connection to the database is ok, I sometimes
Adam Gerson wrote:
Where do I change the setting to print PHP errors to the screen when
running in a web browser?
Thanks,
Adam
php.ini, display_errors
-shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adam Gerson wrote:
Where do I change the setting to print PHP errors to the screen when
running in a web browser?
Thanks,
Adam
Or in your script use ini_set()
-shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Joe Harman wrote:
Hey y'all ... i am having alittle trouble with this regex for finding
ALT tags for images...
Here is my statement
Joe Harman wrote:
I have some data that I pull from a database that is in the following format:
-
Gauge Style: Auto Meter Pro-Comp
Tachometer Usage: Standard
Gauge Series: Analog
Gauge Range: 0-11,000 rpm
Gauge Diameter (in): 5 in.
Acct.yussuf Jimmy wrote:
Dear,
I am yussuf Jimmy,from Togo Republique.I will be very glad if you do assist me
to download the sum of ( USD$15.8Million)into your bank account. I got your
contact through a Global Network and i decided to communicate with you in a
good manner.
I will
Jason Pruim wrote:
On Apr 28, 2008, at 3:47 PM, Richard Lynch wrote:
On Fri, April 25, 2008 3:44 pm, Brian Dunning wrote:
Is there any way for PHP to know that this email is not going through?
You could, perhaps, hack your MTA to notify something somewhere that
PHP can check...
But it's
Brian Dunning wrote:
Is there any way for PHP to know that this email is not going through?
On Apr 25, 2008, at 1:21 PM, Eric Butera wrote:
Apr 24 17:03:34 MacBrian postfix/error[10699]: F19D21287847:
to=[EMAIL PROTECTED], relay=none, delay=4470, delays=4440/30/0/0,
dsn=4.4.1, status=deferred
Shawn McKenzie wrote:
Brian Dunning wrote:
Is there any way for PHP to know that this email is not going through?
On Apr 25, 2008, at 1:21 PM, Eric Butera wrote:
Apr 24 17:03:34 MacBrian postfix/error[10699]: F19D21287847:
to=[EMAIL PROTECTED], relay=none, delay=4470, delays=4440/30/0/0,
dsn
Shawn McKenzie wrote:
Brian Dunning wrote:
Is there any way for PHP to know that this email is not going through?
On Apr 25, 2008, at 1:21 PM, Eric Butera wrote:
Apr 24 17:03:34 MacBrian postfix/error[10699]: F19D21287847:
to=[EMAIL PROTECTED], relay=none, delay=4470, delays=4440/30/0/0,
dsn
paragasu wrote:
i have seen many php code. i learn php on my own, and during early days with
php,
i download many open source php project and try to learn the coding on my
own.
i did see many code (ugly, spaghetti code etc). Some even take me few
hours to figure out
how it works.
But one
paragasu wrote:
i have seen many php code. i learn php on my own, and during early days with
php,
i download many open source php project and try to learn the coding on my
own.
i did see many code (ugly, spaghetti code etc). Some even take me few
hours to figure out
how it works.
But one
Robert Cummings wrote:
On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote:
Tony Marston wrote:
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
You haven't answered the question. Where can this piece of wizardry be
downloaded so that it can be reviewed
Ken Kixmoeller wrote:
Hi - - - - --
I have a typical setup -- my development machine, a testing server and,
of course, the production server. My development machine, of course,
doesn't have a Secure certificate, yet I need to be able to test https
pages here, before getting to the
Robert Cummings wrote:
On Wed, 2008-04-23 at 16:50 -0500, Shawn McKenzie wrote:
Robert Cummings wrote:
On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote:
Tony Marston wrote:
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip
Ken Kixmoeller.com wrote:
On Apr 23, 2008, at 4:53 PM, Shawn McKenzie wrote:
Ken Kixmoeller wrote:
I know how to test for the existance of HTTPS, and stuff like that.
So: Can one test https on a local machine? Resources, anyone? I have
Googled my fingers off.
Why not just generate a free
Tony Marston wrote:
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
But can you create a database table, then generate the PHP scripts which
generate the HTML and SQL which allow an online user to read, write,
update
and delete records from this table without
Tony Marston wrote:
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
You haven't answered the question. Where can this piece of wizardry be
downloaded so that it can be reviewed by your peers?
[/snip]
It is not available for download
So your claims cannot be
Lee Perry wrote:
Hi, I need pdo_msql and GD2 extension support in my php environment, but
as I am sure you are aware the default build that comes with leopard on
the mac is lacking these extensions. what I need is a way to either
install them or if I really have to compile php with these
Simon Welsh wrote:
On 19/04/2008, at 2:31, Eric Butera wrote:
On Fri, Apr 18, 2008 at 8:10 PM, Lee Perry [EMAIL PROTECTED] wrote:
Hi, I need pdo_msql and GD2 extension support in my php environment,
but as
I am sure you are aware the default build that comes with leopard on
the mac
is
Steve Marquez wrote:
Greetings,
Can any of you point me in the right direction on how to use PHP to create a
most viewed or most clicked articles list? Can it be done with PHP?
Thank you so much,
Steve Marquez
[EMAIL PROTECTED]
Short answer, yes.
The right direction would be something like
ALarry Garfield wrote:
On Tuesday 15 April 2008, Daevid Vincent wrote:
I've had at least three job interviews in the past two weeks, and each one
has asked me this rather text book academic question regarding the
difference between abstract vs. interface. I've been coding for nearly
20 years,
hce wrote:
Hi,
I post following message days ago, but could not see it on the list.
Sorry if it is duplicated.
I've installed php5 in debian, but got following problems:
1. I could not find a proper debian package for pecl, search pecl found:
dh-make-php - Creates Debian source packages for
Paul van Brouwershaven wrote:
Have you seen the Google App Engine already, the guys from Google are
crazy! You now can host your application on the Google network,
including Big Table and GFS!
Ok, one problem... they currently only support Python for programming,
but the good news is that
Thiago Pojda wrote:
Tina,
Is there any error message in php logs?
Can you reproduce manually what you're trying to do with PHP? I mean,
connect and put that file.
Enable E_ALL in PHP and try again.
I'm copying PHP-GENERAL mailing list as this is not related to PHP-INSTALL
issues.
Dan wrote:
That would be a pretty interesting app to make. If you actually
followed Osborn's Brainstorming technique then you should be able to
develop a pretty cool real-time think tank where developers work in a
sort of chat room but with a place to post common code, with markup,
share a
Shawn McKenzie wrote:
Dan wrote:
That would be a pretty interesting app to make. If you actually
followed Osborn's Brainstorming technique then you should be able to
develop a pretty cool real-time think tank where developers work in a
sort of chat room but with a place to post common code
Manuel Lemos wrote:
Hello,
Google App Engine was launched but it does not support PHP. This article
presents some ideas that can help Google adding PHP support sooner
rather than later.
http://www.phpclasses.org/blog/post/77-Google-App-Engine-needs-PHP-support.html
-1 Redundant :-)
--
PHP
Maybe slightly off, but this is a general PHP question :-)
I'm not a professional developer, just hobbyist at PHP. As now, when I
want to learn something new such as a new framework, it's beneficial to
build a PHP application in my free time as a learning exercise.
Sometimes the learning is
Jay Blanchard wrote:
[snip]
So to my question: does anyone know of a site or forum where people
request apps or sites to be built and then it can be voted on to track
the people that are interested? I'm not talking about sites where
people post paid development requests. Something open and
Daniel Brown wrote:
On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie [EMAIL PROTECTED] wrote:
Maybe slightly off, but this is a general PHP question :-)
[snip!]
So to my question: does anyone know of a site or forum where people request
apps or sites to be built and then it can be voted
Daniel Brown wrote:
On Wed, Apr 9, 2008 at 4:36 PM, Shawn McKenzie [EMAIL PROTECTED] wrote:
Daniel Brown wrote:
On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie [EMAIL PROTECTED]
wrote:
Maybe slightly off, but this is a general PHP question :-)
[snip!]
So to my question: does anyone
Andrew Ballard wrote:
On Wed, Apr 9, 2008 at 4:51 PM, Shawn McKenzie [EMAIL PROTECTED] wrote:
Daniel Brown wrote:
On Wed, Apr 9, 2008 at 4:36 PM, Shawn McKenzie [EMAIL PROTECTED]
wrote:
Daniel Brown wrote:
On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie [EMAIL PROTECTED]
wrote:
Maybe
Nathan Nobbe wrote:
On Thu, Apr 3, 2008 at 10:41 AM, David Jourard [EMAIL PROTECTED]
wrote:
Nathan Nobbe wrote:
how much code is there ?
200 lines
i think ur safe posting that on the list directly. sometimes people post
several thousand lines and those sort of things are
[EMAIL PROTECTED] wrote:
Shawn McKenzie wrote:
Paul Scott wrote:
On Thu, 2008-03-27 at 10:32 -0400, Wolf wrote:
I'd suggest going with a real operating system (linux) which keeps patches
updated quicker...
As much of a Free Software advocate as I am
Paul Scott wrote:
On Thu, 2008-03-27 at 10:32 -0400, Wolf wrote:
I'd suggest going with a real operating system (linux) which keeps patches
updated quicker...
As much of a Free Software advocate as I am, that is not the answer to
the question. That being said, however, I would replace the
Bastien Koert wrote:
On Thu, Mar 27, 2008 at 9:40 AM, Rod Clay [EMAIL PROTECTED] wrote:
Hello. Does anyone use a WAMP server? And, if so, have you found one
to be better than another?
I am using a WAMP server entitled, aptly enough, WampServer (formerly
WAMP5). In the few weeks I have
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all variable assignments.
Philip Thompson wrote:
On Mar 26, 2008, at 6:28 PM, Al wrote:
Depends on the server and it's load. I've strung together some
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all variable assignments.
Philip Thompson wrote:
On Mar 26, 2008, at 6:28 PM, Al
Shawn McKenzie wrote:
Jason Pruim wrote:
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote:
Al wrote:
Good point. I usually do use the single quotes, just happened to key
doubles for the email.
Actually, it's good idea for all variable assignments.
Philip Thompson wrote:
On Mar 26
Al wrote:
I'm scripting a simple registry where the user can input their name and
email address.
I'd like to do a quick validity check on the email address they just
inputted. I can check the syntax, etc. but want check if the address
exists. I realize that servers can take a long time to
Mark Weaver wrote:
Andrew Ballard wrote:
On Sat, Mar 22, 2008 at 11:13 AM, Mark Weaver [EMAIL PROTECTED]
wrote:
Hi all,
I'm wondering if anyone else happens to be using Mozilla Thunderbird
and
seeing this behavior, and also if this behavior is a feature or a bug.
When I hit the reply
Mark Weaver wrote:
Hi all,
I'm wondering if anyone else happens to be using Mozilla Thunderbird and
seeing this behavior, and also if this behavior is a feature or a bug.
When I hit the reply button to respond to a message most of the time the
actual sender's address is the one the
George J wrote:
Thiago Pojda [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
De: George J [mailto:[EMAIL PROTECTED]
So calling the script via the form works i.e it passes the
neccessary variables to constrct the sql query for the next
call.
As Shawn said, if you really need the
George J wrote:
Hi Daniel,
WHOA! Passing the SQL query via a URL is a Very Bad Idea[tm]!
As a newbie I just have to ask why. I suspect you're going to say it gives
the table and field names used in my database. I'm not really aware of all
the possible avenues that this method might
Ray Hauge wrote:
I've been reading up on some of the parts of PHP that has been suggested
could be improved so that I could be more well informed. One of the
more interesting (for lack of a better word) suggestions is closures.
I've used closures primarily in JavaScript, and they are handy
Why is Jason schreefing again?
Jochem Maas wrote:
Jason Pruim schreef:
On Mar 18, 2008, at 3:20 PM, Jochem Maas wrote:
what started out as a simple little reply bloated out into an
inpromptu brain
fart ... lots of bla .. enjoy :-)
Jason Pruim schreef:
Hi everyone,
I am attempting to
UsDonn Ingle wrote:
Hi,
I have been trying to get a little templating thing going and I want
everything to pass through a single index.php file which then decides what
page is wanted and includes them.
The scheme is to go to a url like [http://localhost/~donn/blah/] which
serves index.php
Daniel Brown wrote:
On Sun, Mar 16, 2008 at 4:18 PM, Casey [EMAIL PROTECTED] wrote:
Hi list!
__halt_compiler(). Does anyone use it?
I've used it obsessively in my past two projects to store data
(specifically CSV) in the PHP files. These two projects consisted of
only one file, and I
Donn Ingle wrote:
Shawn McKenzie wrote:
Use /index.php instead of index.php maybe...
I assume you meant in the a tag. I tried that and the URL (when you
mouse-over the link) becomes [http://localhost/index.php] which is not
anywhere near where the files live.
I must say I am rather
good_times wrote:
1. instead of typing: $conn=ocilogon(usrname,passwrd,db);
can i save this info in a file and have my php script either include or call
it when it needs to make a db connection? what would that look like? i may
want to point my app to a test db at some point it would be nice
Dan Joseph wrote:
I am attempting to add a little error checking for a very simple login
system. The info is stored in a MySQL database, and I am using mysqli
to connect to it. I have it working with the solution provided below,
but I am wondering if this is the right way to do it or if there
Eric Gorr wrote:
Unfortunately, such things cannot be used to wrap functions.
On Mar 14, 2008, at 2:38 PM, Dave Goodchild wrote:
in php you have a number of constructs that can be used to execute
code (or not) based on certain conditions ie is_defined(). Not sure if
the comparison
Eric Gorr wrote:
On Mar 14, 2008, at 3:15 PM, Eric Gorr wrote:
On Mar 14, 2008, at 3:10 PM, Stut wrote:
On 14 Mar 2008, at 19:03, Eric Gorr wrote:
Unfortunately, such things cannot be used to wrap functions.
Erm, yes they can. Try it.
?php
if (rand(0,1) == 0)
{
function
Steven Macintyre wrote:
Hi,
I need to be able to do the following procedure;
retrieve all items from a mysql db table, then check to see if the files from
that table exist on the server (images), if not, to clean up and remove the
physical file - so that only the files from the db
Daniel Brown wrote:
On Thu, Mar 13, 2008 at 5:33 PM, Larry Garfield [EMAIL PROTECTED] wrote:
Hi all. I am looking for a web host for a site. The usual host I work
with is missing some important functionality, so I need to look elsewhere
for this project. Specifically, I need web host
Shawn McKenzie wrote:
Daniel Brown wrote:
On Thu, Mar 13, 2008 at 5:33 PM, Larry Garfield [EMAIL PROTECTED] wrote:
Hi all. I am looking for a web host for a site. The usual host I work
with is missing some important functionality, so I need to look elsewhere
for this project
Matty Sarro wrote:
Greets all!
I am working on a minor project for work for entering inventory information
for servers we ship out.
Here is my plan:
First page -
Get client name, number of servers, and find number of miscellaneous
equipment(s) being shipped (UPS's, monitors, etc)
From
It Maq wrote:
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:
?php
function error_handler($errno, $errstr, $filename, $lineno,
Shawn McKenzie wrote:
Sofia Jacob (CA) wrote:
Hi,
I want to create a link that get the name and the link from the database.
The problem is that I get the bullets created with li but not the link,
here is my code and the result:
?php
function do_html_URL($url, $name)
{
// output
Sofia Jacob (CA) wrote:
Hi,
I want to create a link that get the name and the link from the database.
The problem is that I get the bullets created with li but not the link,
here is my code and the result:
?php
function do_html_URL($url, $name)
{
// output URL as link and br
Lamonte wrote:
Setting a variable inside a function and making it global inside an
inner function doesn't work?
Right well I have created this function:
[code]
function getForumChildrenTree( $id )
{
$id = intval( $id );
$treeResult = array(
'topics' = array(),
Shawn McKenzie wrote:
Lamonte wrote:
Setting a variable inside a function and making it global inside an
inner function doesn't work?
Right well I have created this function:
[code]
function getForumChildrenTree( $id )
{
$id = intval( $id );
$treeResult = array(
'topics
Lamonte wrote:
Shawn McKenzie wrote:
Shawn McKenzie wrote:
Lamonte wrote:
Setting a variable inside a function and making it global inside an
inner function doesn't work?
Right well I have created this function:
[code]
function getForumChildrenTree( $id )
{
$id = intval( $id
Lamonte wrote:
Shawn McKenzie wrote:
Lamonte wrote:
Shawn McKenzie wrote:
Shawn McKenzie wrote:
Lamonte wrote:
Setting a variable inside a function and making it global inside an
inner function doesn't work?
Right well I have created this function:
[code
Peter Ford wrote:
Aschwin Wesselius wrote:
Rahul wrote:
I have a small file to be transferred between two computers every few
seconds. I'm using unix with a bare bones version of php, i.e. just
the original thing that gets installed when I run yum install php.
As there is no webserver on any
Rahul wrote:
I have a small file to be transferred between two computers every few
seconds. I'm using unix with a bare bones version of php, i.e. just the
original thing that gets installed when I run yum install php. As there is
no webserver on any of these machines, I was wondering if
Rahul wrote:
I have a small file to be transferred between two computers every few
seconds. I'm using unix with a bare bones version of php, i.e. just the
original thing that gets installed when I run yum install php. As there is
no webserver on any of these machines, I was wondering if
in between and so I was thinking of
establishing a direct connection between them..
Zareef Ahmed wrote:
On 3/7/08, Shawn McKenzie [EMAIL PROTECTED] wrote:
Rahul wrote:
I have a small file to be transferred between two computers every few
seconds. I'm using unix with a bare bones version of php, i.e
Skip Evans wrote:
Hey all,
I have a weird issue that's got me pretty stumped, and I'm not sure I
can do what the client is asking, or at least not how I'm trying to do it.
I have a code base of my own I'm building sites on, fully AJAX enabled
so that once the site loads it never fully
Skip Evans wrote:
(Apologies to Shawn for sending this directly to him and not the entire
list, that was an accident. Here it is for the list.)
Shawn McKenzie wrote:
SNIP!
Rewrite rule would look something like:
IfModule mod_rewrite.c
RewriteEngine On
RewriteCond
Stephen wrote:
Wolf wrote:
Open a terminal window on the server
at the prompt type:
locate QuickForm.php
If it comes back with the path/file, make sure the path to the file is
in the include folder
If it comes back to just a regular terminal prompt right away, then
you need to install
Manuel Lemos wrote:
Hello,
on 03/05/2008 08:22 PM Stephen said the following:
Subject says it.
Is there an open source class for forms that provides for the use of CSS
for the layout of forms?
You may want to try this forms generation and validation class. It comes
with a vertical
Adil Drissi wrote:
Hi,
Is there any way to limit the user to a set of characters for example say i
want my user to enter any character between a and z (case insensitive). And
if the user enters just one letter not belonging to [a-z], this will not be
accepted.
I tried eregi('[a-z]',
Sofia Jacob (CA) wrote:
I'm getting problems with the mail() function.
ERROR:
Warning: mail() [function.mail]: Failed to connect to mailserver at port
25, verify your SMTP and smtp_port setting in php.ini or use ini_set() in
C:\wamp\www\php_sandbox\user_auth_fns.php on line 170
Stut wrote:
On 4 Mar 2008, at 21:18, Sofia Jacob (CA) wrote:
I'm getting problems with the mail() function.
ERROR:
Warning: mail() [function.mail]: Failed to connect to mailserver at
port 25, verify your SMTP and smtp_port setting in php.ini or use
ini_set() in
801 - 900 of 1115 matches
Mail list logo