Clemson Chan wrote:
> Hi guys,
>
> I never can get mysql_insert_id?
> Is this broken with PHP4?
> Please let me know if you can get it to work. or work around.
It works here, but it returns only an ID if the table in which you add a
record has a AutoIncrement column, because it will returns the v
Hi all,
I am trying to set up a connection between my site and a payment system (bibit). Does
anybody know some good URL's which can help set up the connection and parse all XML
messages. I'm sure this must have been done before...so there should be no reason to
invent the wheel again.
thx.
Hi,
Try to learn many things from the test code i created below:
http://lgwm.org/ozone/dynatable.htm
Good luck,
Elias
"Roger Lewis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The Situation:
>
> I'm trying to create a pair of dynamic dropdown boxes wher
Hi all,
I am running PHP 4.2.2 on Apache 1.3.26 under MacOS X 10.2. My scripts'
functionality seems to have gone amok, and while I am not sure this is
the fault of php directly, I was hoping someone could help me track
down the problem.
Basically, if I have a script that I pass arguments to o
This is not a bug. This is just one of many differances between the big
browser war. With Netscape (not sure which versions), the attachment thing
I found is required. But with IE it kills the browser.
- Original Message -
From: "xdrag" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMA
Greetings,
I am a new user to php and sessions and for the life of me I
cannot figure this out
I want to be able to have a user login (which is completed), they goto a
search page (completed), and search for a particular item (completed). A
page will display all the links for the ite
I can't see anything sticking out...but why have you done this...
$test2Url = "test2.php?PHPSESSID=" . session_id( );
You don't need to do this. Try doing this
$test2Url = "test2.php";
Your server might be set up to use a different name for sessions
John Wards
SportNetwork.net
- Original
try this:
exec('convert picture.jpg -font Arial-Bold -pointsize 20 -fill red -gravity
southeast -draw "text 10,10 \'my text to add to picture\'"
text-overlay.jpg');
when you start with a single quote -> you have to end with a single quote
while escaping (using "\") all its occurences in the use
I use JavaScript cookie to accomplish what you're doing in your case:
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((d
> I want to be able to have a user login (which is completed), they
> goto a search page (completed), and search for a particular item
> (completed). A page will display all the links for the items searched
> for (completed). What I want out of sessions is to when they click on
> the link for a pa
You may use either dBase ( http://www.php.net/manual/en/ref.dbase.php ) or
http://www.php.net/manual/en/ref.dba.php
Ram K wrote:
> Hi
>
> I want to store the data of a table in a file and read that file just
> as one would read a table. For e.g. I have a table t_data with cols
> name,numbe
Your variable in session is called "Item", so session_register("SESSION") is
wrong. It should be session_register("Item"). But, as you use directly the
new syntax ($_SESSION) to affect the variable, you don't need
session_register. The variable "Item" will be automatically registered when
you writ
mysql_insert_id() will tell you the number of last auto_increment
insert, you can use this, but you must keep it using session on the
server side for security reasons. But better solution be to use session
or hidden fields in your forms to pass the values from page to page and
insert them at o
Dear all.
I have just had a discussion in which it was said that PHP cannot be used
to develop a *true* enterprise system.
In light of this, I would be very interested to hear you
comments/opinions/arguments on:
1. What would you consider to be a true enterprise system?
2.Is his statement correct
Hi ,
I want to know if there is any way to send data in
header("Location:login.php") .I know how to send like this but I need to use header and I dont know howto
do this?...
thanks alot
meltem demirkus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Hi,
I was wondering if anybody could tell me the best way and how to code sending an
attachement with an email form. I want the user to be able to browse and select the
file he wants to attach, and i want the reciepent to be able to see the file that has
been attached with the email.
Thanks
On Wed, 11 Sep 2002, Meltem Demirkus wrote:
> I want to know if there is any way to send data in
> header("Location:login.php") .I know how to send like thishref=\"login.php?id=$ID\"> but I need to use header and I dont know howto
> do this?...
header( "Location: login.php?id=${ID}" );
Hi all,
I have a problem...
I have 3 pages in a search mechanism.
Page 1 (Search.php)
unsets all related session variables.
It then displays a form which allows the user to specify search
criteria. Submission sends us to Page 2
Page 2 (generateListSQL.php)
Sets up the basic database search q
[snip]
I am running PHP 4.2.2 on Apache 1.3.26 under MacOS X 10.2. My scripts'
functionality seems to have gone amok, and while I am not sure this is
the fault of php directly, I was hoping someone could help me track
down the problem.
Basically, if I have a script that I pass arguments to on a g
hallo ...,
my name is ralf and i read the comments from the last weeks about
"download a file" with php on
http://www.php.net/manual/en/function.header.php.
i tryed a few of this examples, but i have still a problem with downloading
a file,
i.e. a "ms-word file" or a pdf-file or something else:
I know this may have been asked a thousand times but how do you pass null on
to a page as a value. Let say in a field where you have a yes and no. Null
needs to equal no. Is this more mysql? Can it be done in php?
Chuck Payne
Magi Design and Support
--
PHP General Mailing List (http://www.php.
Hi Chuck,
> how do you pass null on to a page as a value.
> Let say in a field where you have a yes and no.
> Null needs to equal no.
Pass from where?
If it's a checkbox on a form, just use isset() to test for the existence of
the variable: true means it's ticked, false means it isn't.
If i
Hi all,
Until yesterday i was running Apache/2.0.36 (Unix) mod_ssl/2.0.36 OpenSSL/0.9.6c
PHP/4.2.1 and was able to flush script output to browser (using flush() ), before the
script stops executing. I upgraded to Apache/2.0.40 (Unix) mod_ssl/2.0.40
OpenSSL/0.9.6g PHP/4.2.3 and on the same scri
[snip]
I have just had a discussion in which it was said that PHP cannot be used
to develop a *true* enterprise system.
In light of this, I would be very interested to hear you
comments/opinions/arguments on:
1. What would you consider to be a true enterprise system?
[/snip]
Here is one definiti
> On Wed, 11 Sep 2002, Meltem Demirkus wrote:
>> I want to know if there is any way to send data in
>> header("Location:login.php") .I know how to send like this > href=\"login.php?id=$ID\"> but I need to use header and I dont know howto
>> do this?...
> header( "Location: login.php?id=${
I have installed basilix 1.1.0 , I have imap too also php support for
imap but why every I get to basilix always get error like this:
xx.xx.xx.xx - - [12/Sep/2002:19:09:45 -0400] "GET index.php?testCookie=1
HTTP/1.1" 302 5
looping until I stop the browser .. any one how to solve this problem.
Hi,
I'm not aware of any existing code/samples for this, but the individual
components you need to break it down into are pretty straight forward:
1. Learn about forms, validation of user input, and in particular file
uploads (which there is a perfect library of working code in the manual:
http:
Hi Freaks,
I got a problem to solve. This script i wrote seems to have an failure but I don't
know why.
The Error Message is telling me, that I don't have the permission to do the action I
want to do. I thought it has some to do with my windows apache installation, but on
linux its the same b
I deleted the entire source upacked again then did the new
compile for the apache module.
I have the approprate lines in the httpd.conf file to load
the php modules. I just did httpd-l and made sure that the
module is loaded.
And the cgi iss for local scripting on the server only and I
do have th
Please Excuse,
the code must look like this:
if(!file_exists('../images/upload_tmp')) {
$dir = '../images/upload_tmp';
mkdir($dir);
chmod($dir, 0777);
$path = dirname($PATH_TRANSLATED).$dir.'/';
for ($i = 0; $i < 10; $i++) {
switch($i) {
case $i:
$source = $image
Didn't you enable some apache extentions, like compression.
PHP wrote:
>Hi all,
>Until yesterday i was running Apache/2.0.36 (Unix) mod_ssl/2.0.36 OpenSSL/0.9.6c
>PHP/4.2.1 and was able to flush script output to browser (using flush() ), before
>the script stops executing. I upgraded to Apach
Make sure you are not outputing anything besides the headers and actual
content of the file, you may also try looking at the downloaded file if
there are any php errors and/or warnings.
Ralf Bengl wrote:
>hallo ...,
>
>my name is ralf and i read the comments from the last weeks about
>"downloa
This is the original code:
"none") {
if ($error <> 1) {
$dest = $path.$source_name;
if (copy($source, $dest)) {
echo ''.$source_name-' wurde hochgeladen';
} else {
echo 'Schreibrechte im Zielverzeichnis fehlen';
$error = 1;
}
}
@unlink(
This is the Error Message:
value of $source : C:\WINNT\TEMP\php98.tmp
Error:
0
Warning: Unable to open '' for reading: Permission denied in
C:\Webverzeichnis\docs\living_sports\living_sports\lsadmin\includes\image.handling.inc.php
on line 129
I just started writing comments in my code for use with phpdocumentor.
And Im beginning to wonder if too many comments is a *bad* thing.
I was wondering about file size, but dont think that can be avoided, and
php's parser speed.
Nothing bad, just looking to see what others have to say about it.
T
[snip]
I just started writing comments in my code for use with phpdocumentor.
And Im beginning to wonder if too many comments is a *bad* thing.
I was wondering about file size, but dont think that can be avoided, and
php's parser speed.
Nothing bad, just looking to see what others have to say abou
Hi,
I am working on a process which turn to the previous page when the user
enter something wrong in the form on a page .But I also want to warn the
user with an error message on this page ...I know using heder : location but
I couldn't add the message ...
can anybody help me ? How can I add this
pass the message as a variable
header:location.php?message=$message
- Original Message -
From: "Meltem Demirkus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 2:31 PM
Subject: [PHP] question
> Hi,
> I am working on a process which turn to the previous
I do not have compression in apache
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 3:38 PM
Subject: Re: [PHP] Unable to flush output
> Didn't you enable some apache extentions, like compression.
>
> PHP
Thanks ...But I know this way about carrying data from one page to another..
I want this message to be seen on the page without my doing anythingand
I cant do that?..
- Original Message -
From: "John Wards" <[EMAIL PROTECTED]>
To: "Meltem Demirkus" <[EMAIL PROTECTED]>;
<[EMAIL PROTEC
Julie Meloni to the rescue again - http://www.thickbookcom, you'll find a
tutorial on custom error messages.
In fact, after working on that you may rethink your approach.
Miles Thompson
At 04:31 PM 9/11/2002 +0300, Meltem Demirkus wrote:
>Hi,
>I am working on a process which turn to the previou
I think because of my bad english I made you misunderstand..I ment this :
for example when a person miss an input to fill on the from and then
press the submit button I want him to be back to the same form page with a
special message that I entered (something like :you left . place
empty).B
I'm not sure this is possible, but here's what I'd like to do:
I know that in order for a set of records from MySQL to display in
numerical order on a web page, you need to make the column type
"Integer," but here's my situation:
I'm creating a database of contracts that my organization has.
N
right...
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 2:53 PM
Subject: Fw: [PHP] Re:[PHP]question
> I think because of my bad english I made you misunderstand..I ment this :
> for example when a person miss an input to fill on the from and then
> press the
[snip]
I'm not sure this is possible, but here's what I'd like to do:
I know that in order for a set of records from MySQL to display in
numerical order on a web page, you need to make the column type
"Integer," but here's my situation:
I'm creating a database of contracts that my organization ha
function mysql_one_element($query, $element) {
// quickly returns just one element from a query
$one=mysql_query($query);
// add error checking here if you wish
$r=mysql_fetch_array($one);
$thisvalue=$r[$element];
return($thisvalue);
}
$row=mysql_one_element("select euro from brandsto
Meltem,
You're much better off to use JavaScript to perform the form
validation. This way, when the user clicks on the Submit button,
JavaScript can make sure that values are filled in, or that they are within
range, and can then pop up a message advising them of any errors, and that
they ca
Thanks Jay. How would that work into something like:
printf("Total Budget: $%s\n", mysql_result($result,0,"budget"));
or
printf("%s%s%s%s%s%s%s\n",
$myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7],
$myrow[10]);
Thanks,
Dave
Jay Blanchard wrote:
> [snip]
> I'm not sure th
Look into the LIMIT command, it will limit the number of rows in the result
set to the number you specify
-Original Message-
From: bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 7:10 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: mysql query
function mysql_one_element(
comments below
Axis Computers wrote:
- Original Message -
From: Axis
Computers
To: [EMAIL PROTECTED]
; PHPSent:
Tuesday, September 10, 2002 4:51 PMSubject: Questions regarding
inserting and updating data into a MySQL db
Hi, I'm
developing a web application that uses forms for user in
Dear All
We are testing a multi-user quiz system with PHP session management.
Everything has been fine until we tested the system with about 12 users...
Each user gets an individual instantiation of some questions and they
type in some answers and submit them for marking. To remember the
quest
oh missed something out...
function your_form_html($var_1=null, $var_2=null){
global $message
echo $message;
?>etc...
This will print out your form again with the variables the user submited
plus the message.
Is this what you need?
John
> I think it only prints out the message .. am I wrong?
[snip]
Thanks Jay. How would that work into something like:
printf("Total Budget: $%s\n", mysql_result($result,0,"budget"));
or
printf("%s%s%s%s%s%s%s\n",
$myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7],
$myrow[10]);
[/snip]
You have to do the test prior to the output, chec
Hi!
I'll try to convert field first char to upper by using ucwords(). Well,
this doesn't
seem to work correct.
Well maybe error came, because that characteres are not standard (they
are special characterers, finnish language).
Example:
$work_text = "perhepäivähoitaja";
$work_text = ucwords
I can't say correct answer to this, but want also notify that
strtoupper() -function doesn't affect to those special charters å, ä and ö
that are very common in Finnish language.
Ville
-Original Message-
From: Tommi Virtanen [mailto:[EMAIL PROTECTED]]
Sent: 11. syyskuuta 2002 17:14
To:
Thanks Elias,
I took a look at the code and there are indeed many things to learn;
however, it's all in js.
I'm trying to have php write the js, but I don't know enough about arrays
and manipulating their elements.
Roger
-Original Message-
From: lallous [mailto:[EMAIL PROTECTED]]
Sent:
Hi,
I'm looking to implement very basic like it | hate it voting for a product
on a site, but I'd like to implement some simple (or not so simple) ways of
ensuring people don't vote over and over and over.
1. I could set a cookie. Sure, they could delete the cookie and re-vote
though, and those
Ooops, for clarity, I shouldn't have named the result of the function "row" but
"euro". It should be:
$euro=mysql_one_element("select euro from brandstofprijzen where id=2", "euro");
Bill wrote:
> function mysql_one_element($query, $element) {
> // quickly returns just one element from a que
Meltem,
Your english is very good but you have lost me :) could you explain more
slowly
John
- Original Message -
From: "Meltem Demirkus" <[EMAIL PROTECTED]>
To: "John Wards" <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 3:32 PM
Subject: Re: [PHP] Re:[PHP]question
> then
Justin, you've just asked for a way to restrict the possible number of votes
from any one person to 1, however, you don't want to find out anything about
that person!
Although I certainly understand your position, you either have to get from
them some information specific to the person, like, nam
I have not had any problems on IE 6 with this. The code I am using on numerous
scripts looks like this:
header("Content-Disposition: attachment; filename=$filename");
header("Content-Type: application/octet-stream");
fpassthru($filehandle);
fclose($filehandle);
Maybe the the combination of usin
sorry bill, i misunderstood your question. I thought you wanted to only
return one row, not just get one value. Given my new understanding, I would
do something like this which is only a slight variant on what you did
$result = mysql_query("select euro from brandstofprijzen where id=2") or
die
on 12/09/02 12:12 AM, David Buerer ([EMAIL PROTECTED]) wrote:
> Justin, you've just asked for a way to restrict the possible number of votes
> from any one person to 1, however, you don't want to find out anything about
> that person!
I'd consider that a restriction to getting lots of votes in a
Most sites log by IP but if its the IP of a firewall, it would only be one
vote from everyone behind the firewall.
Adam
On Thu, 12 Sep 2002, Justin French wrote:
> Hi,
>
> I'm looking to implement very basic like it | hate it voting for a product
> on a site, but I'd lik
Hi,
i am using php.4.1.2. on freebsd 4.2
i want to upgrade from 4.1.2 to 4.2.2...
The problem is:
1. Is php 4.2.2 supported on freebsd-4.2 ?
2. Can this happen that after upgrade(of php).some code doesnt work on
4.2.2 which was working on 4.1.2.
thanx and regards
anil
--
PHP General
How bout this for just a little better than IP logging.
-Original Message-
From: Adam Williams [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 11:24 AM
To: Justin French
Cc: php
Subject: Re: [PHP] basic voting
Most sites log by IP but if its the IP of a firewall, it wou
Since you haven't divulged your task, I'm guessing from comments that
receving 24 votes from faked emails is a really bad thing. In that case you
have no choice but to thoroughly authenticate your users! Hey, at least
it's not a complicated thing to do, just kind of pain on everyones end.
-O
Do any of you guys have experience setting PHP up
with the IPlanet webserver? We are trying it out (for
a client) and we can't seem to get to so that PHP
gets the POST or GET variables passed from a form
and would like to talk with someone who's had experience
working with or around this problem
I'm guessing that pages requiring passing data isn't working correctly
right? If so here's what you do.
cd php-4.2.2
./configure (whatever options you want here)
make && make install && make clean
(add the appropriate lines to your httpd.conf file, the ones you have
from 4.1.2 should be
Hi,
The HTML standard defines the set of characters that are valid in form
element names. It does not include [ or ] and yet this seems to be the only
way to get a set of form elements grouped into an array for server side
processing.
Why doesnt PHP do (Perl/ASP) automatically create an array
Hi,
I have a problem when registering Session variables.
Let me describe.
I have 2 files. In the first one initialization is done and some session
registering.
The second one is my main application. If I call a method from the first
file in my main file , variables are not registered. I use sess
I just wanted to chime in here and say that Julie Meloni's books are
awesome. I have PHP Essentials and her Teach yourself PHP in 24 hours
book. I plan to buy her PHP Fast and Easy 2nd edition very soon.
Adam
On Wed, 11 Sep 2002, Miles Thompson wrote:
> Julie Meloni to
If PHP is setup and working fine and simply not getting POST or GET vars, it
can depend on the PHP version you have installed. but the
$HTTP_POST_VARS and $HTTP_GET_VARS should work on any version of PHP4.
If your still having trouble and using those arrays then im unsure as to
what else could b
Hi,
does that mean I can do nothing about it?
Alva
"Pekka Saarinen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At 9/10/2002, you wrote:
> >Hi Everyone,
> >
> >I did a simple test with this script:
> >
> > >mail("[EMAIL PROTECTED]", "test", "this is a tes
Make sure you're accessing your variables correctly as well. Remember,
register_globals is now off by default, so you can't just access POST and GET
vars by variable name, but insterad use $_POST[varname] or $_GET[varname]
On Wednesday 11 September 2002 10:42, Chris Boget wrote:
> Do any of you
Can anyone tell me if the latest version of PHP works with the latest Apache
web server? When I try to build the server it says its not, but I wondered
if there were any patches or changes I could make for them to work properly?
Thanks,
glenn
--
PHP General Mailing List (http://www.php.net/
Use the latest Apache 1.3.x and the latest PHP. Works just fine. Apache
2.0.x is a completely different beast.
-Rasmus
On Wed, 11 Sep 2002, Glenn wrote:
> Can anyone tell me if the latest version of PHP works with the latest Apache
> web server? When I try to build the server it says its not
Hello,
I need a PHP programmer ASAP to help with site updates on large childrens
webiste.
Please reply to: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I need a PHP programmer to assist me with updates to childrens website.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ok then...
thanks
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Use the latest Apache 1.3.x and the latest PHP. Works just fine. Apache
> 2.0.x is a completely different beast.
>
> -Rasmus
>
> On Wed, 11 Sep 2002, Glenn wrote:
>
> > Can an
Hello,
On 09/10/2002 11:07 AM, Heidi Belal wrote:
> Hi,
>
> I was wondering if anybody could tell me the best way and how to code sending an
>attachement with an email form. I want the user to be able to browse and select the
>file he wants to attach, and i want the reciepent to be able to se
Apache: 1.3.23
PHP: 4.1.2
Hello PHP Guru's!
I have created a simple web form. When the form is complete and submitted,
the results are emailed to an email account. But I have noticed that the '
character is escaped.
Example: John O\ 'Connor, instead of getting John O'Connor.
Is this a problem w
use stripslashes() or turn on magic quotes in php.ini
On Wed, 11 Sep 2002, Rick King wrote:
> Apache: 1.3.23
> PHP: 4.1.2
>
> Hello PHP Guru's!
>
> I have created a simple web form. When the form is complete and submitted,
> the results are emailed to an email account. But I have noticed that th
Hi,
i am using freebsd4.2
I couldnt find if the latest php-versiono 4.2.3 a stable version ?? i mean
shall i use 4.2.2 or 4.2.3 ?
thanx and regards
anil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to make a class to process xslt transformations.
Here is the class:
class xslTransformer extends makexml{
var $xh;
function xslTransformer($xslfile) {
$this->xh = xslt_create();
$result=xslt_process($this->xh,$this->xmlstr,$xslfile); //errors
PHP 4.2.3 is mainly fixes to 4.2.2 but yes it is stable and a suggested
update.
~ Matthew
-Original Message-
From: Anil Garg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 2:46 PM
To: [EMAIL PROTECTED]
Subject: [PHP] is php-4.2.3 a stable version?
Hi,
i am using freeb
Isn't this what the salbatron library is for?
> -Original Message-
> From: Geoff [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 11, 2002 2:52 PM
> To: php list
> Subject: [PHP] help with making an xslt class
>
>
> I am trying to make a class to process xslt transformations.
>
I've downloaded the patch file for 4.2.2 to 4.2.3 from the PHP website, but,
not sure what to do with this file. I have a Linux 7.x server. Can anyone
tell me how to patch my version of PHP or point me to a source that explains
how this is done?
Thanks!
--
PHP General Mailing List (http://www.
Dear Leif K-Brooks,
Once you wrote about "[PHP] Mail system with folders?":
> I'm designing a site, and I want to put mail with folders on it. Fairly
> simply, but I'm not sure what to do for the default folders. I want to
> have three precreated folders: inbox, trash, and sent. I'm not sure
I am using the sablotron xslt library I just want to make a class to
minimize the code I need to write and make it easier to maintain.
When I do it like so:
// create XSLT processor
$xh = xslt_create();
// call xslt processor
// Process the document
$result = xs
Hello,
A query return x rows, by rows there are 4 fields. I'd like to put the
result in an array, a 2 dimensions array. Could you tell me how to do
that ?
Bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On September 11, 2002 14:12, Christian Ista wrote:
> Hello,
>
> A query return x rows, by rows there are 4 fields. I'd like to put the
> result in an array, a 2 dimensions array. Could you tell me how to do
> that ?
Something like this may work for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On September 11, 2002 07:57, Dave Rosenberg wrote:
> I'm not sure this is possible, but here's what I'd like to do:
> I know that in order for a set of records from MySQL to display in
> numerical order on a web page, you need to make the column type
we are using apache 1.3.12 server, php 4.2.3 on linux.
Before, we didn't write cookies.txt on harddisk. We changed some
configuration in httpd.conf like.
We disabled mod_proxy module and then cookie had been wrote. But now, we
are not reading
cookie variables from cookies.txt (Netscape). I konw p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Here is a quick replacement script* for ucwords() that can be made to handle
accented characters or interesting casing rules. It is a bit uppercase happy
- - uppercasing any letter that comes after a non-letter character.
*(Taken from the PHP Funct
> while( $temp = mysql_fetch_row($mysql_result_handle) ) {
> $array[] = array(
> 'key0' = array(
> 'keya' => $temp[0],
> 'keyb' => $temp[1],
> ),
> 'key1' = array(
> 'keya' => $temp[2]
Hi there,
I was wondering if there is a possibility to get open_basedir preferences
(also set via .htaccess) active in a server running not PHP in open_basedir.
I should create a small home site space for some users with PHP equipped,
but I don't like to put safe mode on as there are some other a
You should use the patch command, feel free to "man patch".
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Monty" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> I've downloaded the patch file for 4.2.2 to 4.2.3 from the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On September 11, 2002 15:05, Christian Ista wrote:
> > while( $temp = mysql_fetch_row($mysql_result_handle) ) {
> > $array[] = array(
> > 'key0' = array(
> > 'keya' => $temp[0],
> > 'keyb' => $te
safe mode and open_basedir are completely separate.
On Thu, 12 Sep 2002, Ville Mattila wrote:
> Hi there,
>
> I was wondering if there is a possibility to get open_basedir preferences
> (also set via .htaccess) active in a server running not PHP in open_basedir.
> I should create a small home si
1 - 100 of 168 matches
Mail list logo