On Tuesday 28 October 2003 11:29 pm, Rolf Brusletto wrote:
> Evan Nemerson wrote:
> >Is anyone aware of a way to get double quotes in the php.ini file? For
> >instance, I'd like to be able to set error_prepend_string to " >color=\"#ff\">" (which doesn't work).
> >
> >The only work-around I can
Evan Nemerson wrote:
>Is anyone aware of a way to get double quotes in the php.ini file? For
>instance, I'd like to be able to set error_prepend_string to "color=\"#ff\">" (which doesn't work).
>
>The only work-around I can think of is doing ini_set()'s in an
>auto_prepend_file, and that's n
* Thus wrote Leif K-Brooks ([EMAIL PROTECTED]):
> Vijaya_Manda wrote:
>
> >Is there any pre-written code available on the net to generate thumbnail
> >images for a picture.
> >I mean I send the path of the image and my PHP Script should be able to
> >generate a gif file of size 100x71 or something
Evan Nemerson wrote:
Is anyone aware of a way to get double quotes in the php.ini file? For
instance, I'd like to be able to set error_prepend_string to "" (which doesn't work).
The only work-around I can think of is doing ini_set()'s in an
auto_prepend_file, and that's not acceptable for my pu
Vijay Killu wrote:
That will resize the image and display it as a thumbnail.
No, they will give you a GD image resource to do what you want with.
What I want is a new image to be created. I mean a .gif file.
You can't create a GIF, but you can use imagepng() or imagejpeg() to
output it t
Is anyone aware of a way to get double quotes in the php.ini file? For
instance, I'd like to be able to set error_prepend_string to "" (which doesn't work).
The only work-around I can think of is doing ini_set()'s in an
auto_prepend_file, and that's not acceptable for my purposes.
--
Evan Ne
Vijaya_Manda wrote:
Is there any pre-written code available on the net to generate thumbnail
images for a picture.
I mean I send the path of the image and my PHP Script should be able to
generate a gif file of size 100x71 or something like that.
Images will look stretched if you do that, but he
Dear all,
Is there any pre-written code available on the net to generate thumbnail
images for a picture.
I mean I send the path of the image and my PHP Script should be able to
generate a gif file of size 100x71 or something like that.
Thanks & Regards,
___
PHPLover
*
Jason Williard wrote:
I would like to display part of the output of a query. In many cases,
the string returned by this query exceeds 200 characters. Is there a
way to cut it off after 200 characters? Even better, is there a way to
cut it off at the next space after 200 characters?
Read this thr
Thanks. That's exactly what I was looking for and is working perfectly.
- Jason
-Original Message-
From: Pablo Gosse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 7:18 PM
To: Jason Williard; [EMAIL PROTECTED]
Subject: RE: [PHP] Shortening a String
On Tuesday, October 28,
Steve Buehler wrote:
I have upgraded my mysql version to 3.23.58 and am coming up with a
couple of errors using phpmyadmin to "Insert data from a textfile into
table" I didn't get this on the previous versions of mysql. Here are
the errors:
[ snip ]
---
Can anybody shed some ligh
right of course, 1440 is only 24 minutes.
> On Tuesday, October 28, 2003 6:46 PM wrote:
>
>> Hi there, i am experiencing a session timeout problem with one of my
>> projects. One of the users had left their machine for less than 15
> mins,
>> maybe a bit more and it logged them out when posting da
On Tuesday, October 28, 2003 6:53 PM Jason Williard wrote:
> I would like to display part of the output of a query. In many cases,
> the string returned by this query exceeds 200 characters. Is there a
> way to cut it off after 200 characters? Even better, is there a way
to
> cut it off at the
On Tuesday, October 28, 2003 6:46 PM wrote:
> Hi there, i am experiencing a session timeout problem with one of my
> projects. One of the users had left their machine for less than 15
mins,
> maybe a bit more and it logged them out when posting data. This isnt
good
> as they lost their data. I was
substr($str, 0, 200);
or an (untested) ereg
ereg("(.{200}[^ ]*)", $str, $bits);
HTH
Martin
-Original Message-
From: Jason Williard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 29 October 2003 1:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Shortening a String
I would like to display part o
Hi,there,
I am currently using Phrame as my MVC framework.
In my project there're more than 50 actions in one of
the modules.That means everytime when the script loaded
a big array would be initialized.And that would take up
too much memory. Of course I can break up the module
into serval small on
I would like to display part of the output of a query. In many cases,
the string returned by this query exceeds 200 characters. Is there a
way to cut it off after 200 characters? Even better, is there a way to
cut it off at the next space after 200 characters?
Thank you for any assistance,
- J
Hi there, i am experiencing a session timeout problem with one of my
projects. One of the users had left their machine for less than 15 mins,
maybe a bit more and it logged them out when posting data. This isnt good
as they lost their data. I was wondering how i can dynamically set the
session time
G'day all,
I've stumbled onto a weird problem after upgrading to Mac OSX 1.3. I had a
script whose echo statement wasn't working so I decided to test the echo (I
should point out that everything else with php is working fine phpinfo()
etc). If I run the following I get nothing returned:
->""
I
Sorry for not mentioning that, but the process stops
just by saying this, but before that another message
is shown saying that the file wasn't created.
Cheers
Antonio
--- Evan Nemerson <[EMAIL PROTECTED]> ha scritto:
> Well I suppose the obvious first: does the file (not
> just the directory)
> i
Curt Zirzow wrote:
+1 and + on getting rid of the tags
What he said.
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
* Thus wrote Evan Nemerson ([EMAIL PROTECTED]):
> On Tuesday 28 October 2003 12:55 pm, nathan -- wrote:
> > Is there a way to stop the function show_source() from putting extra code
> > at the begginning and end of the code it grabs?
> > Beginning:
> > Middle:
> > End:
>
> Not unless you modify
On Tuesday, October 28, 2003, at 06:52 PM, Daryl Meese wrote:
Does any one know of some good PHP software to replicate websites
(allow
customer's to choose a template based website, etc.) Can't seem to
find
anything.
Not 100% sure what you're asking for, but my assumption is you're
talking ab
CPT John W. Holmes wrote:
From: "Bob Rea" <[EMAIL PROTECTED]>
At 03:59 PM 10/27/2003 -0800, Jeff - Harbornet wrote:
Disregard last email. I figured it out. Thanks.
Care to tell the rest of us? I'm a newby and would like to know.
Hmmm, that's obvious, since you can't even spell newbie. ;)
---J
On Tue, 2003-10-28 at 16:33, Evan Nemerson wrote:
> On Tuesday 28 October 2003 12:55 pm, nathan -- wrote:
> > Is there a way to stop the function show_source() from putting extra code
> > at the begginning and end of the code it grabs?
> > Beginning:
> > Middle:
> > End:
>
> Not unless you modi
Well I suppose the obvious first: does the file (not just the directory)
itself exist? In the source directory, `ls main/build-defs.h.in`
On Tuesday 28 October 2003 03:09 pm, antonio scotti wrote:
> Hi,
> the command $>./configure end prematurely with the
> following message
>
> >can't find main
Don't think so for PHP's mail(), but I know there are tons of classes out
there that speak SMTP and could help you. Check PEAR first (
http://pear.php.net/ )
On Tuesday 28 October 2003 03:05 pm, Mike D wrote:
> php v4.12 on redhat linux 6.2.
>
> Is it possible to give a domain or ip instead of
On Tuesday 28 October 2003 12:55 pm, nathan -- wrote:
> Is there a way to stop the function show_source() from putting extra code
> at the begginning and end of the code it grabs?
> Beginning:
> Middle:
> End:
Not unless you modify Zend/zend_highlight.c and recompile
>
> I am doing a str_replac
Hi,
the command $>./configure end prematurely with the
following message
>can't find main/build-defs.h.in
Any reason why this happens?
I am installing php-4.3.3 on suse8.1/linux with
apache2
Also it looks like that directory privileges are ok
"rwx"
both for the parent diretory of main and main.
A
php v4.12 on redhat linux 6.2.
Is it possible to give a domain or ip instead of a path??
- MD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday, October 28, 2003 2:13 PM CPT John W. Holmes wrote:
> It may depend upon how you open the second window, too. Control-N may
use
> the same cookies whereas starting a whole new instance may not.
This is the case with IE. If I'm in my CMS and ctrl-N to get a new
window, I can operate u
From: "Chris Shiflett" <[EMAIL PROTECTED]>
> > But I was talking about cookies anyway. Which is where different
> > browsers have different behaviors. In IE, by default, it will not
> > pass a cookie from a new browser window.
>
> This is very interesting. I might try to research this a bit more an
Is there a way to stop the function show_source() from putting extra code at
the begginning and end of the code it grabs?
Beginning:
Middle:
End:
I am doing a str_replace to get rid of it, but it would be nice to be able
to pass a parameter to the funtion to stop it from adding the extra code
--- Rob Adams <[EMAIL PROTECTED]> wrote:
> That doesn't seem to be what he's saying.
>
> "because of the different session IDs."
>
> It seems to me a better example of what he is saying would be:
> http://example.org/foo.php?PHPSESSID=12345
> vs.
> http://example.org/foo.php?PHPSESSID=67890
Perh
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote:
> > If you are not relying on a cookie based session, then this will
> > work. Each login could be assigned a different session ID, so the
> > requests for each browse
From: "Bob Rea" <[EMAIL PROTECTED]>
> At 03:59 PM 10/27/2003 -0800, Jeff - Harbornet wrote:
> >Disregard last email. I figured it out. Thanks.
>
> Care to tell the rest of us? I'm a newby and would like to know.
Hmmm, that's obvious, since you can't even spell newbie. ;)
---John Holmes...
--
At 03:59 PM 10/27/2003 -0800, Jeff - Harbornet wrote:
Disregard last email. I figured it out. Thanks.
Care to tell the rest of us? I'm a newby and would like to know.
Bob Rea
PlusWeb
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
www.petard.us
--
PHP General Mailing List (http
Hi
I was wondering if anyone has any idea about how many users
the next configuration can hold :
Front End
=
Dual Xeon 2.4Ghz
Compaq DL360 G3
1GB of memory
SQL Server
=
Compaq DL 380 G3
Dual Xeon 2.4Ghz
2GB Memory
15K disks (RAID 0+1)
Site can be a content site like we
--- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote:
> If you are not relying on a cookie based session, then this will
> work. Each login could be assigned a different session ID, so the
> requests for each browser will be different because of the different
> session IDs.
What John is explaining h
On Tuesday 28 October 2003 12:17 pm, Robert Sossomon wrote:
> Anyone know where I can get a good collection of PHP Libs (free) for PHP
> 4? I'm looking for some that can create PDF as well as Word or others.
> Also faxing abilities and such.
Do you mean extensions to PHP, or libraries written in
Babelfish:
I am on the search for a good PHP mailing list, best in German... case I here
wrong am, please I around apology. Problem: SESSION MANAGEMENT Note! !!
session.use_cookies=0!! (and it is to also remain) 1. Why I can not by
$_get['lid ' ] on $_post['lid']=lf_session_id(); access? (after
- Original Message -
From: "Eugene Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 28, 2003 2:45 PM
Subject: Re: [PHP] OT - Quick JavaScript Question
> On Tue, Oct 28, 2003 at 02:27:28PM -0500, Jake McHenry wrote:
> : "Chris Shiflett" responded:
> : > --- Jake McH
Anyone know where I can get a good collection of PHP Libs (free) for PHP
4? I'm looking for some that can create PDF as well as Word or others.
Also faxing abilities and such.
Thanks!
Robert
~~~
Anytime four New Yorkers get into a cab t
Another test:
I just downloaded and installed Mozilla (1.5). I logged into my site,
opened another window, and was logged in there also. I logged out of the
second window, hit a "Home" link on the first window, and got a login
screen. This is new behavior for a browser for me, but now I underst
* Thus wrote Pablo Gosse ([EMAIL PROTECTED]):
> Yours:
>
> $query="SELECT payment
> FROM payment
> WHERE payment.dln='".$_POST["dln"]."'
> = users.dln='".$_POST["dln"]."'
> and payment.payment='".$_POST["payment"]."'";
>
> Mine:
>
> $query="SELECT payment
> FROM payment
> WHERE payment.dln
alain dhaene wrote:
Hi,
I will write a function that returns the result of a recordset.
I tried this:
Function getPersonen()
{
openDB(); //function that I implements in another file
$query = "SELECT * FROM Cursisten";
$result = mysql_query($query)
or die("Fout bij uitvoe
Hallo !
Ich bin auf der Suche nach einer guten PHP Mailing-Liste, am besten in
Deutsch...Falls ich hier falsch bin, bitte ich um Entschuldigung.
Problem:
SESSION-MANAGEMENT
Achtung!
!! session.use_cookies=0 !! (und sollen es auch bleiben)
1. Wieso kann ich nicht per $_GET['lid'] auf
$_POST
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Rob Adams ([EMAIL PROTECTED]):
> > I will test it, because it seems I don't understand this issue as much
as I
> > could. But I can already tell you results I see right now:
> >
> > I open a web browser (IE)
* Thus wrote Rob Adams ([EMAIL PROTECTED]):
> I will test it, because it seems I don't understand this issue as much as I
> could. But I can already tell you results I see right now:
>
> I open a web browser (IE) and login to my application. I open another
> window (IE) and goto the web applicat
Gregory Kornblum wrote:
$result = mysql_query($query)
You need to pass the connection resource returned from your mysql_connect
call as a second parameter. Regards.
-Gregory
While it is a good practice to do this, it is not necessary...
"If link_identifier isn't specified, the last opened link
So you're saying if the session ID is passed in on the URL it will work.
But I'm using cookies. The only thing that gets passed on the URL is a
pagename. Perhaps there is something funky about my setup, but it has
always worked this way for me.
-- Rob
"Cpt John W. Holmes" <[EMAIL PROTECTED]>
>$result = mysql_query($query)
You need to pass the connection resource returned from your mysql_connect
call as a second parameter. Regards.
-Gregory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Rob. That seems perfectly logical. I've written a Content
Management System which (when it's finished in a couple of months ;o)
run the website at the university where I work.
I can presently open an instance of the CMS in IE, login as admin, then
open a new window and request another instanc
From: "Chris Shiflett" <[EMAIL PROTECTED]>
> --- Rob Adams <[EMAIL PROTECTED]> wrote:
> > Test it yourself.
>
> With all due respect, it seems you should be doing the testing.
>
> > Login to a PHP app using a standard browser and session cookies
> > and see for yourself. I understand the philosop
I will test it, because it seems I don't understand this issue as much as I
could. But I can already tell you results I see right now:
I open a web browser (IE) and login to my application. I open another
window (IE) and goto the web application, and it asks me to login. This is
all on the same
--- Rob Adams <[EMAIL PROTECTED]> wrote:
> Test it yourself.
With all due respect, it seems you should be doing the testing.
> Login to a PHP app using a standard browser and session cookies
> and see for yourself. I understand the philosophy of the web
> server only seeing what the client sends
On Tue, Oct 28, 2003 at 02:27:28PM -0500, Jake McHenry wrote:
: "Chris Shiflett" responded:
: > --- Jake McHenry <[EMAIL PROTECTED]> wrote:
: > >
: > > I know this is a bit off topic, but does anyone know of a way I
: > > can take the server time in php and get it into javascript?
: >
: > JavaScrip
Hi,
I will write a function that returns the result of a recordset.
I tried this:
Function getPersonen()
{
openDB(); //function that I implements in another file
$query = "SELECT * FROM Cursisten";
$result = mysql_query($query)
or die("Fout bij uitvoeren query");
Hey all,
I've researched this to the greatest extent and I can't seem to find
anything written about this. I have a new server (RH 9) with PHP4.2.2 and
Apache 2. I can't seem to upload anything over 1 KB. I can upload small
gifs and JPGs that are a few hundred bytes, but I can't seem to upload
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Rob Adams <[EMAIL PROTECTED]> wrote:
> > > I'm not sure if this fits your definition of "new browser
> > > instance", but there is no way for a remote Web server to
> > > distinguish between two instances of the sam
Jake McHenry wrote:
I have tried this already, and it works, the JavaScript get's the server's
time, but then the JavaScript clock doesn't keep counting, it's stuck at the
servers time. It needs that Date() function to keep pulling the time from
the local machine I guess. I was wondering if anyone
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: "Jake McHenry" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, October 28, 2003 2:14 PM
Subject: Re: [PHP] OT - Quick JavaScript Question
> --- Jake McHenry <[EMAIL PROTECTED]> wrote:
> > I know this is a bit off
Oops... The link to the site is:
http://www.sweetphp.com/projects/TotalCalendar/
Sorry.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matt Palermo wrote:
Hey everyone. I am the creater of a PHP script called TotalCalendar
(http://sweetphp.com/TotalCalendar/) and I am looking for a little advice
and suggestions about making a tool for it. I want to build an application
that users can download and install on their local machines
--- Jake McHenry <[EMAIL PROTECTED]> wrote:
> I know this is a bit off topic, but does anyone know of a way I can
> take the server time in php and get it into javascript?
Well, that part isn't off-topic, in my opinion.
JavaScript and HTML are the exact same thing from the perspective of PHP;
the
Hey everyone. I am the creater of a PHP script called TotalCalendar
(http://sweetphp.com/TotalCalendar/) and I am looking for a little advice
and suggestions about making a tool for it. I want to build an application
that users can download and install on their local machines which connects
to a
I know this is a bit off topic, but does anyone know of a way I can take the server
time in php and get it into javascript? here is the code so far for my javascript
clock, but it uses the clients time. I either need to replace the Date() function with
another, or somehow import php's time. I ha
--- Rob Adams <[EMAIL PROTECTED]> wrote:
> > I'm not sure if this fits your definition of "new browser
> > instance", but there is no way for a remote Web server to
> > distinguish between two instances of the same browser running
> > on the client machine.
>
> That can't be true.
It can, and it
You may want to look at the following article:
http://www.zend.com/zend/tut/drop-down.php
Luis
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 9:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Menu populated based on previous menu
Searched all t
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- "S.P.Vimala" <[EMAIL PROTECTED]> wrote:
> > How to create a unique session for every new browser instance?
>
> I'm not sure if this fits your definition of "new browser instance", but
there
> is no way for a remote W
On Tue, 28 Oct 2003 09:52:02 -0800, Pablo Gosse wrote:
> Hi Robb. This is exactly what you'll need to do.
>
> Something like the following, assuming you're populating an array with
> user information:
>
>
>