Hi All,
I'm trying to print some date right out of an php file,
to do this i use the printer_draw_text function.
All works fine for one line, but how can i print more than one line?
When i put my text in a string, and try to print the string
it will print nice squares, but it will not print mu
On Tuesday 13 August 2002 15:12, Jean-Christian Imbeault wrote:
> Now for a really dumb question. How do I compile PHP so that I can get a
> binary executable instead of an Apache module?
./configure
make && make install
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source So
Jason Wong wrote:
>
> Manual -> "Using PHP from the command line"
Thanks!
Now for a really dumb question. How do I compile PHP so that I can get a
binary executable instead of an Apache module?
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Tuesday 13 August 2002 14:41, Jean-Christian Imbeault wrote:
> How can I run a PHP program from the command line in linux?
>
> I want to dosomething like:
>
> #php prog.PHP
Manual -> "Using PHP from the command line"
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Sof
How can I run a PHP program from the command line in linux?
I want to dosomething like:
#php prog.PHP
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mirek Novak wrote:
>
> I thing, you have to find out WHAT is really slow part, I don't think
> it is PHP what's slow,
Thanks. Maybe I didn't write my question properly ...
I am not interested in making my program more efficient
I just want to set the proper PHP environment variable that w
Julio Nobrega wrote:
>[EMAIL PROTECTED] em Friday 09 August 2002 14:14 foi agraciado com uma
>resposta por:
>
>
>
>>but how many huge dot-coms wrote their sites in PHP?
>>
>>
>
> We did :-)
>
> A Linux/Apache/PHP/Mysql system that will run credit solicitations for
>financial institution
Hello,
On 08/13/2002 01:44 AM, Jean-Christian Imbeault wrote:
>> For high-volume mail delivery, you should be using a dedicated mailing
>> list system. Have PHP send a single message to the list and let the list
>> system do the mass-delivery for you. Right tool for the job and all...
>
> Tota
".Net"? BLASPHEMY!
- Vic
-Original Message-
From: Aung [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 11:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Web services and PHP
I have some web services developed with .NET and I would like to consume
these web services from PHP. Can
HI,
I thing, you have to find out WHAT is really slow part, I don't think it is PHP
what's slow, as you didn't write more about
your project, try to find out the "bottleneck" in few steps, for example turn off
error-checking, then put it back on and turn
off execution of INSERT queries, th
Just about any mailing list system that supports subscriber passwords
should do. I can't imagine a way they would store these passwords that
PHP wouldn't be able to grok with a little 10-minute hack job.
-Rasmus
On Tue, 13 Aug 2002, Jean-Christian Imbeault wrote:
> Rasmus Lerdorf wrote:
>
> >
I might be wrong but I think the only (easy) way you can view the source is
to "Save as..." the page first into xxx.html then open that file and view
the source...
In other words:
1. Using N6, go to the page where you can't "view source"
2. Click on "File" -> "Save as..."
3. Save it to desired
Rasmus Lerdorf wrote:
>
> So, depending on your sendmail configuration, and how you are invoking
> sendmail (see your php.ini file) it will be non-blocking if you tell
> sendmail to simply queue it.
Ok. I'll look into what settings are important in php.ini
> For high-volume mail delivery, y
On UNIX PHP hands the message off to sendmail to be delivered. You want
this stuff to happen out of band, it makes no sense to sit there and watch
a browser spin while something is off communicating with an smtp server.
So, depending on your sendmail configuration, and how you are invoking
sendm
Andrew,
It's true that "the time you use in coding and figuring out ways to make
PHP faster would be greater than..."
The task mentioned might be a "one-off thing" NOW. However, the techniques
that we can learn can also be applied in future task, so, I'm still
interested in the answer to the o
Is the mail() function blocking or non-blocking? Does anyone know how I
can make it non-blocking? I don't want to have my script waiting on
mail() to return ...
Also I read that mail() should not be used for large volumes of mail.
How large is "large"? Can mail() handle a couple of messages pe
Andrew Brampton wrote:
>
> I don't know any good ways of making PHP go faster, but may I suggest that
> the time you use in coding and figuring out ways to make PHP faster would be
> greater than the time you have saved by using such features...
I am not looking to tweak my code. I am asking f
Thanks for the reply.. As a newbie, I'm not understanding what else I could use,
even after searching the manual and google..
I've tried readfile() instead of file() which returns some, not all, of the
head.o0o code (I assume as a strong instead of an array), but I still get an
error:
Warning: F
I don't know any good ways of making PHP go faster, but may I suggest that
the time you use in coding and figuring out ways to make PHP faster would be
greater than the time you have saved by using such features...
If this is a one of thing I think 30minutes is better than 15minutes plus
60minute
on 13/08/02 1:53 PM, Aung ([EMAIL PROTECTED]) wrote:
> I don't see any function for .NET in PHP manual. Are you refering to
> different manual?
http://www.php.net/manual/en/ref.dotnet.php
I found it pretty easy!
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
on 13/08/02 1:39 PM, Jason Wong ([EMAIL PROTECTED]) wrote:
> On Tuesday 13 August 2002 10:29, Justin French wrote:
>
>> Needless to say, this is not light work. You should seriously consider
>> paying someone to do this properly for -- at least the first time, and try
>> to learn off them. You
I'm using Netscape 6.2 and whenever I load one of my .php files I can't
get Netscape to "show source". I don't have that problem with IE.
Can anyone tell me how to configure Netscape so that I can view the HTML
output of my PHP files?
Jc
--
PHP General Mailing List (http://www.php.net/)
To
here ya go
http://www.php.net/manual/en/ref.dotnet.php
> -Original Message-
> From: Aung [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 13 August 2002 1:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Web services and PHP
>
>
> I don't see any function for .NET in PHP manual. Are you
file() returns an array, show_source() takes a string.
On Mon, 12 Aug 2002, eriol wrote:
> Thanks for the reply..
>
> I did try what you suggested, but am getting the following warning:
>
> Warning: Failed opening 'ArrayArrayArray' for highlighting in
> /hsphere/local/home/eriol/oo0oo.com/o0o.o0
I don't see any function for .NET in PHP manual. Are you refering to
different manual?
"Peter Houchin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> look up .NET in the manual it will have all your answers :D
>
> > -Original Message-
> > From: Aung [m
On Tuesday 13 August 2002 09:46, Sascha Braun wrote:
> The funktionality is:
>
> Customer puts an 300 DPI High quality JPEG image into his shopping cart,
> after he checks out the Image or the images are getting compressed via Zlib
> Library.
Have you tried doing a few test runs to see
1) By ho
I'm using PHP to load data into a PostgresQL database. The script works
fine but it is a bit slow. It's taking about 30 minutes to load about
15,000 items. This is mainly because of all the error checking and many
redundant queries I am running.
This program is a one-off thing.
Are there any
On Tuesday 13 August 2002 10:29, Justin French wrote:
> Needless to say, this is not light work. You should seriously consider
> paying someone to do this properly for -- at least the first time, and try
> to learn off them. You should spend lots of time talking with your host
> about security
I fixed my DB2 + PHP problem. Turns out I didn't have DB2 Connect EE
installed -- which is required to work with PHP. ooops.
Thanks for all your help,
-Doug
"Matt" <[EMAIL PROTECTED]> wrote in message
047001c23f46$f7707c40$[EMAIL PROTECTED]">news:047001c23f46$f7707c40$[EMAIL PROTECT
look up .NET in the manual it will have all your answers :D
> -Original Message-
> From: Aung [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 13 August 2002 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Web services and PHP
>
>
> I have some web services developed with .NET and I would l
I have some web services developed with .NET and I would like to consume
these web services from PHP. Can someone provide me with example code?
Thanks in advance.
Aung
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the reply..
I did try what you suggested, but am getting the following warning:
Warning: Failed opening 'ArrayArrayArray' for highlighting in
/hsphere/local/home/eriol/oo0oo.com/o0o.o0o on line 43
(o0o is php)
Line 43 is:
show_source("$show");
I copied everything as written, so I'
You could just append the files into a string, then show the string instead.
Like
if(strlen($php)>0){
$php = $DOCUMENT_ROOT . $php;
if (ereg("(\.php)$",$php) && !ereg("\/\.\.", $php)){
$show=file("head.php");
$show.=file("$php");
$show.=file("foot.php");
echo "\n\n";
Also,
This may be unrelated, but something I'll throw in just in case as there was
much hair pulling on my part.
I recently discovered a problem with using sessions on Apache 1.3.2.23 and
PHP the two latest versions of PHP (excluding the most recent version which
was not available at the time).
on 13/08/02 6:58 AM, The Gabster ([EMAIL PROTECTED]) wrote:
> Thanks again, Justin...
>
> Any suggestions on how to store/transmit the credit cards securely?
I'm not a security expert at all, so don't consider this advice anything
more than "suggested for further reading".
This is a big can of
Yeah, I ran into this too, quite some time ago. The first whitespace
character will be displayed by html, though all subsequent ones will be
ignored. The thing to do is just get used to it. Or use a table, which is
usually more sensible anyways, as it gives you more control.
Mike
"Michael Zo
on 13/08/02 3:42 AM, mintbaggio ([EMAIL PROTECTED]) wrote:
> I'm a Chinese university student,I want to ask some questions about session.
> These days I'm build a website for my university with PHP, But I meet a
> question when I develop the part of User Management: After I have log out
> from a
The only NATIVE way is using strip_tags(), and physically allowing most HTML
tags to be included:
$allowed =
"
I was looking for one for AGES.
There are a few bits on phpclasses.org, but they didn't suit MY needs.
I actually decided to start writing my own, because I only needed to parse a
VERY limited subset of HTML (just a few different tags).
Justin French
on 13/08/02 2:35 AM, Curtis A. Weyant ([EM
YOu need to contact your host first. What you need is for the server to
detect emails coming into a certain address, or with a certain subject line,
and pass them over to a free-standing (ie not a browser-run) PHP script.
The trick will NOT be the parsing of the text and inserting it into the DB
But I do...
If I left out the require statement all is well.. or I copy the whole
content of the included file.. it works fine. The problem is the require
statement.
"James Green" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Mon, 2002-08-12 at 22:14,
If you store the date as a database native timestamp you might want to
consider using native database functions in order to reduce CPU time -
otherwise Mr. Green's solution is the typical one indeed.
Bogdan
James Green wrote:
> On Mon, 2002-08-12 at 10:41, Joe in Minneapolis wrote:
>
>>What's
Hi,
I wanna pack some files before they are getting available for download. My
problem is, that I don't know what will happen to the webserver if there is
alot of trafic too.
Will this method work out or will it kill the machine?
The funktionality is:
Customer puts an 300 DPI High quality JPEG
On Mon, Aug 12, 2002 at 08:48:49PM -0400, Mike Mannakee wrote:
> Does anyone have any suggested method of scrambling a user's credit card
> number before I stick it in a mysql database? I want to make sure it's
> useless to anyone that might manage to lift the database.
It's best not to store fu
On Tue, Aug 13, 2002 at 12:01:24AM +0300, Smad wrote:
>
> I am authenticating users on my website using .htaccess.
> After they log in, I want to pass the user info (for ex: a unique nr.
> identifiying the person) thruought all the pages which are affected by the
> .htaccess file
$_SERVER['PHP_A
Hello,
I got the same Problem right yet. I´m using an create thumbnail library on
my website, but the class don't work on my computer and either not on my
webspace where i tested it too.
On my Computer there is installed Win2K with apache 2.0.35 and PHP 4.2.2. I
used both GDLibs wich came along
On Mon, Aug 12, 2002 at 01:29:38PM -0700, Keith Posehn wrote:
>
> | 36310 ABBEVILLE |
> | 35440 ABERNANT |
> | 35005 ADAMSVILLE |
Look at http://www.php.net/manual/en/function.fgetcsv.php.
Use Example 1, substituting " " as your "delimiter" argument and your
file name in lieu of "tes
Matt Babineau
MCWD / CCFD
-
e: [EMAIL PROTECTED]
p: 603.943.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
-Original Message-
From: Michael Zornek [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12
Ok so in my HTML I have:
but because they are on separate lines with spaces, I get spaces rendered on
the screen. If I write the code like:
I get no spaces but it's harder to read
anyone know of a way to tell html to ignore these spaces?
I could in theory do something like this in
We use the mcrypt lib to encrypt data stored in our DB; works great for us.
Check the online documentation for more info.
- Mike D
>Does anyone have any suggested method of scrambling a user's credit card
>number before I stick it in a mysql database? I want to make sure it's
>useless to anyo
If they are able to lift your database they are more than likely able to
lift your scrambling code as well. And assuming you want the ability to
descramble the card number, there is simply no way to do this securely.
Sorry.
-Rasmus
On Mon, 12 Aug 2002, Mike Mannakee wrote:
> Does anyone have a
Does anyone have any suggested method of scrambling a user's credit card
number before I stick it in a mysql database? I want to make sure it's
useless to anyone that might manage to lift the database.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
http://phpbuilder.com/snippet/download.php?type=snippet&id=1086 - This one
works pretty well - checks most domain (everything except .tv and such)
HTH
Danny.
- Original Message -
From: "David Freeman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 11:32 PM
Sub
I've got the following bit of code to work in showing the actual PHP file source
code, but it doesn't show include() or require() files and I'd like it to..
-- source.php --
if(strlen($php)>0){
$php = $DOCUMENT_ROOT . $php;
if (ereg("(\.php)$",$php) && !ereg("\/\.\.",
> I'd like to implement on my web site an "whois" to know the
> information about a domain name (.com, org, )
There's an article about doing exactly this on devshed
(www.devshed.com/Server_Side/PHP/) that you could have a look at. Looked
like a pretty complete solution when I went looking
It's a fairly well known problem now but I'm sure we'll all be using (at
least) 64bit integers for storing this sort of stuff by 2038.
FYI, the current 32bit signed int allows for around 68years - a 64bit signed
int will give us a few billion years :)
Danny.
- Original Message -
From: "
Have you tried it on a non debug build?
Danny
- Original Message -
From: "Marcello Lupo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 8:14 PM
Subject: [PHP] In version 4.2.1 ereg_replace break Apache
> ## A simple function to remove consonant ##
> $temp="th
On Mon, 2002-08-12 at 10:41, Joe in Minneapolis wrote:
> What's the best way to evaluate the server date to see if it's within a
> specified date range?
Hm I'd [gm]mktime() both boundary dates, then turn all three dates into
unix timestamps and check the server date is within the two integer
bou
On Mon, 2002-08-12 at 22:14, Huy wrote:
> If I use either the include or require statement, PHP will generate some
> lines in the browser. For example, I want the first line is Hello There..
> echo ("Hello There"); but the line happens to be the third line after some
> blank lines. So how do I tur
What's the best way to evaluate the server date to see if it's within a
specified date range?
Thanks! Joe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2002-08-12 at 18:35, Remy Dufour wrote:
> Hi all,
>
> Is there an easy way to remove tag from a string ?
> Ive got this script and i want it to output only html...
> I know i can do this with regular expression but i wonder if there are some
> native function to do the job.
http://uk.ph
Are you using gzip compression? Maybe the browser you are using doesn't
support gzip.
- Original Message -
From: "Kelvin Lawson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 4:55 PM
Subject: [PHP] Garbage .html via HTTP/1.0 or Proxy
Hi All,
When connecting
testing php.general list
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I use either the include or require statement, PHP will generate some
lines in the browser. For example, I want the first line is Hello There..
echo ("Hello There"); but the line happens to be the third line after some
blank lines. So how do I turn that off??
--
PHP General Mailing List (ht
Hi All,
When connecting to my site from certain clients, the .html returned contains a large
block of non-standard characters.
Running it locally and from various other places, the site looks normal. But when I
connect from work, the .html file returned is corrupted. At work we have a web prox
Hi
I am authenticating users on my website using .htaccess.
After they log in, I want to pass the user info (for ex: a unique nr.
identifiying the person) thruought all the pages which are affected by the
.htaccess file, in order to extract that user's info from the database. I
must tell you that
Hi!
I never used MSSQL myself, but you should be able to find some SQL
command to format the date in the MSSQL documentation - that's generally
the way to retrieve specific date/time elements.
HTH
Bogdan
Dave Leather wrote:
> I hope this is a simple date question
>
> I am using an MSSQL dat
Thanks again, Justin...
Any suggestions on how to store/transmit the credit cards securely? And how
do I process them manually? How do I get set up to accept credit cards?"
Thanks,
gab.
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> on 10
What do you need exactly? Phplib does a lot of things, and I don't think
anyone can answer your question without some specifics (or without
rewriting the phplib documentation, that is).
Bogdan
John Wards wrote:
> Anyone got any handy hints on how to convert scripts running on PHP3 and
> PHPlib
Hi!
Have you tried echoing $aFileContents in the same script? Does it
actually contain anything? You may have a problem with reading from the
upload file...
Bogdan
Djurovski Dejan wrote:
> I can't upload picture to MySQL database:
> What is wrong with my script:
> I use PHP & MySQL database.
If that's the exact string you have (which I doubt) then your code
should look something like
Notes on the code above:
1. Your string most probably doesn't look like that, in which case
you'll have to adapt the code to it;
2. You'll have to do some custom changes to the first and last entry
No, you don't need to use HTTP_SESSION_VARS for anything if
register_globals is on. Sessions are very simple. You start a session,
and you register variables to be part of that session. Like this:
session_start();
session_register('a');
session_register('b');
If you have that at the top of
Mark, et al --
...and then Mark Charette said...
%
% I use
%
% $data=base64_encode(serialize($array_name));
%
% to send and
%
% $array_name=unserialize(base64_decode($data));
%
% to receive.
Aha! Yes, that works nicely; thanks. Now to go and see how they work to
see if I need the base64 s
I found out, that phps isn't supported for apache 2 before php 4.3.x or so
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sat, Aug 10, 2002 at 07:38:05PM +0200, FileCop wrote:
> >
> > I have installed apache 2.0.39 and php 4.2.2 on a w
// Create user directory
/* $user-id is a variable that contains the use name from a form field,
that's how I name my new directories, u can use whateve u want*/
mkdir ( "/path/to/dir/$user_id", 0755 )
or die ( "Could not create custom user directory." );
- Vic
-Original Message-
From:
Perhaps this might help: http://www.php.net/manual/en/function.ini-set.php
session.save_path "/tmp" PHP_INI_ALL
session.name "PHPSESSID" PHP_INI_ALL
session.save_handler "files" PHP_INI_ALL
session.auto_start "0" PHP_INI_ALL
session.gc_probability "1" PHP_INI_ALL
I have a huge block of zip codes I need to seperate into their constituent
parts for a query of a database. The block looks like this (in part):
| 36310 ABBEVILLE |
| 35440 ABERNANT |
| 35005 ADAMSVILLE |
| 35540 ADDISON |
| 35006 ADGER |
| 35441 AKRON |
I need to use eplode (p
Oh, almost forgot,
I *think* the reason why I'm still worrying about the $HTTP_* arrays are
because I *think* that it is the correct way to work with the vars once
register_globals is turned off ( which is where things are moving to
right?), and I don't want to re-code my scripts...
Am I making s
You lost me there...
Are you saying I don't need to access those variable in that way?
Can I simply use $variable in successive pages then?
Surely I MUST use that notation to assign values then right?, specially
to the session vars, right?
But, just out of curiosity, why does it work fine on my n
The tutorial at DevShed should provide the answers your looking for
http://www.devshed.com/Server_Side/PHP/whois/page1.html
-Original Message-
From: Christian Ista [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 12:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Whois...
> http
trerter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If register_globals is known to be on, why are you worrying about
the $HTTP_* arrays?
On 12 Aug 2002, Petre Agenbag wrote:
> Hi
> Me again
>
> Still having problems with forms not sending variables, and session
> variables dissapearing.
>
> I have 2 systems, one older 4.0.3 PHP which is my main
On 12 Aug 2002 at 20:48, Christian Ista wrote:
> Hello,
>
> I'd like to implement on my web site an "whois" to know the information
> about a domain name (.com, org, )
>
> Could you tell me how to do that ?
http://promoxy.mirrors.phpclasses.org/search.html?words=whois&go_search=1
http://
Hi
Me again
Still having problems with forms not sending variables, and session
variables dissapearing.
I have 2 systems, one older 4.0.3 PHP which is my main webserver, so all
scripts must comply with it...
And the other my development server with the latest 4.1.2
So, I'm trying to write scrip
hi there
1=> session_unset ans session_destroy do destroy all data of a session but
they do not destroy the cookie stored in the browser, you have two chioces:
-alter the option session.cookie_lifetime en php.ini the default is '0'
seconds.
-after using session_unset(); and session_destroy();
Just curious, any reason you don't use the mkdir function/
mkdir ("/path/to/my/dir", 0700);
-Brian
> -Original Message-
> From: Simon Ritchie [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 2:50 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] exec / mkdir question
>
>
> > > i
Hello,
I'd like to implement on my web site an "whois" to know the information
about a domain name (.com, org, )
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
> > i'm using the following code to create a directory :-
> >
> > $temp = exec("mkdir $path");
> >
> > it doesn't work...
> >
> > i've validated the $path var which is correct. i suspect it is a
> > permissions issue.
> >
> > what should i look for to resolve this?
>
> Try using the mkdir functi
If I have to do that for every reply then I will only reply to half as
many messages each day.
On Tue, 13 Aug 2002, Jason Wong wrote:
> On Tuesday 13 August 2002 00:03, Rasmus Lerdorf wrote:
> > I know many people hate top-posts, but when you get 1400+ emails every day
> > and answer 50+, it sur
On Tuesday 13 August 2002 00:03, Rasmus Lerdorf wrote:
> I know many people hate top-posts, but when you get 1400+ emails every day
> and answer 50+, it sure does speed things up.
It probably depends.
> Having the relevant text
> right up front means I don't have to scroll down to find it.
On Monday 12 August 2002 23:53, Analysis & Solutions wrote:
> Hi Tyler:
>
> On Mon, Aug 12, 2002 at 02:32:57PM +, Tyler Durdin wrote:
> > Why not just let such a simple question go then?
It was clearly a question that had nowt to do with PHP. Even your subsequent
posts defending your positio
Hello
I'm a Chinese university student,I want to ask some questions about session.
These days I'm build a website for my university with PHP, But I meet a
question when I develop the part of User Management: After I have log out
from a user page(I use "session_unset()" and "session_destroy()
On Tuesday 13 August 2002 01:11, Rick Horrix wrote:
> Thanks for your reply, but I can see a couple of potential problems with
> this ;-
> 1) This relies on the user having javascript enabled in their browser
> settings.
> 2) The page has to be fully loaded in the client browser before the
> redir
Hi all,
Is there an easy way to remove tag from a string ?
Ive got this script and i want it to output only html...
I know i can do this with regular expression but i wonder if there are some
native function to do the job.
Test
Hello !!!
Regards !
Rémy Dufour
--
PHP General Mailing
I found a pairing algorithm finally via Google in C that I've been trying to
translate over into PHP, with no success (seemingly creates an infinite
loop). I'm also surprised I haven't seen it in PHP yet.. thought someone
would have done it by now.
http://www.devenezia.com/downloads/round-robin/
> Anyone got any handy hints on how to convert scripts running
> on PHP3 and
> PHPlib?
1. Roughly speaking, page_open() goes to session_start():
Old:
page_open(array("sess" => "my_web_Session"));
New:
session_start();
2. page_close() goes away; if you don't have time to remove all those calls
Thanks for your reply, but I can see a couple of potential problems with
this ;-
1) This relies on the user having javascript enabled in their browser
settings.
2) The page has to be fully loaded in the client browser before the redirect
takes place, this means it will perform more slowly than a s
proba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I can't upload picture to MySQL database:
What is wrong with my script:
I use PHP & MySQL database.
After submiting form my script says that everything is OK, but in database I
see that a picture is not uploaded.(date, size, name, type are inputed, but
data is not!).
Table:
CREATE TABLE pictures
Does anyone know how to build the first_module example shown at Zend
(http://www.zend.com/apidoc/) ? I'd like to start coding extensions
(preferably not directly into the PHP binary because of my hosting
situation) but just don't understand the explanation of compiling them.
Any one know how?
~
1 - 100 of 177 matches
Mail list logo