I understand the difference between how they process from data.
Most application seem to reply on $_GET which display the
session/from/cookie values in the URL windows.
What I'm not clear on are there times when you have to either $_POST or
$_GET?
TX,
david
--
PHP General Mailing List (http://w
Denis L. Menezes wrote:
Hello friends.
I am in a hurry to make a website where suppliers can advertise their
products and services and customers can place their requirements so the
requirements can be matched with the service providers.
Also vistors should be able to seek suppliers and customers.
I looked the the configure --help but didn't see sqlite?
Or did I just miss it? How can I build the module for sqlite.
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ben Ramsey wrote:
You can download the PEAR packages yourself, though, drop them into a
directory in your site (or outside the root of your site), and use
ini_set() to set your include_path to the directory where your PEAR
classes reside. Then you can use PEAR without having to "install" it.
Chris W. Parker wrote:
DAvid Jackson <mailto:[EMAIL PROTECTED]>
on Wednesday, March 03, 2004 11:20 AM said:
TIA,
David
Please read for content... and excuse the crapping spelling
DJJ
??
Chris --
See reply to this thread right before this, I fat fingered it :)
And al
How can I test to see if and what portions of Pear are installed on a
vhosted website?
TX,
david
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
TIA,
David
Please read for content... and excuse the crapping spelling
DJJ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Joel Boonstra wrote:
This tread inerest me because I faced with a situation, where I have to
work around don't having a database (out of my control).
What I want to do is use Pear + sqlite.so out of home directory of the
home dir.(typical L.A.P vhost)?
I is modifying safe_mode relative directiv
Howdy --
SQLite supported by a direct call the sqlite library?
As apposed to calling the executable?
Could I use ini_set(include_path=) to tall PHP where the SQLite lib is
located?
TIA,
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Howdy --
header already send error.
Cannot modify header information - headers already sent by (output
started at /u242/rumc1636/warehouse/scrapbook/config.php:8) in
/u242/rumc1636/warehouse/scrapbook/login.php on line 47 and 48.
Here's lines 42 is if($action == "login")
Could it be related to th
Rija wrote:
oups ... you're right !
- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "php" <[EMAIL PROTECTED]>; "David Jackson"
<[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 2:57 PM
S
How do I go about building radio buttons using the results of a MySQL
query. The record layout looks like this:
acct
cat
description
I want to use acct as the value="acct" in the input statement for the
radio box. The code below almost works?
TIA,
David
$header = mysql_query ("SELECT * FROM
Bryan McLemore wrote:
What is a variables value before said value has been assigned a value?
Thanks
Bryan
Wouldn't it be null or empty " "?
Just a guess,
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Karl --
Before you go "reinventing the wheel" , you might check
http://freshmeat.net ... of course there is nothing actually wrong with
"reinventing the wheel" *grin*
David Jackson
Karl James wrote:
Hello people
Im in need help with creating a system where it will let
I'm comparing the values of a check box, against another form field, and
it sort of works, but I don't understand why (A better solution? is
listed below it?
TIA,
David Jackson
---
And part of the HTML Form:
---
Account Type:
Asset
Jay Blanchard wrote:
>
The burning issue that begs to be answered is, why reinvent the wheel?
There is a least a dozen blogs on freshmeat for PHP along...
Unless your doing it just for kicks, which is OK.
David
> [snip]
> > I want to try to find the hour that has the most hits
> > The day o
J --
Thanks your reply, I 'm a little confused as to the relationship between
PHP and Zend?
I thought all request were processed by Zend? Or is Zend Optimizer
something different from
Zend that built as part of PHP4.2.x? Who would a duplicate the error
below on my Linux box.
Thanks for your ti
Jason --
In actual fact the hosting company in question is used by a friend of
mine, but not my me :)
And I agree he needs to "draw a line in the sand", I mean the guy uses
them for 2 sites and
his ISP?! It's time to say fix it by Monday at 08:00 or I'm canceling my
accounts, but that's
just me
Jane --
Check http://www.freshmeat.net.
Keep in mind there's good and their simple.
Try searching on project, store, scheduler
also take a look at http://www.phprojetk.com ( or is it org).
HTH,
David
"J. H." wrote:
>
> Can anyone here help me write a simple auto shop
> scheduling program? Would
Is I still recommended that config be run with the --enable-track-vars flag?
Or has this been deprieciated? Recently? Does the chagnes to global vars
come in to play here?
TIA,
David Jackson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
var_name1;
echo $var_name2;
Also I believe you used to have to ./configure --enable-track-vars? This
maybe depreciated now ?
See variable sections of manaul for "sorid" details.
David Jackson
[EMAIL PROTECTED]
Vins wrote:
>I have installed php4 with apache 1.3.24.
>Downgr
Jason --
This ain't pretty (and probly not even correct) but it works:
David
-- Mail Call PHP
hello mail
$From";print "\n";
echo $Two;print "\n";
echo $Subject;print"\n";
echo $Comments;print "\n";
?>
-
Jason Won
Miguel --
Thanks for you reply, the if (ops) else is the only one
could find listed in the docs. and you right that's the
why "normal people do it", but this devoloper used to be a COBAL
programer which explain it.
Thanks again,
David
> On Sat, 4 May 2002, David Jackson
Greeting ---
I was handed a broken form that contain:
IF (cond):
.
ELSEIF:
..
ENDIF:
My Questions are:
1. Is this type of "IF:" code block valid in PHP4.x.x?
2. Shouldn't it be --
IF (cond):
ELSE:
or maybe
IF (cond):
ELSEIF (cond):
ELSE:
--
PHP General Mailing List (http://
ommand" (NO --enable-track-vars or
> > --enable-force-cgi-redirect):
> >
> > './configure' '--with-mysql' '--with-apxs2=/usr/local/apache2/bin/apxs'
> > '--prefix=/usr/local/php4'
> &
nfigure Command" (NO --enable-track-vars or
--enable-force-cgi-redirect):
'./configure' '--with-mysql' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--prefix=/usr/local/php4'
Thanks in advance,
David Jackson
--
PHP
Micheal --
Thanks for your replys.
What I see in /usr/local/mysql/lib is:
libmysqlclient.a
I'm wondering if the MySQL binaaries use static libs?
Thanks,
David
Michael Sims wrote:
>
> At 12:50 PM 1/27/2002 -0700, David Jackson wrote:
> >Mike --
> >Thanks for you re
Mike --
Thanks for you reply, I made the changes an am stilling getting the same
error?
On the other hand if I compile PHP with out specifing mysql home. I
don't get the error.
David Jackson
Miles Thompson wrote:
>
> Add the path to libphp4.so to the file /etc/ld.conf.so
> an
l/www/conf/httpd.conf:
Cannot load /usr/local/www/libexec/libphp4.so into server:
/usr/local/www/libexec/libphp4.so: undefined symbol: uncompress
Line 236 of http.conf:
LoadModule php4_modulelibexec/libphp4.so
Thanks for you help.
David Jackson
--
PHP General Mailing List (http://www.ph
Let see does my "PERSONEL" unsubscribe information appear at the bottom
of this email?
For the second time in 48hrs. someone submitted an unsubscribe request
using for me?
Yet I still get the list postings?
How strange.
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Jerry --
I didn't see any functions listed in:
http://www.php.net/manual/en/
for DB2 the ODBC maybe you only answers, heres the link:
http://www.php.net/manual/en/ref.odbc.php
David
> To connect to Microsoft SQL 7 I'm using the following script which
> works fine:
>
> $query="SELECT * FROM
copy php.log php.txt, now you have a static log to look at.
then do "more php.txt" this will display a screen at a time,hitting
goes to the next screen.
To do more advanced work with text files goto:
http://simtel.net "gnuish" directory and download "gawk" and "grep", mainly
grep, NOTE: using gr
Sorry here's the code unattached:
\n";
echo "\n";
echo "Sales Date:\n";
echo "\n";
echo "Sales Rep:\n";
echo "";
// Define table
echo "";
// Generate book listing
$result = mysql_query("SELECT pid,date,title,subtitle,author,amount FROM
catalog ") or die("Dis ain't right !!");
while (
list($pid
This may seem a little odd?
But what I want to do is use PHP/MySQL to generate static pages.
The applet I tinkering with is a sales worksheet and to start with will
consist of catalog/product maintience page, and a worksheet allow sales reps
work up pricing for customers. Eventfully this would ti
How about posting to the OS specific related forum?
For Linux try subscribing to linux-admin at [EMAIL PROTECTED]
for Solaris, HP-UX and other check news group list
DJJ
>
>
> -Original Message-
>
>
>
> Sorry this is offtopic
>
> I have set up a cron job and this is the message I
Todd --
Send email to [EMAIL PROTECTED]
In body of email: subscribe linux-admin
You might also check for distrbution specific forum/list
Slackware has one, I'm sure Redhat has some.
By the why, were you compile Apache/Mysql and PHP from *tgz sources ?
> David -
>
> <<<
> Try Cross posting
Try Cross posting to: linux-admin list
[EMAIL PROTECTED]
> When I run the "make" after a successful "configure", I get the
> following errors:
>
> stub.lo: file not recognized: File truncated
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make: *** [all-recursive] E
Also check out tutorials at:
http://www.melonfire.com/community/columns/trog/
-- david
> USE
> $HTTP_RAW_POST_DATA
> or something like that
>
> i'll look it up for you
> "Zhiqiang He" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>> i have resolved this problem, use $HTTP_RA
Miles ---
Here's the link to W3C: HTML/XHTML and CSS validation page.
It's a excellent tool for debuging pages.
http://validator.w3.org/
David
>
> Sounds like a problem with HTML syntax. NS is notoriously fussy and IE
> remarkably lax. Capture your source and compare against the HTML
> standar
Philip --
If you just want to install one:
http://freshmeat.net "Browse" down to PHP project, there 4-6 are ready out
there.
If you want to "roll your own" check out the tutorials at:
http://www.melonfire.com/community/columns/trog/
Note: The mail client I send this mail from appears to be a
PH
k reply. I used the PHP manual example and it
> connects to the database successfully but cannot select the database.
>
> I'm not sure why this is? I've looked hard at it and I cannot see where
> I have gone wrong.
>
> Thanks.
>
> GF.
> - Original Message -
Here's the example from the PHP manual:
The tutorial here are very helpfull:
http://www.melonfire.com/community/columns/trog/
-- David
\n";
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
print "\t\n";
foreach ($line as $col_value) {
print "\t\t$col_value\n";
}
Brian --
So I should change the line:
echo "";
To:
echo "";
Or do I change the value=
Thanks -- David
> * David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001
> 21:41]:
>
> [...]
>
>> My question is how do I process checkbox when multi boxes have
>>
Sean --
Does you standard (non session) seem to work ok? Such as:
$stuff";
echo "$more_stuff";
echo "$still_more_stuff";
?>
Did you compile Apache and PHP from source? If so
could you provide me with the ./configure --options you used?
This is sound like a config/compile problem to me.
You mig
ALL --
The snipet below is used to generate the table containing
product info (product_id(pid), title, amount) and checkboxs.
When submit is clicked the data is passed to "instert into"
sql statement.
My question is how do I process checkbox when multi boxes have
been check. I keep thinking a ar
Woops -- first link is to the site for PHPFastTemplate.
> Lauri --
> You might want to take a look at: http://www.thewebmasters.net/php/
> there's a tutorial located here:
> http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html
>
> -- David
>> Hi there!
>>
>> During the last two we
Lauri --
You might want to take a look at: http://www.thewebmasters.net/php/
there's a tutorial located here:
http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html
-- David
> Hi there!
>
> During the last two weeks or so, I've been bugged by a question deep
> inside me. It's about v
Sean --
Give the attached scripts a shot, a post the results.
Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works
fine but with Netscape-4.9 it returns var names? But
when served from Unix/Linux and Apache all 3 work as expected !!
Anywhy give them shot. -- David
--- form.html ---
http:/
Sean --
Do you get the same errors, with Netscape 4.x?
> On 12-29 12:56, David Jackson wrote:
>> Sean --
>> Don't know if this help but here's what I just worked for me.
>> What ver. of PHP are you using? It seem to me that 3.x.x needs
>> PHPLIB: http://
Sean --
Don't know if this help but here's what I just worked for me.
What ver. of PHP are you using? It seem to me that 3.x.x needs
PHPLIB: http://sourceforge.net/projects/phplib
to handle sessions? -- David Jackson
--- sean.php ---
--- seaninc.php --
> On 12-29
All --
It appears that the problem was a table design problems,
my primary index wasn't set to auto-increment? So I was trying to
insert records with duplicate keys !!
This of course leads to another question, how do I return SQL error messages
to the browser?
Thanks,
David
--
--
PHP Genera
in in as a different id the records aren't
added?
Scripts: login.php and sales.php.
Thanks for your time and knowledge,
David Jackson
- login.php ---
";
echo "http://backoffice.pickledbeans.com/index.html\";>";
echo "";
mysql_free_result ($resu
), you could use a simple shell script and
run it as a cron job.
Hope this helps,
David Jackson
> Hi list,
>
> I am in a big trouble. My deadline is coming and I couldn't solve my
> problem yet! I have this script that outputs a table that can be seen
> at
> http://www.
Charles ---
As a general run on an Unix server httpd is run as user and group "nobody".
> I have been looking through the docs and found no help on either
> finding which user the EXEC'ed commands run as, or how to specify which
> user they should run as. I tried exec, system, and passthru run
Greetings --
PHP + MySQL + sessions?
I'm trying use the script( and html page) to below to set session
variables, but
keep getting the follow errors:
NOTE: I seen several posting re: using $HTTP_SESSION_VAR is another case
where
that would apply?
Thanks in advance,
David Ja
55 matches
Mail list logo