Hi
On Tue, Jul 30, 2002 at 09:00:09AM +0200, Manuel Vazquez wrote:
> Good morning,
>
> I'm running a OpenLDAP database which includes JPEG photos for some entries.
> The purpose is to view these images on a web page. Unfortunately I do not
> have much experience with PHP so any help would be ver
why would you expect a for loop to know whether there was an array returned
from the mysql_fetch_array($result). you haven't told it to check this. This
is why I suggested using the fetch_array() to control the loop and a counter
to determine when to start and end rows - did you not get that?
Well, I have asked a couple of questions on this list, but they havn't
really helped alot. Maybe you can help?
My situation background is as follow:
I have always written my apps in the following way: register_globals=on,
so I allowed PHP to "generate" my variables for me on the action page,
a
Well, how exactly do you implement the back button? If it is a normal
client-side back, then of course the previous value will be shown. If it
is actually a forward-link to the previous page, then your logic on that
target page is bogus.
By the way, trans-sid is compiled in by default in PHP so
Yes, it is a forward link to the page, but as mentioned, that page
contains a form with the selection options, and on that form's action
page is where I don't see the values change, so the question should
probably be something like "how do I change the value in the session_var
with the newly s
Hi the ML
I'm looking for an algorithm or a free PHP Script which enable me to verify
expiration date with a credit card number.
Does anybody knows this ?
Regards
Laurent Drouet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I'm looking for an algorithm or a free PHP Script which enable me
> to verify
> expiration date with a credit card number.
>
> Does anybody knows this ?
It doesn't existcredit card number alogrithms do not use the expiry date
in their formulas (at least I'm not aware of any that are). Also
The trick is to not name your form vars the same as your session vars.
Keep them separate so you have full control of what ends up where. Also,
note that if you are not relying on trans_sid or cookies then don't use
SID. Call session_id() explicitly to get the session id. So, a quick
little moc
Hi,
Tuesday, July 30, 2002, 1:53:50 PM, you wrote:
D> This looks good but I just have one question about it if you don't mind,
D> what if someone was uploading a gif or a PNG file? can it be made to only
D> detect jpgs?
D> Thanks in advance
D> Deadsam
>> Try it this way, it will check if it is a
I have a development web server php 4.0.6 apache and mysql and everything
works OK. I installed the same software onto a new server that will be the
production server but I hit problems when my scripts try and hit the db on
the new server. Comparing the phpinfo details for both, the new server doe
Well, how did you do the install? You really need to provide more
details. Heck, any details. You don't mention your OS, whether you
compiled from source, if so which configure flags, from packages, which
packages, etc.. We are not mind readers.
-Rasmus
On Tue, 30 Jul 2002, Mark Colvin wrote
I'm not sure exactly what you're saying, but it sounds to me like you
didn't configure --with-mysql for the new server. You MUST do that.
./configure --with-apxs=/blah/blah --with-mysql
If you don't have --with-mysql compiled into the php binary, mysql
functions won't work.
Tyler
On Tue, 30 Ju
On Tuesday 30 July 2002 16:34, Mark Colvin wrote:
> I have a development web server php 4.0.6 apache and mysql and everything
> works OK. I installed the same software onto a new server that will be the
> production server but I hit problems when my scripts try and hit the db on
> the new server.
Thanks, will work through this immediately.
Just to be clear.
If I DO stick with your suggestion of letting PHP do the url mangling,
and taking your code below, I can simply remove the
ini_set('session.use_trans_sid',false); and from your code to make it work
exactly as is?
Thanks
Rasmus
Yup, get rid of both ini_set() calls and take out the $sid=...
and stuff and it should simply work.
On Tue, 30 Jul 2002, Petre wrote:
> Thanks, will work through this immediately.
> Just to be clear.
> If I DO stick with your suggestion of letting PHP do the url mangling,
> and taking your code
Uz.ytkownik Jakub Zawierucha napisa?:
> I have little problem with vpopmail functions from PHP 4.2.2. When I use
> vpopmail_auth_user ( "blah", "foo.bar.pl", "secret string" ); I get no
> correct return value ( echo vpopmail_auth_user ( "blah", "foo.bar.pl",
> "secret string" ); - give me no r
Even more,
$fullname = "{$session['f_name']} {$session['l_name']}";
even
$fullname = sprintf("%s %s", $session["f_name"], $session['l_name']);
etc
"Mantas Kriauciunas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey php-general,
>
> is there s
Hello,
Does php 4.2.2 is better than 4.0.6 ?
Thank for your telling !
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Which version of apache and which version of php are good for work
together ?
Thank for your help...
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello All,
So, I've been using my own implementation of session handling which is
mainly storing the userinfo in a cookie (an array, serialised and signed)
but I'm starting to come around to the idea of storing this info on the
server and just passing a session key about - but I have a couple of
For release systems, the recommended setup is Apache 1.3.26 + PHP4.2.2
The developer systems, I'd go for (indeed have gone for) Apache 2.0.39 +
PHP4.2.2
HTH
Danny.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 11:01 AM
Subject: [PHP]
> So, I've been using my own implementation of session handling which is
> mainly storing the userinfo in a cookie (an array, serialised and signed)
> but I'm starting to come around to the idea of storing this info on the
> server and just passing a session key about - but I have a couple of
> re
Danny Shepherd wrote:
> For release systems, the recommended setup is Apache 1.3.26 + PHP4.2.2
They are good for work under Linux RedHat ( 6.x / 7.x ) system ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
<< Comments inline >>
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Danny Shepherd" <[EMAIL PROTECTED]>
Cc: "PHP-General" <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 11:24 AM
Subject: Re: [PHP] Sessions - Informed Opinions
> > Assuming that sessions are store
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Danny Shepherd" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 11:30 AM
Subject: Re: [PHP] apache and php
> Danny Shepherd wrote:
>
> > For release systems, the recommended setup is Apache 1.3.26 + PHP4.2.2
Peter wrote:
>> >howdy,
>> >
>> >i've got it all configured correctly .. well it doesn't spit any
>> errors out
>> >on make
>> >but when i got to view a web page it opens a down load box ..so
>> i added this
>> >
>> >LoadModule php4_modulelibexec/libphp4.so
>> >
>> >to httpd.conf as per t
> > > 3 How can I get a count of currently active (I.e non expired)
> sessions?
> >
> > Count the number of session files.
> Can I be sure that the count will only include active sessions though?
By definition, if the session file is there, it is an active session.
There is no such thing as c
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Danny Shepherd" <[EMAIL PROTECTED]>
Cc: "PHP-General" <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 11:52 AM
Subject: Re: [PHP] Sessions - Informed Opinions
> > > > 3 How can I get a count of currently active (I
Chris Carlson wrote:
> I am trying to create a php program and am getting an error in this area
> of my script:
>
> $dataFile =
> @fopen("/home/blurredv/data/".$username."Contact.txt","w");
> fputs($dataFile, $line);
> fclose ($dataFile);
>
> These are the errors:
>
> Warning: Supplied a
> I have a table, with 4 columns. One of the column is
> ID, a Primary Key, which has Auto_Increment set on it.
>
>
> Now i have a lot of rows deleted and a lot of
> duplicate rows that will be deleted, and all sorts of
> stuff happening in the table.. the result is, that the
> IDs have become i
>> $dataFile =
>> @fopen("/home/blurredv/data/".$username."Contact.txt","w");
>> fputs($dataFile, $line);
>> fclose ($dataFile);
>>
>> These are the errors:
>>
>> Warning: Supplied argument is not a valid File-Handle resource in
>> /home/blurredv/public_html/redcarbon/update.php on line 34
>
Hello, people.
So the problem.
I have apache running with php-module.
Recently I've upgraded the 4.0.6 version up to 4.2.2.
All my php configuration directives in httpd.conf (php_flag, php_admin_flag,
php_value, php_admin_value) are not working now. When I change libphp4.so
back to 4.0.6 the direc
Hi all!
The manual claims here (http://se2.php.net/manual/en/ref.session.php) that:
...If session.save_path's path depth is more than 2, garbage collection
will not be performed.
Anyone know why this is the case? And can you get around it? My scripts
currently lives on a shered server and I
> I am using PHP-4.1.1 on Linux,
> I wanted to know the difference between "nobody" user and normal user of
> operating system.
None. Nobody is an ordinary user. However, ordinary UNIX users can be set
up in all sorts of ways.
>
> This question just came to mind when, neither nobody's director
on 30/07/02 5:12 PM, Wee Keat ([EMAIL PROTECTED]) wrote:
> Is this easier for you?
>
> $fullname = $session["f_name"]." ".$session["l_name"];
or
$fullname = "{$session['f_name']} {$session['l_name']}";
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
*shakes head a bit*
I'm not REALLY sure what the problem is here, but let's take a step back.
A session ID is a unique, random number assigned to a user as they kick
around your site.
To maintain state (a session) across multiple pages, you pass the session id
around. This can be done with the
Sveix.
I guess if the space or any other character is needed between MORE than TWO
strings, this is a good construction:
$fullname = join(" ", array($session["f_name"],
$session["l_name"],$session["middle_name"], ...));
P.S. I sometimes use this construct for generating sql statements
"Mantas
Hello,
I have a question concerning characters : I use the function xml_parse on a standalone
XML file with the encoding "ISO-8859-1"
and I want to parse it. It contains all types of characters (including control
characters, so ASCII characters from x to x00FF) so as to send and receive im
Hello,
I have a question concerning characters : I use the function xml_parse on a standalone
XML file with the encoding "ISO-8859-1"
and I want to parse it. It contains all types of characters (including control
characters, so ASCII characters from x to x00FF) so as to send and receive im
On Tue, Jul 30, 2002 at 05:12:25PM +0200, Sebastien Mole wrote:
> but when I try to parse characters such as chr(#x0001) or
chr(#x001F) (or others) the parser returns me an error
Line wrapping... "What a concept."
In my PHP XML parsing
tutorial, http://www.analysisandsolutions.com/code/phpxm
Hi there,
I am wondering how to search an array for words starting with a certain
character.
E.G:
$word = array('alpha', 'beta', 'php');
I would like to check if there is a word in the array starting with p
Is there alrready a function for this?
Thanx, Andy
--
PHP General Mailing List (h
Seeing as a question concerning register_globals seems to be posted
every day - I thought this link might be useful to some:
http://www.zend.com/zend/art/art-sweat4.php
Neil
--
--
www.curvedvision.com
--
--
PHP General Mailing List (http://www.php.n
I have a db with the following fields:
id | month | company | title | name | role | show_company | show_title |
show_month
sql query is: "select * FROM db ORDER BY month DESC";
Output gets formatted like:
month
- company
- title
name role
name role
- title
name role
- com
How are you displaying it? Show us some code...
---John Holmes...
- Original Message -
From: "Brian V Bonini" <[EMAIL PROTECTED]>
To: "PHP Lists" <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 11:52 AM
Subject: [PHP] Sorting Output
> I have a db with the following fields:
>
> id | mo
Can't you just use CDATA blocks?
Personally I'd either use an entity reference or base64 the stuff.
-Rasmus
On Tue, 30 Jul 2002, Sebastien Mole wrote:
> Hello,
>
> I have a question concerning characters : I use the function xml_parse on a
>standalone XML file with the encoding "ISO-8859-1"
>
I have one of the website on windows and I get the undefined offset error, I
don't have that problem on UNIX / Linux. Anyone know what method would
work?? Here's the script! In this case, the $raw_data array is empty, so
window complain of the empty data by displaying hte error message,
"Undefi
Actually, PHP 4.2.2 just have more features than PHP 4.0.6. Example of
those are more security and more functions as well as many of the other
things. One disadvantage to it is some programming script will break
because some PHP features is decommissioned, like functions or someting.
<[EMAIL PR
I wouldn't jump on Apache 2.0.39 for the production website and some PHP
features does not work for that version. That apache is in beta testing
stage, so it will be a while.
"Danny Shepherd" <[EMAIL PROTECTED]> wrote in message
024501c237b5$f95d8860$0200a8c0@DANNYS">news:024501c237b5$f95d8860$0
Your default error reporting level must be set different on your Windows
box. If you turn off E_NOTICE warnings on your Windows box it will act
the same as your Linux box.
But, in general, to write E_ALL clean code you would check if each exists
first, or swallow the errors if you know that thes
The session.save_path have nothing to do with it. I have that same problem
with the default path, "/tmp" when the session became a garbage collection
when the user quit the browser without logging off. When the user quit the
browser then there's no way for the server to know that, so the session
Look for "regular expressions" in the manual. Regex is just a shortening of
that.
Mike
"Lord Loh." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello! I am new to REGEX.
> I tried to read several posts on REGEX. However none were descriptive.
>
> What is
So, do you know apache 1.3.22 and php 4.2.2 are good for work with IMP 3.x (
http://www.horde.org/imp ) under RH 6.2 system ?
Scott Fletcher wrote:
> Actually, PHP 4.2.2 just have more features than PHP 4.0.6. Example of
> those are more security and more functions as well as many of the other
So, which version of apache and php are the best for working together under any
OS system ?
Scott Fletcher wrote:
> I wouldn't jump on Apache 2.0.39 for the production website and some PHP
> features does not work for that version. That apache is in beta testing
> stage, so it will be a while.
The latest stable versions of both. Apache 1.3.26 and PHP 4.2.2.
On Wed, 31 Jul 2002 [EMAIL PROTECTED] wrote:
> So, which version of apache and php are the best for working together under any
> OS system ?
>
> Scott Fletcher wrote:
>
> > I wouldn't jump on Apache 2.0.39 for the production websi
Hi,
I have a loop that sends out a numbers of emails using the mail() function.
-- Code start -
for ( $i=0, $j=count($responders); $i < $j; $i++ )
{
$r = $responders[$i];
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/htm
I was hoping there was a way to fix it without having to modify my php
scripts [e.g., phpBB2, postlister, etc.]
Manuel Lemos wrote:
> Hello,
>
> On 07/29/2002 01:54 PM, Al wrote:
>
>> Emails sent from my php scripts, using sendmail, all have a goofy
>> "return-path" variable in the header.
On 07/30/2002 01:27 PM, Kevin Porter wrote:
> Hi,
>
> I have a loop that sends out a numbers of emails using the mail() function.
>
> -- Code start -
> for ( $i=0, $j=count($responders); $i < $j; $i++ )
> {
> $r = $responders[$i];
>
> $headers = "MIM
I'd recommend:
http://www.apache.org/dist/httpd/Announcement.html -- Apache 1.3.26
-and-
http://www.php.net/release_4_2_2.php -- PHP 4.2.2
Both include the latest bug fixes and are the latest stable releases.
I've been running these on a RedHat 7.1 box (64MB RAM, 225mHz Pentium),
with MySQL as w
Hello,
On 07/30/2002 01:30 PM, Al wrote:
> I was hoping there was a way to fix it without having to modify my php
> scripts [e.g., phpBB2, postlister, etc.]
There is an explicit php.ini option for that but it only works under
Windows.
On Unix, you may also try defining the sendmail path added
> I have one of the website on windows and I get the undefined offset
error,
> I
> don't have that problem on UNIX / Linux. Anyone know what method
would
> work?? Here's the script! In this case, the $raw_data array is
empty, so
> window complain of the empty data by displaying hte error messag
You may will want to use hte later version of Apache, the latest stable
release is 1.3.26 due to one of hte security hole that affect the previous
version, this security hole would allow the vrius, like worm virus or
something to go through the security hole. We wouldn't want that.
By the way, f
> "Manuel" == Manuel Lemos <[EMAIL PROTECTED]> writes:
[. . .]
Manuel> Anyway, if all else fails, you may want to try to use this
Manuel> class:
Manuel> http://www.phpclasses.org/smtpclass
Manuel> maybe in conjunction with this
Manuel> htt
I'm aware that the server cannot "know" whenever a user just quits
without logging out, but I was under the impression that the flags
session.gc_maxlifetime and session.gc_probability in php.ini would
control when and how often "leftover" session files would be removed. If
this isn't true, wha
Can someone provide a good source of information on what PHP can and cannot
do in regards to making a site multi-lingual. I've found a little
information about using gettext but that's about it. Do you have to using a
certain charset? Do all functions work with different languages? String
funct
Yes , I agree,But that is exactly where my problem comes in, when I link
the person forward, it DOES NOT take the new value for the project_id,
as it is a form element and it only becomes variable on the action page.
This is where I'm unsure about how to "initialize" the variable. As
mentioned
That is correct. As long as the expiration date is past present it's fine. I
used to work for another hosting company who would just "guess" new
expiration dates for monthly recurring customers who had not submitted a
cancellation request but who's cards had expired. As long as the date was
past p
I would like to have the same page (test.php) have different text in it
depending on a database entry. which is easy enough. but I want it to
be on the fly. example list would be created on the fly depending on
databse entries. which ever entry was picked (lets say STLT) it would
open up my templa
Hi,
I would like to recompile php with mysql support. I am a newbie. I really
don't want to have to reinstall RedHat just to be able to use MySQL with
php.
I ran:
rpm -qa | frgrep php
and I see these:
php-4.0.6-15
php-imap-4.0.6-15
asp2php-gtk-0.75.17.1
php-ldap-4.0.6-15
Simply install the php-mysql rpm.
On Mon, 29 Jul 2002, Joel Lopez wrote:
> Hi,
>
> I would like to recompile php with mysql support. I am a newbie. I really
> don't want to have to reinstall RedHat just to be able to use MySQL with
> php.
>
> I ran:
> rpm -qa | frgrep php
> and I see these
Hm...seems it works after all...Tried extremely short
session.gc_maxlifetime and a 100% session.gc_probability...works like a
charm! Sorry for not checking this thoroughly enough before whining... ;)
/lasso ([EMAIL PROTECTED])
Lars Olsson wrote:
> Hi all!
>
> The manual claims here (http://
try preg_grep()
http://www.php.net/manual/en/function.preg-grep.php
example:
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: "andy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 10:36 AM
Subject: [PHP] searching an arra
I don't think there's a builtin that does exactly what you are looking
for, but this will do the trick:
-Joseph Rosenblum
President, 25th Street Networks
Easy, Reliable PHP Web Hosting at:
http://www.25thstreet.net/
-Original Message-
From: andy [mailto:[EMAIL PROTECTED]]
Sent: Tues
I would like to give my users the ability to send (to my website) a
Microsoft Excel file, and then have my server (PHP code) extract that data
and turn it into a TAB Delimited Text file -- is this possible with PHP?
Thanks.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
That last statement was not entirely true.
The server does not have to know when someone leaves to clean up.
You are right about session.gc_maxlifetime and session.gc_probability.
if the maxlifetime is set to 1200 (20 minutes) and the probability is set to
1 that means that one percent of the t
> I would like to give my users the ability to send (to my website) a
> Microsoft Excel file, and then have my server (PHP code) extract that data
> and turn it into a TAB Delimited Text file -- is this possible with PHP?
http://groups.google.com/groups?hl=sv&lr=&ie=ISO-8859-1&q=data+from+excel+p
Here we go again; I posted the message "pdflib, NEED HELP with
function problem (newby)" and thank you to all that helped. Even
after that help, seems I cant understand scope to well.
Im trying to make a function that creates another page when I
have reached the bottom of a page. For some reason
Hi!
Database queries and global variables are not related to each other. It
usually just boils down to the following steps
1. Collect data that that's needed for the database query (via $_GET or
$_POST)
2. Run the query against the database and store the results in some nice
variables (arrays
Diregard the missing "{" bracket its not the problem, I dont why its missing
from my post.
Jeff
Jeffrey <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Here we go again; I posted the message "pdflib, NEED HELP with
> function problem (newby)" and thank you to
I would like to show some fields based on a Interbase database, everthing is
working when i type the fields name usinf $row-> field
something like this
while ($row = ibase_fetch_object($sth)) {
echo "$row->RAZAO_SOCI";
echo"$row->ENDERECO\n" ;
}
But I would like to make a generic output wi
So -- it looks like I can connect to Excel via COM -- buuutt... anyone have
any examples or can anyone point me to any -- that show how to save-out an
excel file as a TEXT (.csv) TAB Delimited file?
I guess if there is a way to see each ROW in the Excel Spreadsheet -- then I
can grab that data an
Sounds like you didn't call pdf_end_page() before calling your next_page()
function.
-Rasmus
On Tue, 30 Jul 2002, Jeffrey wrote:
> Here we go again; I posted the message "pdflib, NEED HELP with
> function problem (newby)" and thank you to all that helped. Even
> after that help, seems I cant un
Hi,
Is it necessary to perform addslashes() on serialised data before inserting
it into a database?
Thanks,
Danny.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes, you would need to. serialize() does not encode any of the variable
data.
-Rasmus
On Tue, 30 Jul 2002, Danny Shepherd wrote:
> Hi,
>
> Is it necessary to perform addslashes() on serialised data before inserting
> it into a database?
>
> Thanks,
>
> Danny.
>
>
> --
> PHP General Mailing Lis
I couldn't find any adequate instructions on this anywhere on this list
or on the php web site so here is for anyone who needs it.
I had originally tried: patch http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can somebody please tell me why I keep getting this error when using this
script...
Parse error: parse error in /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php
on line 54
Mail sent! Yay PHP!";
} else {
echo "Mail could not be sent. Sorry!";
}
?>
--
PHP General Mailing List (http://www.p
Cross posting this with php-dev might not be the best idea. The dev list is
not for support unless you are trying to code part of the php source.
So this is only failing on the decrypt side of the code?
"Memory allocation error" does not sound like a problem specific to this
function. All the ot
Yes, it'd be really smart to. If any of the data in the serialized string
has a ' or " in it, it could break your query. Or the user being able to
enter a ' or " into the data could open you to SQL attacks.
You want to do addslashes() on the result of serialize(), not the content
going into it, t
Also , Fatal error: Call to undefined function: is_uploaded_file() in
/host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php on line 20
"Kerry Gray" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can somebody please tell me why I keep getting this error when using thi
List,
I get this after make installis this thing trying to make sapi? I
want to run on Apache/RH7.3 so I don't know if I need it...couldn't find
how to turn in with ./configure. Please help
TIA
/B
make[1]: Leaving directory `/usr/src/php-4.2.2/regex'
Making install in .
make[1]:
Which php version? This code works just fine here.
On Tue, 30 Jul 2002, Kerry Gray wrote:
> Also , Fatal error: Call to undefined function: is_uploaded_file() in
> /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php on line 20
>
> "Kerry Gray" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]
Things like file uploading and mail functions are disabled on free PHP
hosts like 8bit.
KG> Also , Fatal error: Call to undefined function: is_uploaded_file() in
KG> /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php on line 20
KG> "Kerry Gray" <[EMAIL PROTECTED]> wrote in message
KG> [EMAIL PROTECT
On Wednesday 31 July 2002 03:08, Kerry Gray wrote:
> Can somebody please tell me why I keep getting this error when using this
> script...
Because what you wrote is invalid PHP code.
> Parse error: parse error in /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php
> on line 54
It's bad enough asking
I didn't write it, it was taken from a code library on a site. i have never
used php before in my life, hence why I have no idea whats going on, it's
more than likely the only thing i'll use php for.
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
file | save as then chose the format you want in the drop down box
> -Original Message-
> From: Jason Caldwell [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 30, 2002 2:46 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: PHP4 and MS Excel?
>
>
> So -- it looks like I can connect to Excel
Are you actually telling me how to SAVE an excel file as text (CSV) format
THROUGH excel ?
H
Thanks (I guess...) But I learned how to do that, oh I dunno, about 20
years ago. My question was how to do it using PHP and COM.
"Brian V Bonini" <[EMAIL PROTECTED]> wrote in message
[EMAIL
OK, I have changed hosts, and put it on a NON free server php enabled. it
tells me that tghe mail has been sent, but no mail arrives
Any constructive ideas? PLEASE
"Damian Harouff" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Things like file uploadin
Instead of incrementing to find the next row to count them, you dont have to
set the ID if it is auto increment. MySQL will do it for you (and i think it
might fill the holes too). Also, to get the num. of rows just do this -
$get_rows = mysql_query("SELECT * FROM `table`");
$num_rows = mysql_num
If you have an auto_increment mysql field, it's supposed to save you
the time of computing the "next" ID. the database will handle it for you.
Use "0" as the ID for new rows and mysql will automagically compute
the next ID.
All of this info is on the mysql.com/doc/ site... please check there
in
Hi Rasmus
Thanks, I think I got it now.
Seems my problem with understanding was with the actual setting of the
variables.
The logic dictated that the session variables should stay the same
throughout the session unless "changed" via a form selection, so I
simply added a
session_register("sessi
I can pass one variable using the url on this way
http://myadress/php/mypage.php?modo=123
and to read i have the code
echo $_GET['modo']."http://myadress/php/mypage.php?modo=123&color=red&size=3
and to get
echo $_GET['modo']."http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
1 - 100 of 162 matches
Mail list logo