I'm not sure why it isn't setting the background color properly. Is
everything else working ok?
That *looks* like it should work, though I haven't ever needed to set a
background color for any of my PHP/GD images before...
Chris
Ashwin Purohit wrote:
Sorry Please view the script here (I didn't
?php
class MyException {
function __construct($exception) {
$this-exception = $exception;
}
function Display() {
print MyException: $this-exception\n;
}
}
class MyExceptionFoo extends MyException {
function __construct($exception) {
$this-exception = $exception;
On 08 June 2004 19:00, René Fournier wrote:
OK, that makes sense. But here's the problem: I receive binary data
from SuperSPARC (big-endian), which I need to unpack according to
certain documented type definitions. For example, let's say that $msg
has the value 3961595508 and is packed as an
I need to include in my PHP code a script located at a remote
web server. The script is also PHP and contains some functions and
class definitions. Because the remote server also use PHP, I've
changed my include file extension (php) to something other (e.g. inc).
Because I'm afraid that the server
Hi,
We need to install one windows 203 server with various versions of the same
application.
The versions will be held in disticnt web sites on this server. In order to point to
the different application versions, I need to point the include_path to the right php
scripts (in distinct folder
Dear list,
I need to restrict access to a mjpeg stream coming from Axis camera.
My site uses sessions to authenmticate users throughout it's pages.
Is there a way (using phps stream support?) to somhow proxy this video stream from the
camera (internal network) to an user on the web providing
Vincent DUPONT wrote:
We need to install one windows 203 server with various versions of the same application.
The versions will be held in disticnt web sites on this server. In order to point to the different application versions, I need to point the include_path to the right php scripts (in
have u looked at the pear excel spreadsheet writer ? one of the best things
ever made IMHO
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 3:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] Adding colours and
Dear Sir/Madam,
I would like to make a page on which people may add records to a table and
view them (As my web server does not support MYSQL, I may have to do it on
text files). I would also like to sort them by descending order of time. Can
you please tell me which functions are available for
===
Please feel free to add more points and send
to the list.
===
1. If you have any queries/problems about PHP
try http://www.php.net/manual/en first. You
can download a copy and use it offline also.
Please also try
Larry,
Thanks all makes sense, but, if I add this:
?php
echo($_SERVER['HTTP_REFERRER']);
?
I don't get anything back when the page is called?
Cab
Larry E . Ullman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a .php page I don't want anyone being able to just open it
Thanks all makes sense, but, if I add this:
?php
echo($_SERVER['HTTP_REFERRER']);
?
I don't get anything back when the page is called?
Yes, that can happen, which is why I said it wasn't perfect. I think
using some sort of form to go through is the better option.
Larry
--
PHP General Mailing
Chris W. Parker wrote:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Tuesday, June 08, 2004 3:37 PM said:
Looking forward for a response :P
pass: 74434
i are also looking forward for the response! please send immediately!
regards's,
julio.
Pardon my ignorance, but what in the world is this
Then you could set a hidden form variable INPUT TYPE=hidden NAME=xxx VALUE=etc
or set a sesssion variable on the previous page.
Larry,
Thanks all makes sense, but, if I add this:
?php
echo($_SERVER['HTTP_REFERRER']);
?
I don't get anything back when the page is called?
Cab
Larry E . Ullman
[EMAIL PROTECTED] wrote:
Hi,
Is it possible to add a color, making the borders to cells in the excel sheet?
Any help would be appreciated.
Thanks
Balaji
Confidentiality Notice
The information contained in this electronic message and any attachments to this
message are intended
for the exclusive
Try:
$_SERVER['HTTP_REFERER']
You misspelled it...
- Original Message -
From: Larry E. Ullman [EMAIL PROTECTED]
To: cab [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 8:46 AM
Subject: Re: [PHP] previous page
Thanks all makes sense, but, if I add this:
?php
Cheung Pui Pan wrote:
Dear Sir/Madam,
I would like to make a page on which people may add records to a table and
view them (As my web server does not support MYSQL, I may have to do it on
text files). I would also like to sort them by descending order of time. Can
you please tell me which
Vincent DUPONT wrote:
Hi,
We need to install one windows 203 server with various versions of the same application.
The versions will be held in disticnt web sites on this server. In order to point to the different application versions, I need to point the include_path to the right php scripts (in
Was ready after searching www.google.com and yes your right about the
incorrect spelling of the variable.
I also found that some firewalls block the information.
So, I now have to go back to the drawing board and build the form. Easy if
it was as simple as a form and a submit button but this
Greetings Tumurbaatar,
That would work- and you shouldn't need any special mime types;
URL_fopen must be on and you simply use include() to get the remote
file read into the current one and executed.
But I highly suggest you find an alternative method- since this can
expose you to several
I'm wondering if it is possible to use Google search to search in hte
news.php.net's past posting by using the keyword. If so, then how can it be
done? Example of keywords. Etc..
Thanks,
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Scott Fletcher wrote:
I'm wondering if it is possible to use Google search to search in hte
news.php.net's past posting by using the keyword. If so, then how can it be
done? Example of keywords. Etc..
Thanks,
FletchSOD
You mean like putting
your keywords site:news.php.net
In the google
Hi!
When I use the mysql_connect(), it was connected successfully. The next
step I need to do is to use a database via mysql_select_db(). Problem is I
get the access denied error from MySQL. It sure look like privileges is not
setted up right. Am I right? If so then which column in the
Thanks.. That does work. I just never did the Google search of a
newsgroup or Mailing List before, so I had no idea now to do that exactly.
Thanks a million..
FletchSOD...
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott Fletcher wrote:
I'm wondering if it is
Dmitry Ruban wrote:
Hi folks,
We have two instances of apache/mod_php running on 80 and 443 ports
accordingly. For both mod_php we have the same dir (/tmp) to store session
information. Is it possible to mix sessions data up if user switches between
80 and 443 ports? I mean what if when user surfs
Does anyone know of any efforts (or code!) to better support Class
browsing in the Speedbar for PHP? The only one I know of does a very
poor job at tracking classes and their methods in PHP.
Emacs is such a powerful and capable text editor. The removal of this
one wrinkle would make my
Hi,
Wednesday, June 9, 2004, 7:03:23 PM, you wrote:
CPP Dear Sir/Madam,
CPP I would like to make a page on which people may add records to a table and
CPP view them (As my web server does not support MYSQL, I may have to do it on
CPP text files). I would also like to sort them by descending
Larry E . Ullman wrote:
Thanks all makes sense, but, if I add this:
?php
echo($_SERVER['HTTP_REFERRER']);
?
I don't get anything back when the page is called?
Yes, that can happen, which is why I said it wasn't perfect. I think
using some sort of form to go through is the better option.
Larry
John Nichel mailto:[EMAIL PROTECTED]
on Wednesday, June 09, 2004 6:06 AM said:
Pardon my ignorance, but what in the world is this about?
i think it's spam. and the response that was supposedly sent by me was
actually sent by my long lost evil twin brother Julio.
chris.
--
PHP General
* Thus wrote Scott Fletcher ([EMAIL PROTECTED]):
I'm wondering if it is possible to use Google search to search in hte
news.php.net's past posting by using the keyword. If so, then how can it be
done? Example of keywords. Etc..
Or you could use google groups
Chris,
I think that maybe the function imagecreatetruecolor() is the problem; I'll
try just imagecreate instead when I get home.
Thanks,
Ashwin Purohit.
_
MSN 9 Dial-up Internet Access fights spam and pop-ups now 3 months FREE!
anyone know why my parser is not reading just the internal part of this tag?
Is the cdata in the correct format?
AccommodationNamelt;![CDATA[HOTEL AC MALAGA
PALACIO]]gt;/AccommodationName
--
Diana Castillo
Global Reservas, S.L.
C/Granvia 22 dcdo 4-dcha
28013 Madrid-Spain
Tel : 00-34-913604039
Hi,
A while back I started a thread for lasso as a client wanted a site
translated to english, still in talks with that client and he is willing to
let me do it in pure PHP instead as I dont know lasso and not very keen on
buying one of their licences.
Anyway, it seems that the client has a
Hi Ryan,
Ours isn't open source, but does come with source available
for the display modules: http://celestia.cbstech.com
You can strip down what features are available by removing
modules from the core system.
Only replying with a plug of our own product since it was
specifically asked for. Is
please CC me 'cause I am on digest
the scenario:
three files:
.htaccess
has line saying php_prepend
'true_filesystem_location_php_prepend_file'
prepend.php (aforementioned prepend file)
has line saying include file_a.php
file_a.php
has line
James Harrell mailto:[EMAIL PROTECTED]
on Wednesday, June 09, 2004 12:04 PM said:
Hi Ryan,
Ours isn't open source, but does come with source available
for the display modules: http://celestia.cbstech.com
You can strip down what features are available by removing
modules from the core
[snip]
So, what do I replace I_NEED_A_FUNCTION_HERE with?
[/snip]
not eaxatly sure what the question is.
Couldn't you use getcwd ? That would give you current working
directory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello.
i'm currently working on a mailing list app for my company to have one
central place to manage our mailing list(s). at first it was going to
purely be a place for our staff to manage our list. but then i got to
thinking that it would be very convenient to take a lot of the
management
When Expedia.com is searching for flights, it displays a page with a
little animated GIF progress bar, then display the results.
How do they do that? How does the page sit idle until the query is
finished, and then sends a new page with the results? I was thinking
that they might use
Showing a load page is quite simple. After submitting the search form don't
directly start processing but forward to another page which does the
processing. So the load page is being shown and only then the processing
starts and the load page will stay until the processing is done:
page 1: submit
Hi Rene,
Here's a thought- make your animated gif that's a grow-bar
that fills from left to right. Maybe it maxes out at 99% or
loops back around to 0 after reaching 100. :) Display this at
the top of the screen - but not within a table that is part of
the results display. More on why shortly.
On 6/9/2004 9:04:07 PM, James Harrell ([EMAIL PROTECTED]) wrote:
Hi Ryan,
Ours
isn't open source, but does come with source available
for the display modules: http://celestia.cbstech.com
You can strip down what features are available by removing
modules from the core system.
Only
Hey James,
If its not open source...is it at least free?
Thanks,
-Ryan
Not sure why this matters?
If his product can do the job what does it matter if it costs money or
not? Even if it does cost money... you get a solution that solves your
client business problem. You don't have to spend the
I am in need of a way to reload a page within a frame as the other
frames are used to modify the information.
I have a 3-frame site now that I am using 1 frame as a list, another
frame to add the information, and the 3rd frame to show the results of
the 2nd frame. I know how to do the location:
Hi
Why do I get an error if the $_SESSION['user_status'] is NULL ???
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice: Undefined index: user_status in
/var/www/itmdata/include/include.php on line 13
Regards
Micke
--
PHP General Mailing List
Michael Jonsson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
Why do I get an error if the $_SESSION['user_status'] is NULL ???
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice: Undefined index: user_status in
Robert Sossomon [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am in need of a way to reload a page within a frame as the other
frames are used to modify the information.
I have a 3-frame site now that I am using 1 frame as a list, another
frame to add the information, and the
Hey James,
If its not open source...is it at least free?
Thanks,
-Ryan
No, it's a commercial product.
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, it's not set to NULL it just emty...
.M
Torsten Roehr wrote:
Michael Jonsson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
Why do I get an error if the $_SESSION['user_status'] is NULL ???
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice:
How would I do that in the PHP block?
Please always answer to the list.
Just echo out the JS statement:
echo 'script language=javascript
!--
parent.frames[0].location.href = index.html;
--//
/script';
Regards, Torsten
Robert Sossomon [EMAIL PROTECTED] wrote in message
news:[EMAIL
Michael Jonsson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
No, it's not set to NULL it just emty...
Empty means:
$_SESSION['user_status'] = '';
or
$_SESSION['user_status'] = 0;
Not setting it does NOT mean it's empty.
Torsten
.M
Torsten Roehr wrote:
Michael Jonsson
Michael Jonsson wrote:
Hi
Why do I get an error if the $_SESSION['user_status'] is NULL ???
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice: Undefined index: user_status in
/var/www/itmdata/include/include.php on line 13
Regards
Micke
That's not an
No, it's not set to NULL it's just emty...
.M
Torsten Roehr wrote:
Michael Jonsson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
Why do I get an error if the $_SESSION['user_status'] is NULL ???
Script##
session_start();
echo $_SESSION['user_status'];
#error##
On 6/9/2004 9:54:20 PM, Aaron Wolski ([EMAIL PROTECTED]) wrote:
Hey James,
If its not open source...is it at least free?
Thanks,
-Ryan
Not sure why this matters?
If his product can do the job what does it matter if it costs money or
not? Even if it does cost money... you get a
No, it's a commercial product.
James
Ok, thanks, will look into it if I dont find a free/ cheap solution.
Cheers,
-Ryan.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Michael Jonsson wrote:
Hi
Why do I get an error if the $_SESSION['user_status'] is NULL ???
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice: Undefined index:
Hi
Why do I get an error if the $_SESSION['user_status'] is emty (it's not
set to anything) ???
in my redhat 9 it did mork, but when I moved to Fedora Core 2 it's not
working...
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice: Undefined index:
Can I set a different PHP include path per Apache Virtual host?
I am trying this:
VirtualHost *
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /Library/WebServer/Websites/stage/content
ServerName stage.asmpweb.org
ErrorLog /Library/WebServer/Websites/stage/logs/error_log
I noticed there is no MySQL equivalent for odbc_result_all(), so it meant I
had to make a user-defined function from scratch. That part, I haven't been
able to do very well. Does anyone have a good code or whip up one that
would work.
Thanks...
FletchSOD
--
PHP General Mailing List
Hi Mike,
I'm not certain if it can be configured in a VirtualHost block,
though I know it can be configured in a Directory block (which
is equally as useful).
The problem I see below is you're using the wrong declaration;
instead of php_value, use php_admin_value, ie:
php_admin_value
Oh- and don't forget to restart apache after your changes.
james
-Original Message-
From: James Harrell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 5:44 PM
To: Mike Zornek; [EMAIL PROTECTED]
Subject: RE: [PHP] Can I set a different include path per Apache Virtual
host?
Hi
There is an example in the User Contributed Notes on the
odbc_result_all() function page.
Scott Fletcher wrote:
I noticed there is no MySQL equivalent for odbc_result_all(), so it meant I
had to make a user-defined function from scratch. That part, I haven't been
able to do very well. Does
Thanks for the affirmation, Marek. That leaves two of us on the same
page :-)
Now, where can we find absolute resolution that this is indeed the
internal workings? Not that I don't trust my judgement, your judgement,
or our extensive testing, but have you ever come across any definitive
Michael Jonsson wrote:
Hi
Why do I get an error if the $_SESSION['user_status'] is emty (it's not
set to anything) ???
in my redhat 9 it did mork, but when I moved to Fedora Core 2 it's not
working...
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice:
Some old piece of source i found in my libs:
function sql_dump_result ( $result ) {
$line = '';
$head = '';
while ( $temp = mysql_fetch_assoc( $result ) ){
if ( empty ( $head ) ) {
$keys = array_keys($temp);
$head =
'trtdb'.implode('/b/tdtdb',$keys).'/b/td/tr';
}
The Access Privelege and User Account links from here should help
tremendously:
http://dev.mysql.com/doc/mysql/en/Post-installation.html
http://dev.mysql.com/doc/mysql/en/GRANT.html
Scott Fletcher wrote:
Hi!
When I use the mysql_connect(), it was connected successfully. The next
step I need
Allmost, after having a quick look at the source i tell you they
do it like that:
div id=loading style=display:block
... loading stuff here ...
/div
page loading here
done?
JS: document.getElementByid('loading').display='none';
take a look for yourself :-)
James Harrell wrote:
Hi
the magic constant __FILE__ will give you the absolut filesystem
location of the file it is called. Eg:
/home/www/tests/foo.php -
?php
echo __FILE__ ;
?
will print: '/home/www/tests/foo.php';
to retrieve the path only you could do:
/home/www/tests/foo.php -
?php
echo str_replace( basename (
Hi,
I am using Red Hat 9 i386 environment. I am having trouble compiling PHP
with GD library.
I have compiled GD library, libpng, libjpeg on this machine.When I try to
execute the following command to compile PHP, I get the following output
with error.:
./configure --enable-track-vars
Scott Fletcher wrote:
I'm wondering if it is possible to use Google search to search in hte
news.php.net's past posting by using the keyword. If so, then how can it be
done? Example of keywords. Etc..
Thanks,
FletchSOD
Although this isn't google, you can search the lists (and many others)
You may want to look at Mambo Opensource Server
http://www.mamboserver.com/
Tim.
Ryan A wrote:
Hi,
A while back I started a thread for lasso as a client wanted a site
translated to english, still in talks with that client and he is willing to
let me do it in pure PHP instead as I dont know lasso
Hi,
Thursday, June 10, 2004, 2:28:06 AM, you wrote:
DC anyone know why my parser is not reading just the internal part of this tag?
DC Is the cdata in the correct format?
DC AccommodationNamelt;![CDATA[HOTEL AC MALAGA
DC PALACIO]]gt;/AccommodationName
DC --
DC Diana Castillo
DC Global Reservas,
Red Wingate wrote:
the magic constant __FILE__ will give you the absolut filesystem
location of the file it is called. Eg:
/home/www/tests/foo.php -
?php
echo __FILE__ ;
?
will print: '/home/www/tests/foo.php';
to retrieve the path only you could do:
/home/www/tests/foo.php -
?php
echo
When Expedia.com is searching for flights, it displays a page with a
little animated GIF progress bar, then display the results.
How do they do that? How does the page sit idle until the query is
finished, and then sends a new page with the results? I was thinking
that they might use
I guess a better question would be, what is the best practices way of
showing a Please wait... page while a server operation is performed
(which could take 5 or 45 seconds), then make the page display the
resulting data (via reload, or slow-load, or whatever)? Would love to
find an article on
HI,
I installed PHP 5 RC3 this morning and am having some mixed results.
Specifically, every so often, I will refresh a page that loaded fine and
fast the first (second, third, etc...) time around, and then for no
obvious reason the script will eat up all my CPU cycles and time out (I
have it
Hi,
I am trying to call a procedure in Oracle 9i but I just can't get it to
work...
My procedure has 5 IN values and return 1 REF CURSOR called :p_cursor
When I run my script I just keep getting this error:
Warning: OCIFetchInto: ORA-08103: object no longer exists in
E:\Intranet\test.php on
you could use the following in the search field:
Patch memory limit site:news.php.net
This will tell google to search news.php.net for any reference of Patch memory
limit
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 10, 2004 12:18 AM
To: [EMAIL
Hi, Bond, James Bond,
Remove --with-gettext from ./configure and try to configure it again.
When I first started compiling PHP on Fedora Core 2 (fairly similar to
Red Hat 9), I just included about every configuration option, and then I
removed (one by one) each option that caused configure to
Hi all,
I'm trying to implement HTTP User Authentication for some files but
not directories.
Below is the following script I am using to test HTTP User
Authentication:
if ($PHP_AUTH_USER != user || $PHP_AUTH_PW != pass)
{
// visitor has not yet given details, or their
// name and password
My advice to you is to post this to the internals@ list. They will then
let you know whether you should report it at http://bugs.php.net and so
forth.
Michael wrote:
HI,
I installed PHP 5 RC3 this morning and am having some mixed results.
Specifically, every so often, I will refresh a page
Yahoo probably has register_globals turned off, and rightly so. Try
$_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] instead, but I
would rather go with instead of ||.
Take a look at http://www.php.net/features.http-auth for more info.
Gohaku wrote:
Hi all,
I'm trying to implement HTTP
Webyog has released SQLyog 3.71 SQLyog Job Agent (
SJA ) v2.0
Some of the major features added in SQLyog 3.71 are -
-- SQLyog Notification Services - This new feature
allows delivery of formatted resultset(s) over email
at scheduled intervals.
-- SQLyog Database Synchronization Tool now
WTF?
Who gives a rats ass about this?
Nearly everyone on this list has php related commerical products but nobody
advertises it here or announces it when they make or update their products
unless its very closely related to php (and usually free), your product does
not fall in either category, so
Hi
I'm looking for recommendations for places I might look for free news feeds
to incorporate into our companies website. Specifically I'm looking for
feeds related to the pharmaceutical and medical industries.
Thanks,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Check out moreover.com. They used to have free RSS feeds, and I think
you can still get to them on their site somewhere... you just have to
dig through everything.
[EMAIL PROTECTED] wrote:
Hi
I'm looking for recommendations for places I might look for free news
feeds to incorporate into our
WTF?
Who gives a rats ass about this?
Nearly everyone on this list has php related commerical products but
nobody advertises it here or announces it when they make or update
their products unless its very closely related to php (and usually
free), your product does not fall in either
Nevermind. I don't know what I was thinking. You're using !=, so go
back to using || instead of the . I goofed. See if that fixes the
problem now. Continue using the $_SERVER globals, though.
gohaku wrote:
Hi Ben,
I change the if statement to:
if ( ($_SERVER['PHP_AUTH_USER'] != user)
88 matches
Mail list logo