, the cgi binary was compiled with nothing but "./configure"
and the info page confirms this.
So it seems Apache is handling everything correct, the page gets passed to
the proper php binary, and the result is correctly served back to the
client.
DAve
On Sun, Oct 21, 2001 at 12:18:07PM -0
r.
Header() MUST be the vert first thing sent to the browser.
Hope this puts you on the right track
Dave
-Original Message-
From: Zavier Sheran [mailto:[EMAIL PROTECTED]]
Sent: 19 October 2001 23:13
To: [EMAIL PROTECTED]
Subject: [PHP] Error on session_start()
When I try to start a
d technique but
it's very frustrating. I tried with 2 different FTP servers where I have
all the necessary rights.
Is it possible to solve this problem or it's a feature in PHP?
Dave Létourneau
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I only fopen my file once...
My program checks if there is a specific session cookie. If not (it's a new
user that browse the site) I set a cookie and try to store the unique ID of
this user (other cookie) in a file with a timestamp to track which user came
and when (+ nb of times...). That's w
I got the same error message when i opened it with "w"... A append
operation opens the file in r/w? I'm not sure... I though it needed a "+"
: a+, w+... anyway, I think I'm gonna use a database (mysql) and it will be
easy to to what I need but this problem is very strange.
Thanks!
> Aha -- I
lowed to run PW for
obvious reasons)... and shelling out to a script results in similar setuid
restrictions... again for obvious reasons.
thoughts?
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
L box, mssql_query (...) just returns false, and I don't
get anything in $php_errormsg or mssql_get_last_message(). Is there a way
to tell what the error was? (The query can return one of two errors, I need
to know which it was.)
Many thanks for any help you can give,
Cheers,
Dave.
--
P
Has anyone got error messages working from MSSQL or Sybase (connecting from
a unix box)?
Dave.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
few bytes
each time you add another copy of the picture). You can also print it
directly.
Mail me off list if you need to create a large number of PDFs quickly.
Dave.
> -Original Message-
> From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]]
> Sent: 11 December 2001 08:09
>
fine depending on how many users/transactions
you've got. MySQL is easier to plug into PHP (it supports it directly),
Access you need to use the ODBC stuff (but it can be done). Learning MySQL
is probably a good thing - learning SQL is definately a good thing ;-)
Hope this helps,
return TRUE;
> -Original Message-
> From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
> Sent: 10 December 2001 11:06
> To: [EMAIL PROTECTED]
> Subject: [PHP] Test message.
>
>
> Test
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
Folks,
I am in the process of trying to install PHP 4.0.4pl1 on my Digital Unix 5.1
machine. I follow the instructions from php.net and in the install
instructions. I can do everything right but, after I run the ./configure
--with-mysql --with-apache=../apachex --enable-track-vars, I run the ma
Works fairly
well when I've needed it.
http://www.freeviewer.com/
DAve
--
Dave Goodrich
Director of Interface Development
Reality Based Learning Company
9521 NE Willows Road, Suite 100
Redmond, WA 98052
Toll Free 1-877-869-6603 ext. 237
Fax (425) 558-5655
[EMAIL PROTECTED]
http://ww
ll me how to read command line parameters
passed to a script (I'm running 4.0.6 under NT)?
Cheers,
Dave Mariner.
[EMAIL PROTECTED]
www.medlab-group.com
- Original Message -
From: "Vahan Yerkanian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
S
displaying names?
>
> Thank you very much in advance.
>
> George
>
IndexOptions NameWidth=30
That works, just tried it and got 30 characters. Provided you have
autoIndexing turned on.
DAve
--
Dave Goodrich
Director of Interface Development
Reality Based Learning Compan
file size to 5M. And with full permission on temp
and upload directory in IIS. php.ini max file size to
10M.
Thanks,
Dave
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
PHP General Mailing
> -Original Message-
> From: Tim McGuire [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 2:30 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] List of included file names.
>
>
> Hi,
>
> I searched the archives for this.
>
> For debugging purposes, I want to see a list of the inclu
b/logs/myWeb_error_log
That would make the include directory outside the server root. You could
just as easily put it inside and name all your files *.php. But that has
been discussed at length already ;^)
DAve
--
Dave Goodrich
Director of Interface Development
Reality Based Learning Company
9
e-module=in
> clude --enable-shared=include --prefix=/usr/local/apache
>
> Thanks everyone,
> Tyler
>
Is this the answer you need?
http://marc.theaimsgroup.com/?l=apache-modssl&m=97687491607953&w=2
DAve
--
Dave Goodrich
Director of Interface Development
Reality Based Learning
eaking suspicion that there's a more elegant way than either
of these, but can't think of it at the moment.
If you come up with the solution there's a beer in it for you the next
time you're in Paphos, Cyprus!
Thanks in advance,
The problem with doing it this way is that it is not extensible.
A manufacturer cannot add, say, MP3 players to the list at a later date
without breaking the car table. Also, in time, there could be quite an
extensive list of features - which would lead to an inefficient storage
system.
Dave
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "Dave Mariner" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 4:32 AM
Subject: Re: [PHP] [OT-ish] Optional Extras.
> Why not have a table that contains c
- Original Message -
From: "Rich Cavanaugh" <[EMAIL PROTECTED]>
To: "Dave Mariner" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 1:53 AM
Subject: RE: [PHP] [OT-ish] Optional Extras.
> Dave,
> I did something simi
rect to a thank you page. This could be set to time
out and close if you wanted, or offer a validation step as well.
DAve
--
Dave Goodrich
Director of Interface Development
Reality Based Learning Company
9521 NE Willows Road, Suite 100
Redmond, WA 98052
Toll Free 1-877-869-6603 ext. 237
Fax (425)
es are set and they are.
I've been trying to sus this out all morning and haven't cracked what I've
missed so I'm going for a walk to get some freash air.
Any help would be appreciated, as usual.
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
Fixed it.
Seems I had to copy a file php4ts.dll to c:\windows\system.
Found the answer here;
http://www.faqts.com/knowledge_base/view.phtml/aid/5495/fid/336
Cheers,
Dave
- Original Message -
From: "Dave Stewart" <[EMAIL PROTECTED]>
To: "PHP (General)"
ermshouldnt that be
if($month == "00" ) {
....
?
Dave
- Original Message -
From: "Richard Kurth" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 12:35 PM
Subject: [PHP] verifying that a dropdown was sele
E/Netscape 4+ on Mac, Windows, and Unix/Linux every day.
DAve
on 7/8/01 2:52 PM, Christian Calloway at [EMAIL PROTECTED] wrote:
> I've had the same problem with Netscape, where it would crash/choke on any
> platform. I never figured it out, but it has something to do with Netscape
hes function.
I was wondering if anyone could help me out with this as I haven't a clue
where to start editing the script.
Many thanks,
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
out checking for the
> existence of "notexists.php" first.
>
That would be the correct response from apache.
Add this to your httpd.conf
ErrorDocument 500 /path/to/my_error_page.html
That should get you the result you want.
DAve
P.S. http://httpd.apache.org/docs/custom-error.htm
e.
Mostly what I'm trying to do is have that ok/cancel take place before I do
anything with the page currently being displayed.
Can anyone offer pointers to a method of achieving this?
CYA, Dave
---
Outback Queensland In
tuff and it really helps to see working
examples - or references to relevant code snippets etc.
CYA, Dave
---
Outback Queensland Internet - Longreach, Outback Queensland - Australia
http://www.outbackqld.net.au
lieve) since
wget can read url inputs from a file.
What doesn't work on your end?
DAve
on 7/15/01 9:59 AM, Clayton Dukes at [EMAIL PROTECTED] wrote:
> Is there a utility available that will get PHP based websites?
> Wget doesn't do it
>
> TIA!
>
> Clayton Dukes
&g
on 7/15/01 9:43 AM, Chris Cocuzzo at [EMAIL PROTECTED] wrote:
> platform: win 98 se
> browser: IE 6 public beta
That is your problem. Tried MS website?
DAve
> proxie: not using one or whatever
> connection: LAN-mediaone
>
> -Original Message
10:22 downloads.php
-rw-r--r-- 1 sysadmin rbldev 18212 Jul 15 10:22 index.html
drwxr-xr-x 2 sysadmin rbldev 4096 Jul 15 10:22 license/
-rw-r--r-- 1 sysadmin rbldev 18090 Jul 15 10:22 links.php
drwxr-xr-x 12 sysadmin rbldev 4096 Jul 15 10:23 manual/
drwxr-xr-x 2 sysadmi
t; expDate("11/2002");
> print "$month $year";
> ?>
would do it I expect.
CYA, Dave
---
Outback Queensland Internet - Longreach, Outback Queensland
/forms.
CYA, Dave
---
Outback Queensland Internet - Longreach, Outback Queensland - Australia
http://www.outbackqld.net.au mailto:[EMAIL PROTECTED]
---
-
chine, and I don't want to retrofit it just to
test this one thing out!
Thanks in advance,
Dave Mariner.
On 17 Jul 01, at 16:30, Yassel Omar Izquierdo Souchay wrote:
> Put the same text inside php example
> echo "" the next code
and if you want it to work reliable do is this way:
echo "";
and
I had this problem last week
You need to add the stripslashes function to the string that contains the
uploaded text.
print stripslashes($file) or print stripslashes($contents) I think should do
it.
Dave
- Original Message -
From: "Corin Rathbone" <[EMAIL PROTECTED]
numrows($sql) < 1)
{
echo "failed or no data found";
} else {
echo "passed";
}
Seems to work for me.
CYA, Dave
---
Outback Queensland I
mewhere or want to display some sort
of message before the redirection takes place.
No doubt there's other solutions, there usually is.
CYA, Dave
---
Outback Queensland Internet - Long
as not been set
}
will do what you want.
CYA, Dave
---
Outback Queensland Internet - Longreach, Outback Queensland - Australia
http://www.outbackqld.net.au
when I run this I get
var unset var unset
If you're doing tests based on a var being set to 0 you may need to rethink
your tests or your use of the var.
CYA, Dave
---
Outback Queensland Internet - Longre
tent.
Then, inside the cells for each of the two columns you create another
table to hold your actual navigation and content.
CYA, Dave
---
Outback Queensland Internet - Longreach, Outback Queensland - Australia
http://www.
o to speak) and displays the page iwth all URL's conyaining the encoded
key.
you end up with one additional line of code per page (which we include as part
of site template)
unless you are looking for something else entirely and I am missing the point
(entirely possible).
Dave
>---
n alternate approach that will let me do this?
More from a program logic point of view than from an actual code example
point of view really. I guess that makes this close to off-topic but there
you go - hopefully it won't be considered too
r($ip);
except, perhaps, when there's also a firewall with NAT/MASQ involved - in
that case you'll probably not get much closer than the firewall's IP
address (at least, that's how it is on my network).
CYA, Dave
-
u could. That's not the way that the web site you refer to is
doing it.
CYA, Dave
---
Outback Queensland Internet - Longreach, Outback Queensland - Australia
ircumstance where someone has development
work sitting in their home directory - you now know the home directory.
Of course, security through obscurity is never a valid approach but it's
also worth trying to avoid the more obvious stuff if you
aster instructions, etc...
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
a on that row and then change the tags
accordingly (if you've already got the start of the row, add the new column
and end the row, otherwise start a row and add your data).
CYA, Dave
---
Outback
['uid'])
{
$option_block .= "$team";
} else {
> $option_block .= "$team";
}
> $option_block .= "$team";
> }
[etc]
Basically, you need to see if the value they selected is the one you're
currently working wi
On 24 Aug 01, at 11:18, Jeremy Morano wrote:
> echo " $team \n ";
echo "$team\n";
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ite at the moment to add a more robust admin
module but it's a while away from being released as I've got other more
pressing projects on the go.
CYA, Dave
---
Outback Queensland Internet - Longreach, O
basically, it's their server and they can do pretty much
whatever they like with it. If you don't like it you can attempt to change
their policy or vote with your feed and move elsewhere.
Just my opinion though.
CYA, Dave
array with
[identifier] => [contents]
[identifier] => [contents]...
ideas?
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ng up all night... can't wrap my head around it.
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I use a database (MySQL). I retrieve the list of people to send to and
then send one email at a time while looping through the results. Usually
it's a couple of hundred at a time, not sure how many you mean by "many
many"!!!
Hope this helped!
Dave
-Original Message--
code and the data from the barcode reader would go into the form field of
which I can issue a OnChange instruction, but I might be completely wrong.
Any pointers, urls, advice, hardware suggestions (UK Based) very much
welcome
Thank you in advance for any help
Dave Carrera
--
UK Web Hosting @
this is not as clear as mud and if you need further clarity to be
able to advise me then I will be happy to correspond.
I thank you fully in advance for any help, logic pointers or nuggets of
wisdom.
Dave Carrera
--
UK Web Hosting @ http://www.ephgroup.com
---
Outgoing mail is certified Virus F
helps
Dave Carrera
--
UK Web Hosting @ http://www.ephgroup.com
-Original Message-
From: Jason Davidson [mailto:[EMAIL PROTECTED]
Sent: 11 August 2004 19:00
To: Dave Carrera; [EMAIL PROTECTED]
Subject: Re: [PHP] Adjust two or more mysql rows ?
Yup, confused me...
what is it for
pdate the current $row[qty] to 0 then run the sql again as it will get the
row which has a qty value
Keep going til $newval = 0 exit.
Probably wont work as I have it laid out here but I think the basic logic
is ok.
Hers goes :-)
Dave Carrera
--
UK Web Hosting @ http://www.ephgroup.com
Hi List,
Anyone have any pointers to examples of Code 39 barcode generation using php
please.
Thanks for any help
Dave Carrera
--
UK Web Hosting @ http://www.ephgroup.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754
for people for this project.
Yours Truly
Dave Carrera
--
UK Web Hosting @ http://www.ephgroup.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.768 / Virus Database: 515 - Release Date: 22/09/2004
--
PHP General
Hello. I am working on a rather large form for my work that accepts, among
other things, 2 images, one smaller one 65 x 93 pixels, and a larger one 105
x 150 pixels, both in JPG format. Let me run through the whole process,
showing my code.
I use simple, standard HTML for the form:
I chec
Thanks for the reponse. Yes, the destination paths look fine and the PHP
error log displays no errors. Any other ideas?
Thanks.
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thursday 14 October 2004 02:40, Dave Grant wrote:
>
>> e
EMAIL PROTECTED]
> On Thursday 14 October 2004 02:40, Dave Grant wrote:
>
>> echo "Thumb image uploaded to ".$thumbPath."\n";
>> echo "Full image uploaded to ".$fullPath."\n";
>
> Do these look OK?
>
>> Everything work
options are useful for us.
If any of you good people have ideas or solution urls or pages for reading
could you please let me know.
I thank you fully in advance for any help with this
Dave Carrera
--
UK Web Hosting @ http://www.ephgroup.com
---
Outgoing mail is certified Virus Free.
Checked
I'm looking for an easy to use html textarea replacement script and figured
this was the place to locate the most popular.
Thanks,
Dave
HTC Disclaimer: The information contained in this message may be privileged and
confidential and protected from disclosure. If the read
make forms for php from
MySql tables but I cant locate a good one anywhere
Any pointers / urls will be most appreciated.
Sorry if this is OT.
Dave C
--
UK Web Hosting @ http://www.ephgroup.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
Hello, I wonder if someone has ran into a problem similar to or related to
this before.
I have a rather large form that, among other things, allows the user to
upload 2 images, one small, the other slighly larger. They upload just
fine, they show up in the $_FILES array, and I do error checkin
Can you show us what you're calling it with?
Al Padley
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
http://www.web-buddha.co.uk
Wow, there are some really bitchy, unattractive people here. No wonder some
people bail out of IT. Don't confuse knowledge for wisdom.
On 1/9/07, tedd <[EMAIL PROTECTED]> wrote:
At 9:17 PM -0500 1/5/07, <[EMAIL PROTECTED]> wrote:
>You'll probably get 50 answers to this, but here's probably what
Read the reponses.
Why not check php.ini to see whether display_errors is set to off and switch
it on until you are back in business? Check the httpd.conf file to make sure
Apache is parsing .php files correctly.
mysql_select_db
This may be more of a mysql issue, but I am using php for my app so here
goes...
I have a fee field in the database, and when users post events they can
specify entrance fee in £. In some, not all, of the fields I am getting, for
example, £7 rather than £. Is this an encoding issue?
Many thanks
Thanks guys. The issue is that users can specify text as well as currency in
the input field ie '£2 students / £5 general admission'.
Hi all, I posted a question a couple of days ago regarding a web app I have
wherein users are able to indicated prices and concessions via a text field,
and the resulting encoding issues I have experienced, the main one being
seeing the pound sign as £ if viewing the results in a browser with the
This is what I use:
$site = (!preg_match('#^http://#', $_POST['c_site'])) ?
raw_param(trim(strip_tags("http:\/\/" . $_POST['c_site']))) :
raw_param(trim(strip_tags($_POST['c_site'])));
don't worry about raw_param, that's a function of my own, but you get the
idea.
ber ok but email ok but password is not show error
If all is ok set sessions, got this ok, and proceed.
Any help with with this is very much appreciated.
Kind Regards
Dave C
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i am comparing the db result with the $_POST correctly
Struggling here a bit :-(
Dave C
Stut wrote:
Dave Carrera wrote:
Hi All,
Having a grey brain moment here and need some advise on the logic of
this, should be simple, login script.
I am checking validity of
customer number
customer
Hi all. I am building an online events directory and as part of the system
users can search for events by date, category etc.
The logic involved in finding events that match the user-entered dates works
like so:
1. we create a range of dates from the start and end dates specified by the
user
2.
Thanks for that - can't do that as all I know in the database is the start
and end date for each event (so I don't have to create mapping tables and
perform massive joins), the rest is handle dynamically.
I think I can do it using usort, this seems to work, any comments?
function compare($x, $y)
Hi all. I have an odd problem.
I am building an events directory and when users search, they provide a date
range ie Feb 16 2007 to March 12 2007 as one of the options for searching.
The system then creates an array of timestamps from this and then polls the
database for all events whose lifetime
I AM using the logic you and Jochem suggest in the query, I am not
performing any joins. I query for certain criteria re the start and end
dates held in the database, and once I have my set I then work with it
dynamically as I need to know, based on the event frequency, how many events
from that r
Thanks all for your input - you're all correct, I don't really need to use
timestamps as I am only interested in dates so will be reworking the app to
use dates only. I still need to generate sequences of dates and really don't
want to deal with DST, so my question is: can I add days to dates with
I assume you mean you want to hold that html in a variable? Use a heredoc.
Also, if you want to get into the habit of writing valid xhtml, use
lowercase and selected="selected"
Hi all. I am running an online charity lottery and am having issues with IE6
and sessions.
To fix them, I added the following at the top of each file:
ini_set('session.name', 'tlc');
header("Cache-control: private");
session_start();
...ran a local test in IE6 worked fine, then noticed more bla
$web = fopen('http://google.com/index.php', 'r');
$contents = file_get_contents($web);
if (preg_match('/$link/', $contents))... you got it
simplified and no error checking but you get the idea.
On 2/24/07, Otto Wyss <[EMAIL PROTECTED]> wrote:
With method="post" just $kind works fine (register_global) yet I've also
tried any combination of $_GET['kind'] and $_POST['kind']. With
method="get" it doesn't work.
O. Wyss
Peter Lauri wrote:
> How are you fetching the GET and POST? With $_GET
On 2/24/07, Dotan Cohen <[EMAIL PROTECTED]> wrote:
Also, if you're using the variable in a print string, then you'll need
to exit the string, like so:
$print "Hello, $kind!";
would become:
$print "Hello, ".$_GET["kind"]."!";
Dotan Cohen
http://easyanswers.info
http://nirot.com
--
PHP General
On 2/25/07, zerof <[EMAIL PROTECTED]> wrote:
Alain Roger escreveu:
> Hi,
>
> i stored all my pictures in my PostgreSQL DB as bytea type.
> Now i would like to know how can i display them in my PHP pages ?
>
> where can i find some example ?
>
> thanks a lot,
>
--
It is not a good
You have a typo in your code...
OK. Blank entries means that as date is passed in and validated via forms,
it is then entered into $_SESSION so data can be persistent as the user goes
back and forth. These values are eventually entered into the database and
are blank, whereas the few values that are entered from $_POST (ie credi
On 2/28/07, tedd <[EMAIL PROTECTED]> wrote:
At 11:22 PM -0500 2/27/07, John Taylor-Johnston wrote:
>I need an anti-spam-spider measure for my site. Too many addresses
>are getting raked. In once instance, I created a flash page:
>http://erasethis.glquebec.org/English/contact.htm
>But I just don'
Of course it's possible to output raw html in a php file, that's one of it's
fundamental uses! In fact, it's more efficient to switch the php parser off
and send raw html as the php parser doesn't need to get involved.
If you are running that from the command line, why do you need html? Not
sure why you're doing that.
301 - 400 of 1011 matches
Mail list logo