I'd like to be able to run a mysql_query() once while executing more than
one mysql command... for example:
while($row = mysql_fetch_array($result))
{
$query_cmd = "INSERT INTO tblTest1 (number) VALUES (1);";
$query_cmd .= "INSERT INTO tblTest2 (id, val) VALUES(LAST_INSERT_ID,
'some data
Hi.
I've tried this:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-control: private");
header("Cache-control: no-cache");
header("Cache-control: no-store");
header("Cache-control: must-revalidate");
header("Cache-control: proxy-revalidate");
header("Cache-control: max-age=0");
Duh! Thanks guys that's what I was missing.
-Original Message-
From: Bas Jobsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 8:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Problem with HTTP_POST_VARS
put a $ before HTTP_POST_VARS
be:
$Agree_to_Terms_of_Membership=$HT
You missed the $ before HTTP_POST_VARS. its $HTTP_POST_VARS (its a variable,
not a constant. only constants dont have a $ before them)
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
From: "bob" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday,
Hello,
I'm trying to do a simple form for a local organization and I'm running into
problems with the server. I am unable to get any of the variables in the
html code to post across to the php file. So, I'm figuring register_globals
is off. So I change my code to use HTTP_POST_VARS and HTTP_GET_V
Hello,
Using php v 4.2.2 with pdflib support, on apache v. 1.3, and redhat
linux 7.2.
I for some reason can not get a pdf_setfont, pdf_set_text_pos,
pdf_[anything], to work inside a function. What is going on. All the pdf
extensions work find as long as I dont try to use them inside a functi
i used the same techniqu a while back when i worked with Fast Template.
scenario:
- present a user with a form to input
- there are several text fields and several select options
- if there is/are error(s) upon form submission, we will call the same template
file and insert proper error messages a
You need to look at mysql_list_dbs(), this returns an array of all
available databases on a connection.
--
MGS2 Online
http://www.mgs2online.f2s.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]
> says...
> > ok unix.h problem solved but now it's saying can't locate
> .libs/libZend.a
> > any ideas?
> >
> >
>
> Furrfu - don't tar all *nix with the same brush :-) Presumably, for some
> reason, that file hasn't been created? Have a l
Hi
I am building (or attemting to build) an msn messenger class. I am having
problems reading from the socket.
I open a connection with fsockopen(), i then write commands to the socket
with fputs(). I am reading wth fgets().
It is all fine if I am reading one line returned by the server, the
Hi
> for the first case - using "\n", try :
>ereg_replace('\n+', '\n\n\n', $str)
This is right, apart from the fact that \n characters will no be parsed
with single quotes. Try this...
Sorry, just a minor thing.
Mike
--
MGS2 Online
http://www.mgs2online.f2s.com
--
PHP General Maili
> On Thu, Jul 25, 2002 at 12:36:27PM +0200, Nicklas af Ekenstam wrote:
> >
> > In order to read the headers into an array of header key/value fields
> > i would like a reg exp to remove all new lines/line feeds before a
> > line starting with one or more white spaces or tabs.
Pardon my prior pos
It comes with the zip file of that distribution - and it works fine (except
for TTF which I can't for the life of me get to work on Win32)
frak!
"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Jadiel,
>
> i do that the file ur after and tried sending it
Hi
I have this regular expression:
(((http|https|ftp|gopher)|mailto):(//)?[^ <>"\t]*|www\.[-a-z0-9.]+)[^ .,;\t<">\):]
Which is supposed to match hyperlinks. I would like to use this
from php to grab all hyperlinks in a text file and return them
in an array.
I've messed around with the function
On Thu, 25 Jul 2002, Nicklas af Ekenstam wrote:
> I'm trying to do some parsing of mail headers and since not all
> headers follow the pattern:
>
> X-Header-A: A string
> X-Header-B: Another string that is longer
> X-Header-C: And this string is very very long compared
>
> But may very well look
> elseif ((!isset($HTTP_SESSION_VARS['clk']) ||
> (!isset($HTTP_SESSION_VARS['holy_cow']) ||
> (!isset($HTTP_SESSION_VARS['ipaddy']) ||
(!isset($HTTP_SESSION_VARS['a']))
Your parenthesis don't match up, if I can count correctly today.
---John Holmes...
--
PHP General Mailing List (http://ww
Ok, I noticed a couple things.
One: There's no } ending your elseif statement.
Two (and the big one): Why all the opening brackets before your isset()
functions? I'm not sure if you're trying to do some nested logic in there,
but if so it will be much more readable if you use nested if stateme
On Thu, 25 Jul 2002, lallous wrote:
> Yes, I'm aware of the strpos() or any other non-regexp string functions...
>
> but it is either I use regexp to match a certain pattern or I'll have to
> write a char-by-char parser to emulate regexp searching and yet get the
> position of the occurence!
Onc
On Thu, 25 Jul 2002, David Buerer wrote:
> I can think of many reasons why displaying the pdf in the browser is a last
> resort and not a first resort. Especially in situations where the reader is
> not installed.
>
> Like Tyler, I would be quite interested to see if anyone has any ideas on
>
hehe.. ofcourse i ment:
...this will trigger both on insert and update.
"Ragnar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Maybe the wrong forum, but im giving it a try.
>
> Im used to for instance 2 columns in each table indicating when it was
> create
Josh Levine wrote:
> Warning: fsockopen(): no SSL support in this build in
> /usr/home/research/htdocs/tests/secure2.php4 on line 6
>
> I did include OpenSSL support...is there something else I need to
> include?
Nevermind, I just re-built it from scratch again and it worked. Now I'm
just havi
Hi,
Has anyone used PHP alongside MSDE?
I've recently taken a brief look at freetds which allows a UNIX/LINUX box to
talk to an MSSQL/SYBASE server, but I cannot find any metion of MSDE.
Can anyone shed any light on this or report any successes?
Cheers
Lee
--
PHP General Mailing List (htt
I believe MySQL will only automatically update one TIMESTAMP field per
record, according to their online docs. It will update if you don't specify
a value when inserting a new record. You can also use the DATETIME field
type which stores data as -MM-DD HH:MM:SS. This is what I use because
it's
Maybe the wrong forum, but im giving it a try.
Im used to for instance 2 columns in each table indicating when it was
created and when it was last updated:
Changed_date
Registered_date
In mysql it seems it is only possible to define a column as a timestamp, and
this will trigger both on insert
> Do you charge by the page, script or by the hour (that would
> be nice).
We do this sort of thing in, basically, one of three ways...
1. Client gives us a budget and we give them a clear idea of what that
budget will get them.
2. Client gives us a good idea of what they want to achieve
On Thu, Jul 25, 2002 at 10:26:03PM +0200, Bas Jobsen wrote:
> Hello,
>
> I have this example code:
> function doprint($a){foreach($a as $value)echo $value;}
> doprint(array('1','test','hello','and'));
>
> Question, is the array in memory after the function call?
> So, should it be better to use
Hi:
On Thu, Jul 25, 2002 at 02:40:28PM -0600, Jas wrote:
> I am getting a parse error on line 14, I am trying to make sure session vars
> are being set before rendering the page. This is lines 12,13,14 & 15.
The way you posted it here, it's hard to tell which line is which.
Layout your script
Yep, it's CGI! It's compiled in binary with the force-cgi-redirect enabled.
Need to turn this off in PHP since I'm using IIS, not apache. It's not
working very well but at least, running websites with different php versions
work well.
THanks
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in messag
Thanks!
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 4:13 PM
To: Hong Tian
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] patch of php
On Thu, 25 Jul 2002, Hong Tian wrote:
>I download patch of php-4.2.0-to-4.2.2.patch.gz from http://www.php.n
Yea, I recently put them into 2 different directories. I'm doing the
research on cgi vs. isapi right now. Anyway, I create a test site and it
showed up okay, got the error message about the security-alert, something
about the cgi that can not be accessed directly. My impression is that they
are
I make my own :
What u think about :
begin
";
echo "REQUEST_URI $REQUEST_URI ";
echo "SCRIPT_NAME $SCRIPT_NAME ";
echo "PATH_INFO $PATH_INFO ";
echo "PATH_TRANSLATED $PATH_TRANSLATED ";
// Array ( ) Array ( ) PHP_SELF /path2vars/index.php/var1,val
> > > $query = "select user_id from users where username='$username'";
> > > $query_db = @mysql_query($query, $db_connection);
> > > $row = @mysql_fetch_array($query_db);
> > > if($row) {
> > > $message[] = "That username is already taken. Please select
> > > anoth
Christoph Grottolo wrote:
> If you use cgi, no problem, just put the php.ini into the php
> directory (instead of the windows directory). This works.
sorry, forgot to write:
put the different versions of php into different directories (i.e.
c:\php\php421 and c:\php\php430)
Christoph
>> There a
The error is one from mysql stating that I am trying to add a duplicate
entry. I would rather handle this in my code hence the following lines in
my code.
if($row) {
$message[] = "That username is already taken. Please select
another.";
} else {
Thanks for the respon
1) session_start() is not really required on any other pages beside the
index.php because session_register take care of that for you.
2) It should work when you try session_register() on the index.php, use a
makeup name, like session_register("user") then assign the data to it, like
$user[usernam
If you use cgi, no problem, just put the php.ini into the php directory
(instead of the windows directory). This works.
If you use isapi, i think it's not possible, but i'm not shure.
Christoph
Scott Fletcher wrote:
> Hi!
>
> There are a couple of websites I had to move from one machine to this
Are you using the CGI executable or the server plug in thingy?
If you're using one of each, the server module looks for C:\windows\php.ini
and the executeable looks for php.ini in the same directory as the
executeable.
If you have two CGI versions, you could rename one and rename its php.ini
acc
I had experienced similar problem like that in the past. Part of it had to
do with the header() function. Your script checked out fine, just like mine
did. Try remarking the line of code where hte header is and see if you
don't have hte parse error, if this is the case then it's the header().
"
I am getting a parse error on line 14, I am trying to make sure session vars
are being set before rendering the page. This is lines 12,13,14 & 15. Any
help is appreciated.
Jas
if ((!$u_name) || (!$p_word)){
header("Location: index.php");
session_destroy();
exit; }
/* Check for missing sessio
Hi!
There are a couple of websites I had to move from one machine to this window
machine and it introduced two new problems. There are two different version
of PHP, however IIS can work with two different version of PHP without a
problem. The 2nd problem is to have two different php.ini file fr
Hello,
I have this example code:
function doprint($a){foreach($a as $value)echo $value;}
doprint(array('1','test','hello','and'));
Question, is the array in memory after the function call?
So, should it be better to use this:
function doprint($a){foreach($a as $value)echo $value;}
doprint($tem
Instead of :
;extension=php_gd.dll
Try:
extension=php_gd.dll
Sign ; is a comment... so you must delete it ...
--
Lp,
Mitja
"Ryan Moore" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am trying to use GD Library on a windows 2000 installation of PHP.
> php_
On Thu, 25 Jul 2002, Hong Tian wrote:
>I download patch of php-4.2.0-to-4.2.2.patch.gz from http://www.php.net and
>try to update our PHP 4.2.0 to 4.2.2. But I can't find instructions how to
>update PHP by using this patch of php-4.2.0-to-4.2.2.patch.gz. Could anyone
>tell me how to patch it or w
On Thu, Jul 25, 2002 at 02:51:13PM -0400, Anup wrote:
> Hello, I am stuck here. In the name of efficiency I want to lower the number
> of callls to the database. So I am trying to give the most stringent query
> possible. This is the problem: I have stored the surfers shopping cart,
> where each i
On Thu, Jul 25, 2002 at 12:36:27PM +0200, Nicklas af Ekenstam wrote:
>
> In order to read the headers into an array of header key/value fields
> i would like a reg exp to remove all new lines/line feeds before a
> line starting with one or more white spaces or tabs.
In ereg_replace() you can use
What is the error you get?
---John Holmes...
- Original Message -
From: "Preston Wade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 3:20 PM
Subject: [PHP] suppressing errors
> Hello All,
>
> I am trying to use the "@" symbol to suppress errors returned by a
This will allow you to compile PHP 4.2.x as a shared object into Apache
2.0.39.
Credits to somebody on Google Groups (I can't recall, but I needed an answer
to this too a couple weeks back)...
1. Open up the file php_functions.c in /sapi/apache2filter/
2. Change MODULE_MAGIC_AT_LEAST to AP_M
>Wow, Thank you for the explanation, it helped out a lot ;)
>I don't know regex very well, but I hope that this will give me a better
>understanding of it.
>Thank you Yet again,
>Mike
>
good luck understanding. personally it is one of those things that I dust
off and pull out the help docs e
If you dowloaded the PHP 4.2.2 installer you don't have the php_gd.dll in
your machine, you have to download the PHP 4.2.2 zip package from php.net
and overwrite all your files in the php folder, this zip file contains all
the dll's for windows including the php_gd.dll, then remove the ; in the
Hi,
I have a problem with conditional image generation. If I generate an
image without any conditional statments, then everything works fine. But
if i introduce conditional statment, then no image is generated in
either case of the condition.
Has anyone dealt with this dilema before?
Thanks in
On 25 Jul 2002 at 12:12, Matt Babineau wrote:
> When first speaking with a client, would you charge an initial
> constation fee for lets say conference calls? How would you invoice
> stuff like this? on a monthly basis? Or every two weeks?
Hi,
I apologize for adding some noise but I really don'
Hi
I am still battling alot with understanding how sessions work (don't
work in my case).
Firstly: I am trying to find a reliable method for coding with sessions
that will work on basically any server and any browser; meaning no
cookies and passing the SID to all url's manually.
My app has the
Hello folks,
Apologies for the cross-post, but I wanted to announce the publication
of a new HOWTO on compiling ODBC support into PHP and Apache with the
iODBC Driver Manager:
It's available at the www.iodbc.org site in the left hand column.
You may view the document directly at:
http://www.io
Hello All,
I am trying to use the "@" symbol to suppress errors returned by a
mysql_query call. This doesn't seem to be working as I get an new page with
the error in it in my browser. Any help with this would be greatly
appreciated.
Here is a snippet of the code I am using
$query = "se
Not only the solution just posted, but I was using this before and
needed to set the dll used to php_gd2.dll, I am pretty sure it got
renamed in one of the more recent releases of PHP.
Matt Babineau
MCWD / CCFD
-
e: [EMAIL PROTECTED]
p: 603.943.4237
w: http
Well yah.. I mean you can move the array pointer by simply looping through
the array 16 times. But why not simply take care of this in your SELECT
statement?
"SELECT .. blah blah blah.. ORDER BY firstname DESC LIMIT 16, 1"
Returns one row starting with the 16th row ordered by the firstname in
d
[snip]
I am trying to use GD Library on a windows 2000 installation of PHP.
php_gd.dll is in the extensions folder and the line: ";extension=php_gd.dll"
is in my php.ini file, but I recieve the error: "Fatal error: Call to
undefined function: imagecreate()" when I try to use the
imagecreate(100,
I'm not a windoze user but if that line has a ";" at the beginning of it
like you have it in your message then it is commented out! LOL. :-)
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: "Ryan Moore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent
Well you could do something like this:
while ($row = mysql_fetch_array) {
echo "$row[data1]"
}
This will print out a table row for every record.. Now if you just want to
print specific records then you might as well do that in the select
statement to your database and then use the above...
Ch
> From: Nathan Cook [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 25, 2002 2:52 PM
> Subject: Re: [PHP] New way to make select boxes auto select
> How are you able to quickly and painlessly determine which
> key gets the
> selected value, from form submission data, when building the
> init
Sure. You want the eval() function. Can be a little tricky but you'll get
it.
http://www.php.net/manual/en/function.eval.php
-Kevin
- Original Message -
From: "Joshua E Minnie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 12:54 PM
Subject: [PHP] Implement P
well, you could simply loop through the session vars and build the query as
you go.
$query = "SELECT * FROM Inventory WHERE";
// I'm assuming you keep your item numbers in a "items" or something similar
foreach ($HTTP_SESSION_VARS['items'] as $pid)
$subquery .= " ItemNumber = '$pid' OR ";
//
Hello,
On 07/25/2002 05:27 AM, Justin French wrote:
>>You'll need to catch bounces as they come in. To make life easier, assign
>>your own unique Message-IDs and remember them, so you can easily
>>invalidate addresses.
>
>
> Erm, I'm on a shared server, so I don't *think* it's that easy unfortu
You might be making it more difficult than it needs to me. You're not
dealing with a huge number of queries here so why not just loop it? I would
simply loop through the $_SESSION array and query the dbase for each item.
foreach ($_SESSION as $key => $val)
{
$query = "SELECT * FROM inventor
If I select all from my db how can I print the individual results? For
example, say i want to print record number 16 from the firstname column into
a table. How can i accomplish this? I have all of my db access coded and
have it selecting all from the db, but i want to print individual records
Hi there, I've got a quick question concerning PHP and mySQL. I've got a fresh server
with recent versions of Red Hat Linux, mySQL, PHP and apache. My problem is that when
I call mysql_pconnect, my PHP code hangs and doesn't proceed. I can't check
mysql_error because it doesn't go beyond thi
The apache configure line was a vanilla configure, only turning on
mod_rewrite and enabling so.
It's really as basic of a configure as I could do.. I don't understand why
it failed. :(
So I did what someone else suggested, tried the ports.. installed apache2,
fine, tried to install mod_php4, sel
Is it possible to run PHP that is embedded within a string? I have a file
that is read into a string and returned to the browser, how can I run that
PHP?
i.e.
some html codegetForm("guest"); ?>some more
html code";
return ($str);
}
echo $obj->something();
--
Joshua E Minnie/CIO
[EMAIL PROTE
I am trying to use GD Library on a windows 2000 installation of PHP.
php_gd.dll is in the extensions folder and the line: ";extension=php_gd.dll"
is in my php.ini file, but I recieve the error: "Fatal error: Call to
undefined function: imagecreate()" when I try to use the
imagecreate(100,100) fu
Hello, I am stuck here. In the name of efficiency I want to lower the number
of callls to the database. So I am trying to give the most stringent query
possible. This is the problem: I have stored the surfers shopping cart,
where each item is stored as a session variable.Now on the database I have
From: "Johnson, Kirk" <[EMAIL PROTECTED]>
> Do you know what happens here if the error reporting is set to max?
> Are a bunch of "unitialized variables" warnings issued?
That would be my assumption. I suppose you could initialize the variables
first to circumvent that. I was more or less looking
> // buildSelect -- return a Select box named $selectName based on key
value array $selectArray
> ...
> // $arr = array('MD'=>'selected','DC'=>'','VA'=>'');
How are you able to quickly and painlessly determine which key gets the
selected value, from form submission data, when building the initial
Yes sure, You need to install the Informix-CSDK or I-Connect in the machine
with the server (download from www.informix.com/evaluate) .
Configure the files /etc/services and $INFORMIXDIR/sqlhosts. Also add the
informix libraries to the LD_LIBRARY_PATH.
Then configure and make PHP with the --with
> would look like this:
> http://www.domain.com/script.php?var1=value1&var2=value2
> there would be a document name << script.php >>
> followed by the << ? >>
> then variable and value pairs << var1=value1 >>
> separate each variable/value pair with an ampersand << & >>
>
> Hope this helps
>
> Bre
>http://www.domain.com/var1_value1/var2_value2/
would look like this:
http://www.domain.com/script.php?var1=value1&var2=value2
there would be a document name << script.php >>
followed by the << ? >>
then variable and value pairs << var1=value1 >>
separate each variable/value pair with an ampersand
Try building apache2 and modphp4 using the FreeBSD ports system - that's how
I compiled and it works fine here.
HTH
Danny.
Apache2.0.39/PHP4.2.2/FreeBSD4.6
- Original Message -
From: "Chad Day" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 5:38 PM
Subject: [P
Downloads for the Windows binaries are broken.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I was looking for a query_string wrapper for web crawlers
I found pathtovars :
http://www.phpclasses.org/browse.html/package/561.html
English is not my native language.
I didnt manage to use efficently this script !
Even with the sample !
I don't know how to map url ?
How to generate an
Hi,
I download patch of php-4.2.0-to-4.2.2.patch.gz from http://www.php.net and
try to update our PHP 4.2.0 to 4.2.2. But I can't find instructions how to
update PHP by using this patch of php-4.2.0-to-4.2.2.patch.gz. Could anyone
tell me how to patch it or where can I find this information to up
> From: Nathan Cook [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 25, 2002 12:34 PM
> Subject: [PHP] New way to make select boxes auto select
>
>
> You may already be doing it like this, but I think I found a
> new way to
> make select boxes auto-select (what data they put in) a lot
> eas
Nathan, this is a new idea to me and very interesting. Do you know what
happens here if the error reporting is set to max? Are a bunch of
"unitialized variables" warnings issued?
Thanks for contributing this to the list.
Kirk
> -Original Message-
> From: Nathan Cook [mailto:[EMAIL PROTE
Interesting technique. Depending on your error_reporting levels, you may get
a bunch of undefined variable warnings, though.
I usually use a config file with arrays for my select boxes. Something like
$_CONF['Something'] = array("This","That","And","Something");
Then just create a function like
David,
The error probably has to do with your PHP environment being unable to
locate your odbc.ini file.
You will need to set your odbc.ini location as well as the location of
the driver manager.
Check out this HOWTO http://www.iodbc.org/odbc-phpHOWTO.html to get an
idea of how it all works -
How does it fail?
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Virtuoso Universal Server
-Original Message-
From: David Busby [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 4:29 PM
To: php-gener
Hi Emile,
Sure, ODBC should work just fine.
Let me know if you need info on setting it up.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Virtuoso Universal Server
-Original Message-
From: Emile Bosch [mai
ODBC can do this directly - no root privs needed.
http://www.php.net/odbc
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Virtuoso Universal Server
-Original Message-
From: Lazor, Ed [mailto:[EMAIL PROTECT
Naw, this is Linux :)
But for anyone searching the archives, the "Data source name not
found, and no default driver specified" means one of four things:
1. you don't have a DSN with the name you are using
2. you don't have a driver where the DSN expects to find it
3. on Windows, you are trying
Thanks bunches
"John Holmes" <[EMAIL PROTECTED]> wrote in message
001101c233ba$3de3d430$b402a8c0@mango">news:001101c233ba$3de3d430$b402a8c0@mango...
> > I have a datetime field in one of my mysql tables...when displaying
> some
> > of
> > my records I want to display the date in the aforemention
http://www.php.net/manual/en/function.array-key-exists.php
The name of this function is key_exists() in PHP version 4.0.6.
Damn those elusive manual pages :-/
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: "David D" <[EMAIL PROTECTED]>
To: <[EMAIL
I can think of many reasons why displaying the pdf in the browser is a last
resort and not a first resort. Especially in situations where the reader is
not installed.
Like Tyler, I would be quite interested to see if anyone has any ideas on
how to convert from pdf to html.
-Original Mes
4.2.2 will not work with apache 2.X from what I've read. However, I have
heard that if you get the latest CVS of both php and apache it will work. I
have not, and probably will not, go down that road just yet :-)
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
SNIP//
So that leaves hourly or by the project (not mentioned). Personally, I
like to do it by the project, although I am probably a minority in my
preference. By the project gives the client a nice set price. However,
the scope has to be extremely well defined. It should be anyway, but
more so if
http://www.php.net/manual/en/function.array-key-exists.php:
Note: The name of this function is key_exists() in PHP version 4.0.6.
Op donderdag 25 juli 2002 18:53, schreef David D:
> hello all,
>
> I download a gni script path2vars that manipulate query_string for web
> crawlers.
> But I have ph
Why not just display the pdf's in the browser? The only caveat is that IE
has to be properly patched if 5.5, and there is the minor inconvenience of
users having to install the Acrobat Reader. Most people have already done
that, so it's practically a non-issue.
The manual shows how to feed a p
Richard Lynch wrote:
> > $hostname = 'ssl://155.246.211.23';
>
> You have to be running PHP 4.3.0 (IE, CVS or snapshot) to use 'ssl://' with
> fsockopen, according to the manual.
>
> You may have to use cURL for now, or develop in 4.3.0 and deploy when it's
> ready, or...
I tried mucking arou
hello all,
I download a gni script path2vars that manipulate query_string for web
crawlers.
But I have php 4.06 that doesnt support function :
uses array_key_exists() (PHP >= 4.1.0).
Is there a way to substitude it ?
Is there a way to detect php version and incluse the functions or it
substitute
Yes, that will indeed return the rows specified, but the result is very unstable. By
it's nature, MySQL does not have to conform to any sorting method unless you specify
it. So it's very good practice when retrieving multiple rows to ALWAYS order them.
Just my thoughts :o)
Martin
>>> "Tech
On Thu, 25 Jul 2002, Gerard Samuel wrote:
> Do you charge by the page, script or by the hour (that would be nice).
It's a tough thing to do, but consider charging by the project. You'll
find a most equitable payment/compensation when you establish up front how
valuable the project is to the cli
Simple build, no real complicated configure options
(--with-mysql, --with-apxs2..) ..
During make:
php_functions.c:93: syntax error
*** Error code 1
Stop in /usr/local/php-4.2.2/sapi/apache2filter.
etc
etc
Any idea what the problem would be? I googled around for a little and heard
there mig
On Sun, Jul 21, 2002 at 08:50:15PM -0400, Chris Earle wrote:
> Is there any way to fseek (or something to the exact same effect) a file
> opened with "a" or "a+"?
>
> I've tried rewinding and fseeking appendable files, but neither work.
>
> Opening up in "r+" gives me part of the desired result,
1 - 100 of 206 matches
Mail list logo