The easy way...
$domain = "http://www.foo.com";;
$domain = explode('.', $domain);
$foo = $domain['1'];
-Original Message-
From: Dave Carrera [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 1:30 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Domain Name ?
Hi List,
I asked this a whi
You might also want to look at opensource frameworks like
Ampoliros
or
Ez publish
-Original Message-
From: Ignatius Reilly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 9:21 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Bill
Subject: [PHP] Re: [PHP-WIN] ASP.NET web control in
Might be a Register Globals issue:
http://us4.php.net/register_globals
-Original Message-
From: Ketvin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 12:40 AM
To: [EMAIL PROTECTED]
Subject:
Dear all,
i just move my previous php script to a new server and found that it is no
Take a look at jpgraph:
http://www.aditus.nu/jpgraph/
-Original Message-
From: unkno me [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 5:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Making Graph / Chart
Hi,
Does anyone know what function is needed to make
graphic chart like th
>What I would do would instead be to put an
>index on that column, then with a simple select
>check if that username is free or not. Based on
>what I get in return I can then either insert the
>data or return the form to the visitor with information
>about it. Much more simple in the long run
I want to develop a friendster like program in php. I've searched the net to
see if there are any similar programs or projects but I have not found
anything.
Anybody seen or come across any programs or projects for developing a
friendster like community?
--
PHP General Mailing List (http://www
In the past I've read emails of people looking for php programming tips and
better practice advice. Here is a good article I came across on writing
efficient php code:
http://www-106.ibm.com/developerworks/edu/wa-dw-waeffphp-i.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
DISREGARD THIS ONE
-Original Message-
From: Ralph Guzman [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 4:35 PM
To: 'Raditha Dissanayake'; 'dareal hamsta'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Sorting data into columns vertically
Here is a functi
Here is a function I use. Assuming data is stored in an array called $items
you will call out horizontalTable() like this:
horizontalTable(3,600,1,3,3, $items);
Here is the horizontalTable() function code:
// $size: number of columns
// $width: table width
// $border: table border
// $cpadding:
Here is a function that will do this, assuming $items is an array you would
do the following:
// $size INTEGER
// $width INTEGER
// border INTEGER
// $cpadding INTEGER
// $cspacing INTEGER
// $data ARRAY
function horizontalTable($size, $width, $border, $cpadding, $cspacing,
$data)
{
Or this:
system("rename('/path/to/new.sh', '/path/to/old' . $today)");
-Original Message-
From: Matt Grimm [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 10:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Not working?
You can't use variables inside single quotes, either.
Thi
Use socket connection:
http://www.php.net/fsockopen
read the "User Contributed Notes" where you will find functions and
examples.
-Original Message-
From: Nabil [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 2:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] post vars not by form
Put them in a folder with .htaccess:
RewriteEngine onRewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC]
ReWriteRule .*\.(gif|jpg)$ - [N,F,L]
-Original Message-
From:
For debugging purposes, if you want to see all values in $_POST use this
code:
print '';
print_r($_POST);
print '';
or this:
print '';
var_dump($_POST);
print '';
-Original Message-
From: Robin Kopetzky [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 4:31 PM
To: PHP General
= THE END =
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ctory Support
On Wednesday 03 December 2003 12:51, Ralph Guzman wrote:
> I have a new installation of PHP 4.1.2 and it appears I cannot run php
> scripts outside of apache root directory.
How did you come to this conclusion? Was there an error message? If so, what
did it say? If there was no er
I have a new installation of PHP 4.1.2 and it appears I cannot run php
scripts outside of apache root directory. I look at phpinfo() and I saw
Virtual Directory Support is set to disabled. I'm suspecting this could me
the problem, but I have not been able to find anything on google or the
lists exp
I am trying to write a query (mysql 3.23) that will sort results using one
or two substrings in item number. So for example I have item numbers that
start with SE, TS, N0, W00, etc.
So let say I want results sorted in the following order
TS, SE, N0, W0
I have trie
If you are looking for magazines:
http://www.phphub.com/browse.php?cat=52
You can find all sorts of PHP resources online. Here are a few of my
favorites:
http://www.phphub.com/
http://www.zend.com/developers.php
http://www.sitepoint.com/
http://www.devshed.com/Server_Side/PHP
and of course,
I guess the thing to do would be to log in payments in the database. So lets
say the total is $50.00, if the user pays $25 on cc and payment is
authorized, then log this into the database, then show the remaining
balance. At this point you can give user the option to pay the remaining
balance using
You might also want to look at these libraries for mssql native support:
http://www.freetds.org
-Original Message-
From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 9:21 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php with MsSql
I'm creating a site
This article explains four methods for doing this:
http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17
/4047/index.html
-Original Message-
From: phpu [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 20, 2003 7:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Subcatego
>It doesn't do syntax highlighting, but if you need
>that, then you need to learn to code better.
Ha,ha. too funny.
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 9:56 AM
To: jeffrey pearson; [EMAIL PROTECTED]
Subject: Re: RE: [PHP] PHP Ed
Read this article:
http://www.zend.com/zend/tut/using-strings.php
-Original Message-
From: micro brew [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2003 9:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Single Quotes vs Double Quotes
Hi everyone,
Could somebody please explain to me
Is there an advantage or difference in running FIND_IN_SET() instead of
LIKE?
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 5:53 AM
To: Ralph Guzman; PHP General Mailing List
Subject: Re: [PHP] mysql Pattern Matching
From
First, do not use HTML email for posting questions to the list.
Take a look at:
$not = $consulta->fetch_row($res);
not familiar with your BaseDatos class, but fetch_row will normally
return an enumerated array, this means that rather than using
$not['Descripcion'] you should be using $not['0'],
I know this question is best for the mySQL mailing list, but I am unable
to subscribe to their list at this moment so perhaps somebody here can
help me out.
I have a table with a field where amenities are listed together using a
comma delimiter like: pool,spa,fitness-center
To search this table I
I'm currently in the process of writing a real estate listings program
and I am not sure what the best approach is for storing and searching
through the property amenities. Example: houses or apartment amenities
can be a pool, fitness center, spa, etc.
Users must be able to search for listings wit
http://www.php.net/oop
http://php.resourceindex.com/Documentation/Class_Design_and_OOP/
http://www.evolt.org/article/PHP_Intro_to_Objects_and_Classes/17/48911/i
ndex.html
-Original Message-
From: Mike Zornek [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 11:01 AM
To: [EMAIL P
Change box names to chk[] and assign the id as the value, so for
example:
to check which boxes have been checked simply traverse through the chk[]
array like this:
$chk_array = $_POST['chk'];
for($chk_array as $chk_key => $chk_value)
{
print 'Checkbox Id:'. $chk_key . ' Value:'. $chk_value
function test($arg1, $arg2, $arg3 = "")
{
if(isset($arg3))
{
// do whatever with $arg3
}
}
-Original Message-
From: Jonathan Villa [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 7:56 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How to make an argument optional...conf
unset($A[2]);
-Original Message-
From: Decapode Azur [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 3:26 PM
To: [EMAIL PROTECTED]
Subject: [PHP] in the middle of shift and pop
is it possible to remove an element of an indexed array such as this
exemple
$A = array('a', '
);
return $cart_cdqty;
}
}
-Original Message-
From: Ralph Guzman [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 11:41 PM
To: 'Cesar Aracena'; [EMAIL PROTECTED]
Subject: RE: [PHP] Delimiter WITHOUT lots of IF's
Sensitivity: Confidential
I agree
ing cart';
} else {
print 'Total Size:' . $cdqty['quantity'] . '';
print 'Total CDs:' . $cdqty['total_size'] . 'MBs ';
}
I have not tested this but it should work.
Ralph
-Original Message-
From: Cesar Aracena [mailto:[EMAIL
38 PM
To: 'Ralph Guzman'; [EMAIL PROTECTED]
Subject: RE: [PHP] Delimiter WITHOUT lots of IF's
Importance: High
Sensitivity: Confidential
Using a cookie (I know, I know...) I plant a cookie in the visitor's
browser when he opens the site with a random generated number which
expir
How are you keeping track of items added being added to the shopping
cart?
-Original Message-
From: Cesar Aracena [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 7:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Delimiter WITHOUT lots of IF's
Importance: High
Sensitivity: Confidential
How are you keeping track of items added being added to the shopping
cart?
-Original Message-
From: Cesar Aracena [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 7:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Delimiter WITHOUT lots of IF's
Importance: High
Sensitivity: Confidential
Read this article:
http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17
/4047/index.html
It explains the 4 different methods that you can use when working with
hierarchical data.
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 200
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 12:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Validate The Last Day of Month with server's clock
Hi!
Here's a trick script. We know that some months have the last day
which
is 30
I just noticed, this will give me total days for current month. But
let's say I want to look up the total days for another month?
-Original Message-
From: Sn!per [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 1:21 AM
To: Ralph Guzman
Cc: PHP General Mailing List
Subjec
wow. I missed that one in the manual. I guess it's time for me to call
it a night.
Thanks.
-Original Message-
From: Sn!per [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 1:21 AM
To: Ralph Guzman
Cc: PHP General Mailing List
Subject: Re: [PHP] LAST DAY OF MONTH
Might want to take a look at:
http://www.htdig.org/
Using the PHP wrapper class:
http://sourceforge.net/projects/htphp/
-Original Message-
From: Louie Miranda [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 12:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php, search engine that i
How can I get the last day for the current month?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have to generate a menu for all months in a year, with each month
broken down into two periods. For example:
January 01-15
January 15-31
February 01-15
February 15-28
March 01-15
March 15-31
Etc...
How can generate a list of all 12 months using the above format?
--
PHP General Mailing List
http://bombusbee.com/
-Original Message-
From: Jonathan Pitcher [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 7:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Application Dev -- Separating code for speed.
I have a application, almost like a web portal. I am working on
developing
ete can be found at
http://www.interakt.ro/products/KompleteLite/index.php
Alexandru
--
Alexandru COSTIN
Chief Operating Officer
http://www.interakt.ro/
+4021 312 5312
"Ralph Guzman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am not s
This will help:
http://catb.org/~esr/faqs/smart-questions.html
This has got to be the longest thread I've seen.
-Original Message-
From: andu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 9:32 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Stop neurotic posting
This is a very busy
http://www.wowwebdesigns.com/wowbb/forum12/149.html
you might also want to take a look at mono project. An open source
implementation of .net
http://www.go-mono.com/
-Original Message-
From: Douglas Douglas [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 7:46 PM
To: [EMAIL PRO
Been working on this one for a while but can't get it working properly.
I need a regular expression to match if address is
1. PO Box
2. P.O. Box
3. P.O.Box
I'm using /i to make this case insensitive.
I got it working with 1 & 2, but it's still not matching 3. Any
suggestions?
if(preg_match( "
Any opinions on ezPublish 3?
http://www.ez.no/
I am considering this as a CMS and framework for my future projects.
-Original Message-
From: Matt Schroebel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 12:14 PM
To: Anthony; [EMAIL PROTECTED]
Subject: RE: [PHP] Best PHP CMS
I am not set on Fusebox, but the reason I've been considering it is
because I came across ezPublish 3, that uses this framework.
I am looking for a CMS with a framework that I can use to develop my
future projects.
Are there any PHP/MySQL based XML/XSLT CMS that I can look at?
I am just doing my
I am trying to standardize my development process and have been looking
at the different frameworks out there.
One of the philosophies I like is that of Fusebox, although originally
developed for ColdFusion it is now available for PHP:
http://bombusbee.com/
Anybody have any experience working wi
Been working on this one for a while but can't get it working properly.
I need a regular expression to match if address is
1. PO Box
2. P.O. Box
3. P.O.Box
I'm using /i to make this case insensitive.
I got it working with 1 & 2, but it's still not matching 3. Any
suggestions?
if(preg_match( "
Here is something some of you on this list may find funny, others may
find this useful. This is not spam, this is actually a good manual you
should all read:
http://catb.org/~esr/faqs/smart-questions.html
Good Reading.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
I have a shopping cart with affiliate sales support. What's happening is
that some affiliates are using frames to use their domain while using
our shopping cart. So they are using a frameset like this:
http://www.domain.com/?store_id=15008";>
The problem I'm having is that sessions ar
Check out:
http://www.htdig.org/
-Original Message-
From: imran [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 4:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Search Engine
Hi,
Does anyone know any free search engine for web application
imee
--
PHP General Mailing L
Might want to file this link, next time somebody asks about PHP vs. ASP
http://www.wowwebdesigns.com/wowbb/forum12/149.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a shopping cart checkout form where I am using GET to specify
payment method from payment_method.php page.
So I have something like the following:
>From payment_method.php the user chooses payment method by clicking on a
payment link that then send them to the checkout_form.php
checkout_f
t['field_name'];
}
// Iterate through array and print fields
if($field_name_array == ""){
print 'please select at least 1 field to be shown';
} else {
for($i=0, $n=sizeof($field_name_array); $i<$n; $i++){
print $field_name_array[$i];
}
}
-Or
//Find User Configuration
$sql = mysql_query("SELECT field_name FROM config WHERE show_field=1")
OR die("Could not query database: ".mysql_error()."");
while($result = mysql_fetch_array($sql, MYSQL_ASSOC)){
$field_name_array[] = $result['field_name']
}
// Iterate through array and print fields
http://www.club66.ro/poker/poker.html
Spam?
-Original Message-
From: Paul Chvostek [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 1:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Hi
On Tue, Jul 22, 2003 at 11:42:04AM +0300, Rausch Alexandru wrote:
> From: "Rausch Alexandru" <[E
if($pcs_1000){
$total = $amount * 2;
}
-Original Message-
From: Louie Miranda [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 20, 2003 7:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] computing 2 value and adding it..
Importance: High
I have a 2 form value on 500/pcs and 1000/pcs
And i was
where can I see eShox?
-Original Message-
From: Richard Baskett [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 6:16 AM
To: PHP General
Subject: Re: [PHP] osCommerce and modifications
You might want to look at eShox, it's based on osCommerce, but in my
opinion
it's quite a lot bett
Here's a way of doing it:
--
$query = "SELECT id, name FROM customer";
$result = mysql_query($query);
while ($oRsCusts = mysql_fetch_array($result)){
$customers_array[] = array(
'id' => $oRsCusts['id'],
'name' => $oRsCusts['name']
Maybe it's just me, but I don't quite understand what you mean by this:
"The problem is, when we allow anyone to post items, you
may go to the site, chose five items to buy but they are all from
different
people. How do you handle the check out?"
Can you rephrase? Are you talking about having
Just include Bcc in the extra headers. Take a look at
Example 4. Sending complex email
http://www.php.net/manual/en/function.mail.php
-Original Message-
From: Louie Miranda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 5:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] bcc on php
I think what you are looking for is socket connections:
http://www.php.net/manual/en/function.fsockopen.php
Or CURL
http://www.php.net/manual/en/ref.curl.php
-Original Message-
From: PHP List [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 1:02 PM
To: [EMAIL PROTECTED]
Subject:
Take a look at patConfiguration http://www.php-tools.de/site.php
-Original Message-
From: Michael Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 3:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] XML Array
Hey,
I'm looking for a function to take an XML file and turn it into a P
What you are looking for is called an Invoice. I'm attaching a simple
invoice for you to look at.
-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 13, 2003 4:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php script billing receipt
Hi,
I just finished a script f
If you're going to be keeping track of all these demographics, you'll
want to store these in a database rather than a text file.
-Original Message-
From: César Aracena [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 13, 2003 7:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Lots of PHP
Hi all,
Most ftp programs allow you to chmod. If using windows, check out wsftp
www.ipswitch.com.
I don't think there is another way to change directory/file privileges
other than chmod.
-Original Message-
From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 12:14 AM
Chris,
Not sure how you went about searching for php.ini, but you can type in
the following find command in your command prompt and it will search
your entire system:
find / -name php.ini -print
You may also want to look for php.in in /usr/local/lib. This is where
php install php.ini by default.
http://www.codephobia.com/tutorials/view.php3?idnum=6
-Original Message-
From: Miranda, Joel Louie M [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:04 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] ImageTTFText for mac? win? linux?
Im confused.. I know I have TrueType support on php
If you will be processing credit cards you first need to sign up with a
credit card processor like Authorize.net, PSIGate.com, Netbilling.com.
Another alternative would be use PayPal which is a bit easier to
implement but at the cost of flexibility.
They will provide you with a gateway to which yo
Go to http://www.phpclasses.org and look for CreditCard Class under
Validation, else look for one at http://www.hotscripts.com
-Original Message-
-Original Message-
From: Sparky Kopetzky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 2:33 PM
To: PHP General
Subject: [PH
Yes, and also the same Rasmus founder of PHP. From time to time he may
even respond to one of you questions. :-)
And you're right one of the best ways to learn is to look at other open
source code. I've learned how to write efficient code and also learned
programming tricks by studying other code.
Might want to look at: http://polar-lights.com/en/
-Original Message-
From: Rankin, Randy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 5:30 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] PHP, MySQL and Flash
Does anyone know of any articles on integrating PHP, MySQL and Flash to
p
Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PHP SAPI module
[activating module `php4' in /etc/httpd/conf/httpd.conf]
cp libs/libphp4.so /usr/lib/apache/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apx
The error you are providing here is because you do not have the required
libraries installed. Some of these modules require that the programs or
libraries be installed, php does not install them for you.
This is an extensive config. Are you sure you need all these. I see that
you are trying to ena
uot;joao" them logoff, exclude
IE
cache, going in Tools >> Internet Option..., and login again with
another
user, this way the variable are printed correctly.
It happens in any windows version (95,98,ME,2K,XP) using IE 6.0 and
Netscape
7.
- Original Message -
From: "Ra
]"
WIDTH="1" HEIGHT="1" BORDER="0">
-Original Message-
From: Brian S. Drexler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 11:19 AM
To: 'Ralph Guzman'
Subject: RE: [PHP] Mail Header/Return Receipt
That is a good idea. I can tel
Thanks Wendell. This is exactly what I was looking for.
-Original Message-
From: Wendell Brown [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 4:47 AM
To: PHP General Mailing List
Subject: Re: [PHP] Regular Expression
On Mon, 07 Jul 2003 21:59:23 -0700, Ralph Guzman wrote:
&g
If you still have the older version of PHP running, you can use
phpinfo(); and look under Configure Command to see how PHP was
originally configured.
Otherwise, just look at PHP configure options and figure out what
settings you need:
http://www.php.net/manual/en/install.configure.php
-Orig
You might want to look at patConfiguration:
http://www.php-tools.de/
It can read/write text and xml files.
-Original Message-
From: carlos castillo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 8:53 AM
To: 'PHP List'
Subject: RE: [PHP] Read a file
But them how i can look for
I have a form where I have to check whether user is submitting a PO Box
as an address. I wrote the following using eregi, but it returns true
even when the field is not Po Box. How do I go about doing this
properly?
if(eregi("^Po Box$", $address)){
$error_message_custom = "You cannot use a PO BO
Are you talking about number_format()?
http://www.php.net/number_format
or substr():
http://www.php.net/manual/en/function.substr.php
-Original Message-
From: Brenton Dobell [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 7:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Forgotton Com
One way to get around having to edit backslashes is to echo using single
quotes. For example:
echo '' . $variable .
'';
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 06, 2003 3:48 PM
To: Sparky Kopetzky
Cc: PHP General
Subject: Re: [PHP] print vs.
http://www.appelsiini.net/~tuupola/php/peardoc2/index.html
http://www.phpkitchen.com/staticpages/index.php?page=2003041204203962
you might sign up for the pear mailing lists and ask these specific
questions:
http://pear.php.net/support.php
-Original Message-
From: [EMAIL PROTECTED] [m
http://www.oscommerce.com
-Original Message-
From: Noah Solodky [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 1:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] a recommended FREE PHP shopping cart
Hello
can any one recommended a FREE PHP /MYSQL shopping cart,,that they
have
set up
-Original Message-
From: Ralph [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 7:02 PM
To: 'Miranda, Joel Louie M'; [EMAIL PROTECTED]
Subject: RE: [PHP] Image verification problem..
You should register session for 'new_string' after assigning a value to
it.
So try placing
sessio
Try "mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 6:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP] $PHP_SELF
SysInfo: Apache/1.3.24 (Win32) PHP/4.1.3-dev
I have a question that could be Apache, could be php, but I'm so new to this
I have to ask: what is wrong with my code for the form acti
I'd suggest Homesite:
http://www.macromedia.com/software/homesite/
-Original Message-
From: shaun murphy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 2:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP newbie alert
Hello!
Being one not to refuse a challenge, I have been ask
I am trying to do a joined query using PEAR DB? My code looks something like
this:
$sql = "SELECT wwwpages.pid,wwwpages.name,media.pid,media.name FROM
wwwpages, media WHERE wwwpages.pid = '$pid'";
if(DB::isError($result = $db->query($sql))){
echo "ERROR:" . DB::errorMessage($result);
} else {
w
I currently thinking on doing some freelance PHP programming and web design
for somebody. I have a pretty good idea on how much I will be chargin,
however I am looking at putting this in writing. I was wondering if anybody
had any example proposals/bids or web liks to where I can find such
informa
Solutions
-
Mercury Interactive
410 Frimley Business Park
Frimley, Surrey. GU16 7ST
United Kingdom
Telephone : +44 (0)1276 808300
>From: Ralph Guzman <[EMAIL PROTECTED]>
>To: Caleb Carvalho <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Subject: RE: [PHP] php not reading
I would suggest you implement this at the web server level. If using Apache,
use virtual hosting or perhaps a rewrite condition if needed.
If you must do this in PHP, and you want to do is redirect the user to a
particular directory depending on the URL they type, then something like
this should
This is related to the email I responded to a few minutes ago. See below:
-Original Message-
From: Ralph Guzman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 12:25 AM
To: Bjornie; [EMAIL PROTECTED]
Subject: RE: [PHP] Creating mailaccounts
This is somewhat dependant on
Unless you modified the default path to the configuration file when
compiling, your Configuration Path setting should be set to something like
this:
/usr/local/lib/php.ini
in this case, you say it is set to /www/conf. I'm assuming by this that it
looking for a configuration file called 'conf' in
I would suggest you implement this at the web server level. If using Apache,
use virtual hosting or perhaps a rewrite condition if needed.
If you must do this in PHP, and you want to do is redirect the user to a
particular directory depending on the URL they type, then something like
this should
This is somewhat dependant on the email server (MTA) you are running and how
it is set to authenticate users. If using linux/unix, sometimes all that is
required is for you to create an account is to add the entry in the
/etc/passwd, and create a home directory. This you can easily do with a PHP
a
1 - 100 of 134 matches
Mail list logo