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];
}
}
-Original Message-
From: Ralph Guzman [mailto:[EMAIL PROTECTED]
Sent
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
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
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
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']
);
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
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
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:
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
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
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
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,
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
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
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
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
Mysql Web Development is GOOD.
Also, since a lot of codes are open sourced, Read through them as well.
I'm
learning through that too. ( this list)
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Ralph [mailto:[EMAIL PROTECTED]
Sent
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:
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
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
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
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:
I
/[EMAIL PROTECTED]
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 tell them it has at least been sent from our
How about:
if($_GET['url_variable'] != $url_variable){
$url_variable = $_GET['url_variable'];
session_register('url_variable')
}
-Original Message-
From: Mauricio [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 11:14 AM
To: PHP
Subject: Re: [PHP] Refresh PHP
Hello Ralph
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
Here is one of doing this:
if(strrpos($v_tel_filter,' ') 0 || strspn($v_tel_filter,
0123456789-) != strlen($v_tel_filter)){
echo '$v_tel_filter' Telephone Number Contains words;
} else {
}
-Original Message-
From: Miranda, Joel Louie M [mailto:[EMAIL PROTECTED]
Sent:
Here is a site you might want to look at:
http://polar-lights.com/en/
-Original Message-
From: Jim McNeely [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 4:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php arrays into flash
I know a lot more about php than about flash (which is
Here's a tutorial on doing this:
http://codewalkers.com/tutorials.php?show=15
-Original Message-
From: phpu [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 3:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Table trouble
Hello
I need help.
I'm querying a database then printing the
fetchinto?
On Mon, 2003-07-07 at 14:42, phpu wrote:
10x but i am new to php and i do not know how to dump all of the
results
into an array can you help me with this one please?
$sql=select * from cate order by name asc;
$resurs=mysql_query($sql);
while ($row=mysql_fetch_array($resurs))
Here are some sites for you to get started:
http://www.zend.com/developers.php
http://www.phpcomplete.com/tutorials.php
http://www.evilwalrus.com/articles.php
And for books, here are some excellent books I've come across:
Programming PHP
By Rasmus Lerdorf
Web Application Development with PHP
You should register session for 'new_string' after assigning a value to
it.
So try placing
session_start();
session_register('new_string');
after the rest of your first.php code.
That should work.
-Original Message-
From: Miranda, Joel Louie M [mailto:[EMAIL PROTECTED]
Sent:
-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
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
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]
One way to get around having to edit backslashes is to echo using single
quotes. For example:
echo 'TABLE BORDER=0 WIDTH=100%TRTD' . $variable .
'/TD/TR/TABLE';
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 06, 2003 3:48 PM
To: Sparky Kopetzky
Cc:
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
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 BOX
I wrote class that contains a function that retrieves users shopping
cart items from database and then returns an array with qty, item number
, item name, etc.
So now whenever I want to retrieve the users cart I use the following:
$cart_contents = $cart-get_cart_contents();
I then iterate
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 12:13 AM
To: Ralph; PHP General Mailing List
Subject: RE: [PHP] Sorting Country List
Why don't you just add a hard coded line like this:
OPTION VALUE=USAUSA/OPTION
as the 1st option in your select box
Anybody used PEAR: HTML_QuickForm or Manuel Lemos Forms Generation and
Validation class? I'm looking to use one of these for my forms, so I was
wondering if anybody had any experience in working with either.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am getting a list of all countries from mysql database, and then I am
sorting by country name. However since most orders will be from US I
want the US to appear first over the rest of the countries. How can I go
about doing this?
Currently, this is my query:
SELECT countries_id, countries_name
echo hr$fieldname:input name='FieldName[]' maxlength='25';
for ($i=0, $n=sizeof($_POST['FieldName']); $i$n; $i++){
// do whatever you need to do with each field
echo $_POST['FieldName'][$i];
}
-Original Message-
From: Dave Alger [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 22,
I've never done this using CURL however I have done this using socket
connections. If you haven't already you may want to look into this, I'm
sure payflow will allow you to post data using socket connection.
Take a look at:
http://us4.php.net/fsockopen
In the User Contributed Notes look for a
?php
if(strstr = ($HTTP_USER_AGENT, Mozilla/4)){
header(Location: http://www.mydomain.com/moz4_page.php;)
}
elseif(strstr = ($HTTP_USER_AGENT, MSIE)){
header(Location: http://www.mydomain.com/ie_page.php;)
}
etc...
?
HTML
HEAD
TITLEMy Page/TITLE
/HEAD
etc..
-Original
Alternative, using concatenation:
$sql = SELECT * FROM db WHERE apple = '. $_POST['foo'] . ';
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 7:57 AM
To: [EMAIL PROTECTED]; Chris Hayes
Subject: Re: [PHP] Re: Difference between
]
Sent: Tuesday, June 17, 2003 1:12 PM
To: Jay Blanchard; Ralph; [EMAIL PROTECTED]
Subject: Re: [PHP] Redirecting to index.php from index.html
With that I get:
Parse error: parse error, unexpected T_STRING in
/path/to/file_named/main.php
on line 4
Michael
On Tuesday 17 June 2003 02:50 pm, Jay
Well it does appear to be working because according to this error, the
problem is with main.php on line 4.
-Original Message-
From: Michael [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 2:27 PM
To: Ralph; 'Jay Blanchard'; [EMAIL PROTECTED]
Subject: Re: [PHP] Redirecting
You have to use socket connection. Take a look at:
http://us4.php.net/fsockopen
In the User Contributed Notes look for a post by
info at agriya dot com
02-Feb-2003 12:38
there you will see a script that shows you how to do it.
Hope this helps.
-Original Message-
From: Joaco
Daniel,
Rather than sending them to a new page to validate the form and then
sending them back if a field is invalid, do the error checking from the
same script.
Here's an example, a bit simple but just to give you an idea.
For a better explanation, you should read this article which elaborates
Read the following:
http://us2.php.net/fsockopen
http://www.zend.com/manual/ref.stream.php
-Original Message-
From: Jason Paschal [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 8:48 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] General question...
ppl,
4:28 PM
To: Ralph; [EMAIL PROTECTED]
Subject: Re: [PHP] $_SESSION as $key=$value
I read the document 4 times. I understand how it works and now Im
excited
about applying this to my application, however Im running into a
problem.
Im recieving an error on my page.
I have this in my form.
input
If you want them to preview then commit, simply give the SEND PHOTO TO
SERVER button a name like:
input type=button NAME=send_photo value=SEND PHOTO TO SERVER
then in your code you can simply check for $_POST['send_photo'] before
calling the function that saves the image like:
at www.relexus.com but Linter is kind of confusing to use at
first
because it's a very different software.
Scott
Ralph [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
What is Linter?
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 2:43 PM
What is Linter?
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 2:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP using Linter...
Hi Everyone!
Have anyone here ever use the Linter software? What is your opinion
on
this? Have anyone
i'm trying to make a POST request to my merchant's https server using
the following:
foreach($HTTP_POST_VARS as $key = $value){
$value = urlencode(stripslashes($value));
$req .= $key=$value;
}
$header
Anybody know of a Netbilling Gateway that I can plug into my shopping
cart?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I'm currently setting up a form for CC processing. At the moment I
am able to send the required flags to authorize the CC transaction, but
then I do not know how I go about parsing the returned headers.
After processing the transaction the merchant returns either HTTP 200
(ok) along with
I've been stuck on this one all morning. Can't seem to figure it out.
I have 2 tables, one with affiliate sales and another with affiliate
clickthroughs. I have to query both tables, so that I can get
clickthrough dates, hits, and then query affiliate sales table to get
number of orders for each
How do I round off prices to the like rounding off $24.80 to $25?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm setting up a payment form on same server but different domain name,
and I need to pass the customers id that I have stored in a session so
that I can use it on the secure form to query the database for the
customers order.
What would be the best way for me to go about this?
--
PHP
- Workflow the Works
By Kelly Goto Emily Cotler
http://www.amazon.com/exec/obidos/tg/detail/-/0735710627/qid=1054614092/
sr=8-1/ref=sr_8_1/102-6577267-6528106?v=glances=booksn=507846
Hope this helps. Good luck.
Ralph
-Original Message-
From: Tim Burgan [mailto:[EMAIL PROTECTED]
Sent
I currently have a secure form from which I am querying a mysql database
but I am unable to print out the results to the page. Is there something
I have overlooked in working with secure pages?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I'm querying a database then printing the results in a TABLE. What I
want to do is format the results in a TABLE with 4 columns per row.
Any suggestions?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm querying prices off a database then storing these in an array, I
want to add these up to get the grand total, how would I go about adding
up all the prices stored in the array?
Thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Right... I never thought of this.
But can I use this if what I'm trying to get the (price * quantity).
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 01, 2003 12:43 AM
To: Ralph
Cc: PHP General Mailing List
Subject: Re: [PHP] Add Up Prices in Array
Disregard my last post, I went with what you suggested and I got it to
work.
Thanks again.
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 01, 2003 12:43 AM
To: Ralph
Cc: PHP General Mailing List
Subject: Re: [PHP] Add Up Prices in Array
Maybe it's just that it's late, but can't seem to figure this out. I
want to show a shipping price depending on the amount of purchase. I
thought about using a lot of if() statements, but I know this is not the
best way to go about this.
Can anybody enlighten me on this one and give me a better
Rates
this, maybe?
http://www.php.net/switch
From: Ralph [EMAIL PROTECTED]
To: PHP General Mailing List [EMAIL PROTECTED]
Subject: [PHP] Shipping Rates
Date: Sun, 01 Jun 2003 01:48:30 -0700
Maybe it's just that it's late, but can't seem to figure this out. I
want to show a shipping price
Try this:
Let say you have these three fields in your form:
INPUT TYPE=text VALUE=num[1]
INPUT TYPE=text VALUE=num[2]
INPUT TYPE=text VALUE=num[3]
then use the following to iterate through each field:
foreach($_POST['num'] as $key = $value){
preg_match ( '(foo)' , $_POST[num][$key] );
}
Not sure if I'm misunderstanding, but I know that foreach() will do
this.
-Original Message-
From: Daniel J. Rychlik [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 11:58 AM
To: Ralph; [EMAIL PROTECTED]
Subject: Re: [PHP] preg_match array question
The problem is, that I have
PROTECTED]
Sent: Friday, May 30, 2003 1:04 PM
To: Ralph; [EMAIL PROTECTED]
Subject: Re: [PHP] preg_match array question
perhaps I am misunderstanding... I have snipit of my foreach. I have a
preg_match that checks for a valid email address. basically it just
checks
for an @ and a . When I place
I have to setup credit card verification/processing with Netbilling.com,
does anybody know of a PHP based Netbilling connect script or class?
Your help is appreciated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Use the header function:
http://www.php.net/manual/en/function.header.php
-Original Message-
From: Angelo Zanetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 1:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP redirect
Hi guys what is the function in PHP for directing a php
I have to setup credit card verification/processing with Netbilling.com,
does anybody know of a PHP based Netbilling gateway script or class?
Thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/direct/
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 2:44 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Netbilling PHP Script
On Thursday 29 May 2003 17:36, Ralph wrote:
I have to setup credit card verification/processing with
Netbilling.com
You need to use the concatenating assignment operator .= after $sub. The
way you had it the variable $sub was getting assigned a new value each time
through the while loop. The .= oprerator will add to the existing value of
$sub each time through the loop.
Try this:
$query = SELECT * FROM
Try ?php if this works, then most likely you have php short tags
disabled. To enable ? Short tags check your php.ini file.
-Original Message-
From: Kirk Babb [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 6:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP] $PHP_SELF
SysInfo:
In article [EMAIL PROTECTED], Septic Flesh wrote:
I wanna buy a book from amazon . . .but don't know which one..
Do you know where I will find examples of shopping carts ? (which book ?)
Creating Dynamic Web Pages Using PHP and MySQL by David Tansley.
--
Rgds
Ralph
--
PHP General
Hi;
An obvious question for some, but I am stumped:
I want to use multiple optins in an if statement...
if(user($arbitraryVariable)==(1 or 2 or 3 or 4))
What would be the proper syntax for this?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
= = $number) {
incorrect syntax here. that should be:
if ($guess == $number) {
better would be:
if (trim($guess) == $number {
this will assure that there's no whitespace in $guess
--
Rgds
Ralph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
. It is a JavaScript issue. You need to add
this
code to the bottom of your page:
script
document.forms[0].text_box_name.focus();
/script
--
Gaylen
PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/
Ralph Jarvis [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED
on the text box to
begin typing How do I get the cursor to focus on this text box?
Many thanks in advance
Ralph
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
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
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 {
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
Never had to do this, however I would think the correct way to be:
a href=page.php#bottom?location=01
try it.
-Original Message-
From: Scott Mebberson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 4:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] named anchors and query strings
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
: http://www.domainname.com/dir_03;);
break;
}
Ralph
-Original Message-
From: Ratfish [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 7:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Simple Question, I think
All I want to do is what an ASP page I have is doing.
I just want
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'
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
: http://www.domainname.com/dir_03;);
break;
}
Ralph
-Original Message-
From: Ratfish [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 7:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Simple Question, I think
All I want to do is what an ASP page I have is doing.
I just want
-
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 php.ini
Date: Wed, 03 Oct 2001 01:05:07
What you are trying to do here sounds like it is done on the client end. I'd
be willing to bet this requires the use of Javascript/Jscript/VBScript and
DHTML.
-Original Message-
From: Coenraad Steenkamp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 2:29 AM
To: [EMAIL
[mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 1:40 AM
To: PHP Developer Mailing List; Ralph Guzman
Cc: [EMAIL PROTECTED]
Subject: [PHP] Re: [PHP-DEV] Anagram Type Puzzle
This should really be sent to [EMAIL PROTECTED], this is the list
for the developers OF PHP not developing WITH PHP
Im trying to figue out the following anagram using PHP. Here is the problem:
Using letters of the alphabet represented by a number, I have to come up
with words that add up to exactly 100.
Numbers are in reverse where A=26 and Z=1, so for example:
A B C...X Y Z
26 25 24..3 2 1
So let's
If you choose to install Apache/PHP and perhaps even mySQL and you want to
avoid downloading each individually, then configuring them to work together.
You can download at straight-forward easy installation distribution that
includes all three. Check out Nu-Sphere, and download one of their free
I am working on setting up a Red Hat Linux Web Server. Is there a benefit to
installing PHP/MySQL/Apache by compiling them from source vs. installing
these using RedHat's Binary/RPM distributions?
What are the pro's and con's of these two methods? Can anybody suggest any
pointers considering
use the $REMOTE_ADDR variable for the remote address
see php manual chapter 7 Variables - Variables from outside PHP
Nafiseh Saberi schrieb:
hi.
how can I control the ip that with ID and password ,all of
user cant enter to site and if one person want to enetr should
have special IP that I
Are you shure u sending the right http header?
your discription sound like the browser receives the wrong header information,
respactively the wrong mime type. if you use the right mouse button and say show
image, all browsers don't care about the mime type and try to evaluate the data
content
use $SCRIPT_FILENAME and extract the parts of the path as u need.
or better $PATH_TRANSLATED see also php manual chapter 7 predefined variables.
Chris Hayes schrieb:
dear group,
I use the $DOCUMENT_ROOT to make a complete file name.
201 - 300 of 333 matches
Mail list logo