Thank you Paul ... thanks a lot for the help
Warm Regards,
Sharad
- Original Message -
From: "Paul Maine" <[EMAIL PROTECTED]>
Date: Wednesday, October 9, 2002 9:00 am
Subject: RE: [PHP] Calling C functions
> I am including a code snippet that will aid you.
>
> # Location of your binar
Have a look into indexes I'm running selects on tables with about 4.5
million rows on a desktop without problems.
Bob Irwin wrote:
> G'day,
>
> I'm doing a select on a database that has about 45000 records and growing
> and its a bit SLOW.
>
> Its using a unix timestand to mark the beginn
G'day,
I'm doing a select on a database that has about 45000 records and growing
and its a bit SLOW.
Its using a unix timestand to mark the beginning of a call and the end of a
call. This is also used so I know what date the call was received.
When I do a
select * from support where begintime
Question about a change coming in PHP 5 / ZendEngine2 :
I'm not clear on exactly why you would want to nest class definitions,
especially if the proposed change to namespace handling goes away
- i.e. you still have to do $this->otherclassfunc() inside a class
function, instead of just otherclassf
> From: Jule Slootbeek [mailto:[EMAIL PROTECTED]]
> register_globals to on, so i don't have to go through 15 pages of code
> and change all my variables to $_POST['foo']
Try extract($HTTP_POST_VARS) which will create $foo for you.
- Steve Yates
- Your karma just ran over my dogma.
~ Do yo
i didn't install from source, i installed from an OS X binary i found
in the php website, i got a php.ini from someone else which i
'm suing, thanks guys!
Jule
On Tuesday, Oct 8, 2002, at 23:54 US/Eastern, CC Zona wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Jule Slootbeek) w
Hi,
Wednesday, October 9, 2002, 1:58:50 PM, you wrote:
BL> On 10/8/02 11:54 PM, "CC Zona" <[EMAIL PROTECTED]> wrote:
>>> Yeah that's the path to where php.ini should be (/usr/local/lib, in my
>>> case, but the Jaguar version of PHP doesn't use a php.ini file, so
>>> there's nothing there.
BL>
On 10/8/02 11:54 PM, "CC Zona" <[EMAIL PROTECTED]> wrote:
>> Yeah that's the path to where php.ini should be (/usr/local/lib, in my
>> case, but the Jaguar version of PHP doesn't use a php.ini file, so
>> there's nothing there.
There is no php.ini file included w/ Mac OS X.. But that's no big d
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jule Slootbeek) wrote:
> Yeah that's the path to where php.ini should be (/usr/local/lib, in my
> case, but the Jaguar version of PHP doesn't use a php.ini file, so
> there's nothing there.
Jaguar uses php.ini if it's in the expected location
I am including a code snippet that will aid you.
# Location of your binary.
$yourbinary = "/usr/bin/yourprogram";
# Location of the libs for your c program if needed
$yourlib = YOUR_LIB . ":" . getenv("LD_LIBRARY_PATH");
putenv("LD_LIBRARY_PATH=$yourlib");
# The args to call the binary with
# F
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I have a file. I'll paste from line 32 to 34
>
> .
> $sql = "select USUARIO from docente where USUARIO = '$usuario'";
> $result = mysql_query($sql, $link);
Replace the above line with (all on one line)
$result = mysql_query($sql,
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> In the INSTALL file notes for PHP is says:
>
> "1: Only install either the static module or the dynamic one. Do not
>install both."
>
> No reasoning is given for this statement. Does anyone know what the reason
> for this is?
>
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Anthony Ritter wrote:
> > I am trying to access a website that has tab delimited data and use
> > PHP to open the file, read from the
> > file for output.
> >
> > I'd like to then place this data into an array, loop through the
> > array
Hi!
I don't know about the memory, but I think the "recommended" way would
be your first choice because you might want to redefine method jk() in
class bar... I would suspect that would also be recommended
performance-wise as well - since that's the typical way to call methods,
I think it's b
Read README.EXT_SKEL in the source distribution and also the online
manual. There is a chapter on extending PHP.
-Rasmus
On Wed, 9 Oct 2002, Sharad Tiwari wrote:
> hi all,
>
> I have just started working on PHP ... (just a couple of days back)
> I had posted a question yesterday and could not
Hi,
Wednesday, October 9, 2002, 1:24:31 AM, you wrote:
JD> In the INSTALL file notes for PHP is says:
JD> "1: Only install either the static module or the dynamic one. Do not
JD>install both."
JD> No reasoning is given for this statement. Does anyone know what the reason
JD> for this is?
If it is a command line executable just do:
Notice the backward ` they send it to the shell.
Have fun!!
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Sharad Tiwari [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 9 October 2002 1:07 PM
To
I checked and it's actually php.ini-dist or php.ini-recommended. You can
get them from within the source download from php.net or if you can take
a zip/rar, I'll send them to you.
---John Holmes...
> -Original Message-
> From: Jule Slootbeek [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, Oc
hi all,
I have just started working on PHP ... (just a couple of days back)
I had posted a question yesterday and could not get any rep from anyone
My problem is this ... I have to take inputs from a web-based interface
and pass them as parameters to a C function (or an executable program)
well, there is no such file, i searched all over my drive, and there is
no php-ini.* php_ini.*
i guess i could try getting a php.ini file from somewhere and putting
it in the /usr/local/lib dir
but i wouldn't know where to get a 'standard' php.ini file
Jule
On Tuesday, Oct 8, 2002, at 22:43 US
You may not have one right now and PHP is using it's defaults. Look for
a php-ini.dist or php-ini.recommended in the php folder. Modify one of
those and save it as php.ini. But, I have no idea where to save it on a
Mac.
Like the other poster said, load up a page through your
browser and PHP may
Umm...take another look at your HTML book. If you print $content after
, then, yes, the content will appear under the table. If you
don't put it between and tags, then it'll appear
above the table (may depend on browser).
---John Holmes...
> -Original Message-
> From: Anthony Ritter [
Yeah that's the path to where php.ini should be (/usr/local/lib, in my
case, but the Jaguar version of PHP doesn't use a php.ini file, so
there's nothing there.
Jule
On Tuesday, Oct 8, 2002, at 22:34 US/Eastern, Timothy J Hitchens wrote:
> Make a page with then display
> the page threw the s
You need a session_start() on your second page.
---John Holmes...
> -Original Message-
> From: Adam Royle [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 08, 2002 10:06 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Transfer to another server - my sessions don't work!
>
> Hi,
>
> I tr
I think this is more of an HTML problem than a PHP...
Put it inside $here (or $here whichever you need)
and I'm sure the problem will go away.
- E
"Anthony Ritter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'd like to have the record data - $current - *w
Make a page with then display
the page threw the server into the browser... and it should
like the location in the top area.
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Jule Slootbeek [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 9 Oct
Hi,
i just installed PHP under Mac OS X and now i was looking around trying
to find the php.ini file, or its equivalent, in order to turn
register_globals to on, so i don't have to go through 15 pages of code
and change all my variables to $_POST['foo'] but i couldn't find
anywhere where this
I'd like to have the record data - $current - *within* the html table but if
I run this script it is on a line outside of the table:
http://waterdata.usgs.gov/ny/nwis/uv?format=rdb&period=1&site_no=01427
510");
array_pop($content);
$current = array_pop($content
Hi,
I transferred a small php site from my localhost to a new server
(commercial server). However, after I transferred it over, my sessions
would no longer work. Just as a test - here is some code I tried.
Please tell me I'm doing it the wrong way. Also, at the bottom of this
email this info
If you are specifically trying to use UTF-8 encoding, look at encode_utf8().
---
Seairth Jacobs
[EMAIL PROTECTED]
"Umut Ozan Basar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i am converting a java class into php.. almost everything is done... but i
> can
I have a couple thoughts...
1) In some other languages, passing an array by value only passes the first
element value, not the whole array. This may be happening here, which would
explay the fast execution times. I don't know this for sure, but it could
easily be tested by seeing what's in $a i
I'm not aware of any but I'm sure you'll find this interesting: (if you
haven't been there yet, at least)
http://sourceforge.net/projects/phpsniff/
- E
On Wednesday, October 09, 2002 9:20 AM
Support @ Fourthrealm.com wrote:
> Hey everyone... do you know where I can find a list of the common
If you need to use variables that are stored in the object, then use
$this->jk();
If you're calling bar::do_something(); then $this wont be set, so you'll
need to use foo::jk() instead.
If you're calling jk() from an object, and you don't need to use any object
attributes, then either way would
Hi all,
Was just wondering which is the better way to call an inherited method from
a child class?
Example:
class foo {
function jk() {
echo "In here!";
}
}
class bar extends foo {
function do_something() {
//Either this one...
$this->jk();
//Or thi
Howdy
does any one know of any site(s) any where that has UPDATED tutorials? I
have alooked @ phpbuilder, phpwizard, hotscripts, php.resourceindex.com,
zend for updated examples etc.. but they only seem to have them for earlier
versions of php and not for any verson after php 4.2.1?
Cheers
Pete
sure, it is :-)
Try: http://cvs.php.net/cvs.php/php-bugs-web?login=2
or go to:
http://www.php.net/anoncvs.php and check out "php-bugs-web"
Happy Hacking
(I'd personally prefer bugzilla... You won't need to adjust as much)
Sascha
Am Mittwoch, 9. Oktober 2002 02:52 schrieb Jason Morehouse:
> A
Anyone know if the source is available for the bug system use on php.net?
--
Jason Morehouse (jm[ät]netconcepts[döt]com)
Netconcepts - http://www.netconcepts.com
Auckland, New Zealand
Linux: Because rebooting is for adding hardware.
--
PHP General Mailing List (http://www.php.net/)
To uns
Hi,
> Hey everyone... do you know where I can find a list of the common returns
> of the $_SERVER["HTTP_USER_AGENT"] variable?
>
> For example:
> I.E. 5.0 = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; .NET CLR
> 1.0.3705)
> Netscape 4.08 = Mozilla/4.08 [en] (WinNT; U ;Nav)
On one side -
i am converting a java class into php.. almost everything is done... but i
cant find a java functions equivalent in php, thats getBytes()... is anybody
knows that a function in php that exactly does the same job ?
for more info about getBytes()
http://java.sun.com/docs/books/tutorial/i18n/text/st
Hey everyone... do you know where I can find a list of the common returns
of the $_SERVER["HTTP_USER_AGENT"] variable?
For example:
I.E. 5.0 = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; .NET CLR
1.0.3705)
Netscape 4.08 = Mozilla/4.08 [en] (WinNT; U ;Nav)
Thanks,
Peter
- - - - - - -
Or look at the manual for a perfect working example of file uploading.
Why people keep trying to reinvent the wheel is beyond me...
Justin French
on 09/10/02 6:35 AM, 1LT John W. Holmes ([EMAIL PROTECTED]) wrote:
> Just do a print_r($_FILES) and see what all of the contents are.
>
> ---John
Ummm, I've read this twice, and don't get it!!!
You want to make:
- an 'A' file available on the first friday of the month
- an 'B' file available on the second friday of the month
- an 'C' file available on the third friday of the month
- an 'D' file available on the fourth friday of the month
This has been explained a few times. PHP does shallow copies, or
copy-on-write which means that the data is not actually copied until you
change it. That is:
$a = "1234567890";
$b = $a;
internally we do not copy the data from $a to $b until you change $b.
We you use references we have a b
I tried some trivial expirements:
/* here I define an array $big, which I guess would "eat" ~100kb of memory
*/
for($i=0; $i<1; $i++)
{
$big[$i] = "1234567890";
}
/* this func only returns the value it gets as a param...*/
function f($a){return $a;}
$start = microtime();
/* here all the j
I tried some trivial expirements:
/* here I define an array $big, which I guess would "eat" ~100kb of memory
*/
for($i=0; $i<1; $i++)
{
$big[$i] = "1234567890";
}
/* this func only returns the value it gets as a param...*/
function f($a){return $a;}
$start = microtime();
/* here all the j
I tried some trivial expirements:
/* here I define an array $big, which I guess would "eat" ~100kb of memory */
for($i=0; $i<1; $i++)
{
$big[$i] = "1234567890";
}
/* this func only returns the value it gets as a param...*/
function f($a){return $a;}
$start = microtime();
/* here all t
My advice would be to set your mail program's preferences to send messages
in text & html (you can do it in NS or Moz), send yourself a message with a
link or bold or something to make it an html message, then view the source.
Cheers,
Owen Prime
http://www.noggin.com.au
Chris Cook wrote:
>
Hi Darren--
4.3 is not out yet; the reference is to the current CVS version (which
will, eventually, become 4.3, I suppose), which you can check out and
use, although it is not an "official" release and will therefore
probably be a bit unstable (I've been running it on my dev server for a
while w
Good day,
I'm trying to create a PHP app to connect to a remote port that uses SSL.
According to the documentation for fsockopen() ...
As of PHP 4.3.0, if you have compiled in OpenSSL support, you may prefix the
hostname with either 'ssl://' or 'tls://' to use an SSL or TLS client
connection
Hello !
I installed for the third time EasyPHP on my computer (with Windows XP), and
I keep having the same little problem : when I turn off my computer with
EasyPHP (Apache) on, I get an error message saying "cmd.exe : the
application could not initialize correctly ...". This is no big deal as t
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hi All!
>
> Anyone know how to code the MySQL command in PHP to make the database script
> download to your local hard disk, without writing 100 lines of code?
>
> I tried the mysqldump without any luck, but I think there is an easy wa
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> I am querying a database to populate a list. The list is suppose to start
> with the first line of information in the database and continue untill have
> been displayed.
>
> The problem I am having is the first line in the database is n
No, I hadn't realized that's what controlled the "no-cache" being sent.
I switched it to "none" and it works now. Thanks.
---John Holmes...
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 08, 2002 9:55 AM
> To: John W. Holmes
> Cc: 'Tom Rog
--- Mike At Spy <[EMAIL PROTECTED]> wrote:
>
> Anyone ever have the experience of working on a
> site, working with MySQL and
> then having something almost inexplicable happen?
Hmmm, yes, that would be a daily exercise for me. Ah, but I see that your
inexplicable problem has been explained... l
> if (is_readable("owner.php"))
> echo "READABLE";
> else
> echo "UNREADABLE";
> include ("owner.php");
> ?>
According to the manual, the results of is_readable() is cached. So, if
you've been testing this and have both readable and unreadable you may
have the wrong one c
This is a function I made which covers my needs. May be of some help for
you. This is a "select" box but I'm sure you can modify it for a combo box.
$form_fiel_name is the name you want the box to have in your web form.
$table is the table from you want to retrieve the information
$field is th
Hello,
On 10/08/2002 05:26 PM, Chris Cook wrote:
> Hello all,
>
> I am trying to send out a multi-part email that is both text and HTML.
> The HTML is so I can embed links into the email. However, some of my
> clients have text-only email programs and all the HTML tags are visible.
> Is there
Damn! I should have seen that!
Oh well, at least it was something obvious. ;-)
Thanks to you Jason, and everyone who replied to point out the obvious to my
tired brain (excuses, excuses!).
-Mike
> -Original Message-
> From: Jason Young [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, Oct
Just do a print_r($_FILES) and see what all of the contents are.
---John Holmes...
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 2:28 PM
Subject: RE: [PHP] For my next bug... Upload filename gets blanked out
> < array.>>
>
> I do
You have these two lines:
$cartquery = mysql_query("SELECT CartItemsID,Date FROM CartItems")
or die("Query failed");
$cartnow = mysql_query($cartquery);
You're trying to run the second query with the result of the first
queryI'm pretty sure that's not what you want to do.
---John Holmes...
On Wednesday 09 October 2002 04:26, Chris Cook wrote:
> Hello all,
>
> I am trying to send out a multi-part email that is both text and HTML. The
> HTML is so I can embed links into the email. However, some of my clients
> have text-only email programs and all the HTML tags are visible. Is there a
To reitterate what Jason said, this is assignment is invalid.
---
$cartquery = mysql_query("SELECT CartItemsID,Date FROM CartItems");
$cartnow = mysql_query($cartquery);
$cartnow will contain FALSE. And mysql_num_rows(false) will give the error
you are recieving.
-Keivn
- Original
Hello all,
I am trying to send out a multi-part email that is both text and HTML. The
HTML is so I can embed links into the email. However, some of my clients
have text-only email programs and all the HTML tags are visible. Is there a
way that I can display HTML in the HTML enabled programs an
Yes,
the basic settings are, but some modules differ.
Regards,
Hendrik
Jason Wong wrote:
>On Wednesday 09 October 2002 03:14, Hendrik Daldrup wrote:
>
>
>>Hi,
>>
>>i recently had a problem with a script on a server, which uses php 4.2.3.
>>I couldn't find the problem and so installed it on a
Have you tried redirecting stderr to a file?
On Tue, 2002-10-08 at 11:50, Alec Solway wrote:
> I'm having problems running cp from shel_exec(). Nothing is returned, but
> the copy is unsuccessful. The same call works as user nobody from the
> actual shell. Any ideas?
>
> -Alec
>
>
> --
> PH
You're doubling up on your mysql_query's .. the first one runs, and I
don't know the ins and outs of PHP, but the second mysql_query causes
the resource to not be available... had a similar problem recently.
Take the mysql_query out of the $cartquery assignment.
-Jason
Mike At Spy wrote:
> An
Anyone ever have the experience of working on a site, working with MySQL and
then having something almost inexplicable happen?
I was working on a script, and had this weird event. A very simple script
with this:
mysql_connect("localhost","user","pass");
mysql_select_db("dbname")
or die("Qu
On Wednesday 09 October 2002 03:14, Hendrik Daldrup wrote:
> Hi,
>
> i recently had a problem with a script on a server, which uses php 4.2.3.
> I couldn't find the problem and so installed it on a different server
> and it worked right away.
> Only difference on that server was: php 4.2.2.
Are t
Yes, I saw PDI - I'm perfectly open to paying $ for a solution - but, is
there any PHP integration with pdflib+pdi?
On Tue, 8 Oct 2002, SHEETS,JASON (HP-Boise,ex1) wrote:
> I believe the authors of PDFlib have a utility that allows you to edit PDF
> files on the fly, I don't think it is fr
Can they be used? Ie, can you open up an existing PDF and execute
pdf_show*s on it and dump out the modified buffer?
We have several blank PDF forms laying around and I'd like to be able to
populate them without having to regenerate the PDFs everytime (which, in
some cases would be impossibl
Yes, is there an issue? Just see my post under
RE: [PHP] For my next bug... Upload filename gets blanked out
Of a couple minutes ago
Cheers,
Jose
> -Original Message-
> From: Hendrik Daldrup [mailto:[EMAIL PROTECTED]]
> Sent: 08 October 2002 20:15
> To: [EMAIL PROTECTED]
> Subject:
I didn't do it yet.
The script I am working on is large with many variables so I was hoping
someone else would know before I do it.
"Chris Hewitt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Christopher J. Crane wrote:
>
> >Can I do this?
> >global $Ticker=
Hi,
i recently had a problem with a script on a server, which uses php 4.2.3.
I couldn't find the problem and so installed it on a different server
and it worked right away.
Only difference on that server was: php 4.2.2.
I checked some sites and it seems there are some issues with postnuke,
xo
I've been having the same problem, sort of. I.e. the blanking out of
POST data when uploading a file, though it also happens in some
instances when using phpMyAdmin when sending an SQL query through its
interface.
I run the whole thing under WindowsXP with PHP 4.2.3, MySQL 3.23.52-nt
(though that
<>
Well, to start you off, the select would have to be this:
SELECT salesman FROM salesman_database;
(You may have to check out a MySQL site for some specifics, such as what
other information do you need than the name--number? Department?--and are
there any filters you need--some have left?).
Fo
Hi, I need to do a drop down menu that loads the contents from a msql
database.
Like this: I need a select that has the name of every salesman of a
certain department, and this info is dynamic and is recorded in a
database (MySql).
So what would the select have to be like?
Also the load value is
If there is any doubt print the array to find the indexes you need to recall
the filename..
echo "";
print_r($_FILES);
echo "";
You'll figure it out quickly enough. ::)
-Kevin
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 12:28
Hello,
I was wondering if anyone has some examples of encrypting credit card
numbers in a database?
Basically, someone goes to a secure site, enters their information, and
then it is stored locally in a mysql database until it can be entered
(this is all we have for now until we setup a merchant
Christopher J. Crane wrote:
>Can I do this?
>global $Ticker=array();
>
I don't know, what happens when you try it?
HTH
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
<>
I don't think that's it. Tell me if I'm using it improperly, but I tried to
print out the filename:
print("[".$_FILES['uploadfile']['name']."]");
Is that it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The code works fine for displaying the information in the database. However,
the first line of information is still skipped.
Jef
++
"Davy Obdam" <[EMAIL PROTECTED]> wrote in message
000801c26e63$8622cb00$960a@davy">news:000801c26e63$862
Shane wrote:
>
> Greetings gang, this should be an easy one but it's kicking my butt today.
>
> I need to build a member number in the format of -00- from an auto increment
>ID field from my DB.
>
> I can get the last ID value easy enough, but how the heck can I tag the new ID on to
>
Devin Atencio wrote:
>to sendmail in my /usr/local/lib/php.ini. I am using PHP 4.2.3
>but it fails to send mail. My /var/log/maillog shows the attempt
>but nothing happens:
>
>Oct 8 11:12:18 stardust sendmail[84142]: g98HCIsQ084142: from=nobody,
>size=331, class=0, nrcpts=0,
>msgid=<[EMAIL PROTE
Greetings gang, this should be an easy one but it's kicking my butt today.
I need to build a member number in the format of -00- from an auto increment
ID field from my DB.
I can get the last ID value easy enough, but how the heck can I tag the new ID on to
the end of the string -0
<>
Hmm. Not sure about register_globals, but I'm not using $_FILES. I assume
its use is $_FILES["name_of_file || size_of_file"]? I'll check it out.
Is there a disadvantage to using it? Ie. If register_globals is on, will it
still work? If there's no disadvantage, I might just go with it anyway..
Can you global a variable at the same time as making it an array?
I usually do this:
$Ticker = array(); global $Ticker;
Can I do this?
global $Ticker=array();
Thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is register_globals off? If it is, you should be using the $_FILES array.
---John Holmes...
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 1:35 PM
Subject: [PHP] For my next bug... Upload filename gets blanked out
> In the form be
Hkan wrote:
>I just reinstalled the system and everything on my computer, and thought I
>should get the latest versions of apache, php and mysql, and now I get this
>message everywhere on my pages.. hehe.. :P
>how do I "define variables" ?
>
If you have reinstalled with latest versions, maybe you
In the form below, when I specify a file to upload (in $filename), it gets
blanked out by the time I hit the Upload button and the page refreshes. My
test file is a text file that certainly does *not* exceed the max_file_size
(it goes to about 27 k).
Upload
> On Tuesday 08 October 2002 23:34, R. Z. wrote:
> > I've just read on MSDN that ASP sessions only work if the client has
> > cookies enabled,
> >
> > Is that true for PHP as well.
>
> Yes.
>
> Note that some browsers actually differentiate between session cookies
(stored
> in memory) and 'permane
Yes I do have -t -i at the end of the path but it still doesn't
work. Any other ideas?
On Tue, 2002-10-08 at 11:17, Adam Voigt wrote:
> In your sendmail path, do you have -t -i appended to the path?
> Like: /usr/bin/sendmail -t -i
>
> Adam Voigt
> [EMAIL PROTECTED]
>
> On Tue, 2002-10-08 at 13:
On Tuesday 08 October 2002 20:08, Mark Colvin wrote:
> I have just upgraded php from 4.0.6 to 4.2.3. Everything works OK apart
> from the line below -
>
> echo '';
>
> The thumbnail.php script uses php functions imagecreate,
> imagecreatefromjpeg, imagecopyresized. The script created a thumbnail O
Thanks for your message. The database on which I ran the query which result I am
trying to fetch with this function is Pervasive 7. However, the PHP parser does not
recognize the function name, so I don't believe the issue is with the db.
Even on the php.net site, the function is not documented
In your sendmail path, do you have -t -i appended to the path?
Like: /usr/bin/sendmail -t -i
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-10-08 at 13:15, Devin Atencio wrote:
>
> I am trying to get PHP to send mail through my FreeBSD machine
> and my machine is running Sendmail 8.12.4, and I have
I am trying to get PHP to send mail through my FreeBSD machine
and my machine is running Sendmail 8.12.4, and I have the path
to sendmail in my /usr/local/lib/php.ini. I am using PHP 4.2.3
but it fails to send mail. My /var/log/maillog shows the attempt
but nothing happens:
Oct 8 11:12:18 stard
On Tuesday 08 October 2002 23:34, R. Z. wrote:
> I've just read on MSDN that ASP sessions only work if the client has
> cookies enabled,
>
> Is that true for PHP as well.
Yes.
Note that some browsers actually differentiate between session cookies (stored
in memory) and 'permanent' cookies (stor
I just reinstalled the system and everything on my computer, and thought I
should get the latest versions of apache, php and mysql, and now I get this
message everywhere on my pages.. hehe.. :P
how do I "define variables" ?
Håkan
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
On Tuesday 08 October 2002 22:23, Jef wrote:
> What archives?
List archives. Searching for "archives" in www.php.net would have shown you
where they are.
Also google for "php database next previous" would've turned up some good
links.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.
<>
No, I've got the text/ascii header in there. I have it send an HTML and a
text version. Both look very different. The only problem with the text
version is that there are no line breaks... Until it encounters a P tag.
It's weird, but I have those completely stripped out, but the BR tags I have
Doh! Sorry.. that would be $_GET['action'] as Chris specified. :P
-Kevin
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "Paul Kaiser" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 10:33 AM
Subject: Re: [PHP] Forming HTTP Header to POST
> Wi
1 - 100 of 176 matches
Mail list logo