look at http://www.phpbuilder.com/columns/siddarth2228.php3 for a good
tutorial.
--
Best regards,
George Nicolae
IT Manager
___
X-Playin - Professional Web Design
www.x-playin.f2s.com
Gendeng [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Dear Edwin!
Yes, I have had this problem before ...
My problem was, that I a line in my style sheets, which
could not be solved by NS.
(I think it was border?)
Yours,
Martin
I'm developing a website for multiple browsers. In Netscape 4.xx (both
Win98 and Linux versions), the php-scripts
Did you forget the FORM /FORM tags?
Jerry
-Original Message-
From: Martin Schichl [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Edwin Boersma; [EMAIL PROTECTED]
Subject: Re: [PHP] Select box won't display in Netscape 4.xx
Dear Edwin!
Yes, I have had this
Hello Kind folks
First apologies for a slightly off topic posting
Second - There is now an active Indian PHP User Group. The mailing list
is hosted at YahooGroups: http://groups.yahoo.com/group/in-phpug
To subscribe, please send a blank message to
[EMAIL PROTECTED]
The list aims to cater to
yes you can connect via ODBC.
- Original Message -
From: Matt Friedman [EMAIL PROTECTED]
To: 'gendeng' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, January 02, 2002 3:32 AM
Subject: RE: [PHP] connect MS Access
Please do not send html emails to this list.
Send only plain text
hi i am new in php ,i just wanted to ask before i begin learning php
,well can i design php on my personal computer or i need a server to
design php ,and the second question is do i need a specific program to
design php or i can use my html editor for that
--
PHP General Mailing List
To test your PHP scripts you do need a server with PHP. It's very easy
to setup one on to you local machine + there is many completely free
ones.
Niklas
-Original Message-
From: Fady Fouad Shehata [mailto:[EMAIL PROTECTED]]
Sent: 31. joulukuuta 2001 4:34
To: [EMAIL PROTECTED]
To design, you just need a text editor (or html editor)
Martin
At 13:24 02.01.02 +0200, Niklas Lampén wrote:
To test your PHP scripts you do need a server with PHP. It's very easy
to setup one on to you local machine + there is many completely free
ones.
Niklas
-Original
Yep, but you can't do much without testing your scripts.
Niklas
-Original Message-
From: Martin Schichl [mailto:[EMAIL PROTECTED]]
Sent: 2. tammikuuta 2002 13:37
To: [EMAIL PROTECTED]; Php-General
Subject: RE: [PHP] php newbie
To design, you just need a text editor (or html editor)
I've got a search script, where you can search for a string and it will
return links to the HTML files that contain the string. I've also written a
function, where it will highlight each instance of the searched string by
using:
$asdf = fopen($logfile, r);
$contents =
php-general Digest 2 Jan 2002 11:55:50 - Issue 1087
Topics (messages 79189 through 79214):
Re: Oracle
79189 by: Martin Towell
Hosting provider...
79190 by: Matt Moreton
79191 by: Kurt Lieber
79193 by: steph.philedom2k.com
79203 by: Boaz Yahav
Mysql
Bogdan Stancescu [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
2. print $letter++ -- why doesn't this evaluate to b at the first loop
when
it's already 'a'? Ok, this I may be able to explain because it's neither
print
++$letter nor print ($letter++), but I
To connect to Microsoft SQL 7 I'm using the following script which works
fine:
?php
$query=SELECT * FROM DB1;
$queryupd=UPDATE DB1 SET dateval='20010101' where dateval='2101';
$hostname = dbserver;
$username = username;
$password = pwd;
$dbName = DB;
If you have lots (let's say 100 or 200) of functions() in PHP does this
slow everything down a lot? How is the interal working of a function?
Warm regards,
Emile Bosch
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi List, XSLT seems to be such an hot topic these days now i tried it
out and i find it cool too. But is there anyway how i can make
XSLT less strict? When i make a stylesheet XSLT is too picky..I can't
make an XSLT stylesheet very fast because you have to close everything
correct etc..
When i
I'm in the process of coding a db search engine, and am spending excessive
amounts of time putting together a SQL 'query builder' function which will
turn this:
mon* NOT monkey [AND/OR queries also]
...into this:
SELECT * FROM table WHERE field LIKE 'monk%' AND NOT field = 'monkey'
Basically,
I agree. Perhaps make a feature request that disallows session starting
if save_handler=user and you haven't defined a session handler?Then
it could spit out a more correct error message.
Jaime Bozza
-Original Message-
From: Sean LeBlanc [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
Hi List,
I'm having a problem sorting the following array:
$product = array($id, $title, $price);
$shop[] = $product;
I want the array 'shop' to be sorted by the 'title' in array 'product'. I
tried the function 'array_multisort()', but that did not do the trick.
Does anyone know how to fix
Let see does my PERSONEL unsubscribe information appear at the bottom
of this email?
For the second time in 48hrs. someone submitted an unsubscribe request
using for me?
Yet I still get the list postings?
How strange.
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
what everyone is trying to say is that it goes automatically..
ie
.
test.php
--
$blah=10;
include whatever.php;
whatever.php
-
echo The value of blah is: {$blah};
It just keeps the variable since it's global..
When ur using a function. It
Hello,
I am new to PHP. I have PHP (cgi version) configured on my
machine running XP Pro and IIS. It works fine. The first script I wanted
to write was the ever-useful feedback form script where the contents of
a form are e-mailed to the webmaster. I am sure that I have a working
script
Jerry --
I didn't see any functions listed in:
http://www.php.net/manual/en/
for DB2 the ODBC maybe you only answers, heres the link:
http://www.php.net/manual/en/ref.odbc.php
David
To connect to Microsoft SQL 7 I'm using the following script which
works fine:
?php
$query=SELECT * FROM
On Saturday 29 December 2001 05:47, Rasmus Lerdorf stuffed this into my
mailbox:
No it's free hehe :-) but I think they still appreciate any donations :-).
For since they are developping software they also have to do research n stuff
so sometimes they have to buy books and some testing
Hi Ben,
Had the same problem. The solution I came up with was to populate the value
repeatedly by concantenation.
$thisxmlval .= (whatever is sent from the parser).
Note the . in front of the =
As long as the parser is still sending values from this tag, your program
should concantenate
Mail() function works fine on win32, you need enter smtp server in your
php.ini and sendfrom address.
example:
SMTP = 10.1.25.1 ; for Win32 only
sendmail_from = [EMAIL PROTECTED]
Valentin Petruchek (aki Zliy Pes)
*** ??? ?? ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
-
Ps2pdf will do EPS. Make sure you have a recent version (it's part of
the ghostscript package).
For .doc, look at http://www.wvware.com. It does a reasonable job, but
complex documents will convert poorly. I haven't yet found a
non-commercial source for converting MS Office documents well.
Anyone downloaded the oracle 9i stuff to use on linux with PHP? What are the
limitations, time crippled, table size crippled, function crippled? It seems
hard to believe that Larry Ellison would give things away, even to support ways
to take market share away from usoft.
--
PHP General Mailing
I just wanted to verify the functionality of the ora_numrows() function. On
the ora_numrows() manual page it reads that the function returns the number
of rows in a result set, but in the ora_getcolumn() documentation it reads
that the ora_numrows() function returns the current row number.
On 01-02 07:45, Jaime Bozza wrote:
I agree. Perhaps make a feature request that disallows session starting
if save_handler=user and you haven't defined a session handler?Then
it could spit out a more correct error message.
Blast. I am still unable to get my own session handler to work.
$find = hi;
$contents = implode(null, file($logfile));
$contents = preg_replace(/($find)/i, b
style=\color:black;background-color:#FFCC66\\\1/b, $contents);
echo $contents;
that will replace any $find with your highlighted b. Notice the i at the end
preg expression, that tells it to ignore case.
We are deciding which language we will move in to, PHP or Perl. Once thing
that Perl allows is the setting of variables from an Apache directive
(Vhost, Directory, Location, etc).
I've been looking thru the mod_php module, but I havn't see this ability of
PHP. It's looking like it's possible to
preg_match(/body\s([^]*)/i, $html, $args);
$body_props = $args[1];
preg is much faster/better than ereg.
note the /i at the end of the preg, that makes it case insative, drop the i
if you want it to be case sensative on the match.
-Joe
John Monfort [EMAIL PROTECTED] wrote in message
[EMAIL
dork
John Monfort [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Test: cannot send mail, but can read.
Please ignore.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Happy New Year,
Does php set a variable that tells you the url of the page that a user has just come
from? So if I wanted to create my own 'Back' button in a pop up window, for instance?
Thanks in advance,
Kelly
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
I think it is $HTTP_SERVER_VARS['HTTP_REFERER']
Regards,
Andrey Hristov
- Original Message -
From: Kelly Meeks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 02, 2002 8:15 PM
Subject: [PHP] easy quickie..
Happy New Year,
Does php set a variable that tells you the
I think it is $HTTP_SERVER_VARS['HTTP_REFERER']
Except that the value for this variable isn't always set and can
be spoofed. This value should not be relied upon.
Oftentimes (though, you'd have to be creative to make this
work in a seperate window), what I use to send the user back
to where
Hi,
IBM DB/2 uses Call Level Interface (CLI) for communication between clients and server.
The ODBC driver from IBM is a simple one to one wrapper arround CLI, as CLI and ODBC
share the same specifications.
Using ODBC will give you an extra layer though. On *nix platforms you can compile usen
I would like to note that you may need to purchase licensing for certain
uses.
For instance, I use ClibPDF on OS X.
If I ever use it for commercial purposes (which I am planning to do, btw)
I will need to purchase a license from FastIO for use of the ClibPDF
library.
On Wed, 2 Jan 2002 23:00:23
Seb, I tend to agree that some webmasters would do better if they did less
and tried not to be so helpful to the user. But custom back buttons can
be very useful when used in presentations such as page by page instructions
and slideshows without having to hardcode the HTML which (if you forgive
Unless your problem is more extensive than what you're explaining here,
there's no reason to do any kind of sort. Simply reorder the list yourself
so that whatever ends up in $title is reordered to the first index of your
$shop list...
$product = array ($id, $title, $price);
$shop = array
I've never understood why people do this? My browser has a back button. I
know how to use it. It's only a centimetre of mouse travel away from the
page I'm looking at, why do I need a duplicate?
- seb
-Original Message-
From: Kelly Meeks [mailto:[EMAIL PROTECTED]]
Happy New Year,
What you need to do is simply set the variables before you include the script.
When you include a script with include() or require(), they fall into the
same namespace as the include() or require() function that called them.
Best Regards,
Jason Garber
IonZoft.com
At 06:54 PM 1/28/2002 -0800,
Hi all,
I have a few problems. I'm trying to write a PHP script that will function
as a webchat.
Currently I have soms problems. How can I get each line of the in/output ?
This is what a part of what I currently have:
?
function con($hport,$Something,$who){
$fp = fsockopen($who,
_Your_ browser has a back button.. great..
There are many situations in which the back button may not be
visible/available/appropriate. You may also not want to go back in your
_history_, just back to the previous page - and possibly set some variables
in the page request. It is far more than a
Hi there,
This is not a bug.. this is expected behaviour.
The string would be chopped up into 3 parts because you have :
1. a string: Follow-up To Critique of BeOS
2. a predefined entity : amp;
3. a string: amp; Mac OS X
There are not actually two ampersands.. you have amp; followed by amp;
Hi list,
I haven't been reading the list for a while but ran into a
problem that I don't know if I can solve on my own. I'm
working on a server running PHP 3.0.13 without curl
support. Am I out of luck?
--
Data Driven Design
1506 Tuscaloosa Ave
Holly Hill, Florida 32117
Phone : (386)
Does PHP parse the ini file every time a file is requested? I am trying to track down
a problem on various pages where the timelimit will expire. These are not complex
pages and when I go to them they work fine.
I have used the same browser that the user eses when the timeout occurs.
What do you have for the return values for your session_read function?
(Specifically, what do you return when there's no data available?)
Jaime Bozza
-Original Message-
From: Sean LeBlanc [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 11:20 AM
To: [EMAIL PROTECTED]
www.tedoc.nl 100% Microsoft Free
Matt Moreton [EMAIL PROTECTED] wrote in message
001401c19323$18d44ef0$38bc7ad5@summy">news:001401c19323$18d44ef0$38bc7ad5@summy...
Im looking to change my hosting provider.
...something that isnt going to break the bank, is feature full, supports
mysql, php etc
Hi,
To get the title of an external page to put into a link, has somebody did
that already and can give me some hints for this trick
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
I am running IIS 5.0 Windows 2000 Server. Changes made to the ini take effect
immediately. So it seems that php in Windows and IIS reloads the ini every time a
page is requested?
Charles Killmer
-- Original Message --
From: Joe Webster [EMAIL
If so that would be totally shitty (in the respects of effecienty)
Charlesk [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am running IIS 5.0 Windows 2000 Server. Changes made to the ini take
effect immediately. So it seems that php in Windows and IIS
Can anyone give me a pointer on where to go to find out how to send
cookies through images, preferably in PHP?
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.310 /
This works almost. Instead of having echo hello; you have a huge process that takes
a while, the browser wont redirect until the script is finished. This seems to be a
feature of IIS. Has anyone found a way to do something similar in PHP 4.1.0, IIS
5.0, Windows 2000 Server?
I basically
On Wed, 2 Jan 2002 14:11:39 -0700, Matthew Walker wrote:
Can anyone give me a pointer on where to go to find out how to send
cookies through images, preferably in PHP?
To do this you will have to point the HREF in your IMG tag to a PHP script.
From that script you should do this:
- Pass the
Thanks. That's what I suspected, but I needed to make sure.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Bas van Rooijen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Cookies In
Hello, I have png/jpeg support and gd 1.8.3
I see, however, some linux ./configure examples that just use
--with-gd and no
--with=/usr/local/png or whatever
the question is, would
--with-gd be enough to create/add text to jpeg/png or *only* if they are
included?
Just want to double check
Hi,
You could use register_shutdown_function() which should be called before the script
ends (duh!).
Define a function for your process and pass it's name to register_shutdown_function() .
bvr.
On Wed, 2 Jan 2002 15:14:59 -0600, charlesk wrote:
This works almost. Instead of having echo
Thanks for the reply but leave the duh's! out of comments please.
-- Original Message --
From: Bas van Rooijen [EMAIL PROTECTED]
Reply-To: Bas van Rooijen [EMAIL PROTECTED]
Date: Wed, 02 Jan 2002 22:32:53 +0100
Hi,
You could use
The following URL works, but then the next one doesn't. Can someone
offer some advice on this?
http://digitalroadkill.net:8080/ works.
index.php is happy and the output filters work.
http://digitalroadkill.net:8080/Galleries/ does not work.
It tries to get the file as though it were not
At 21:56 2-1-02 +0100, R. Elsenaar wrote:
www.tedoc.nl 100% Microsoft Free
They are expensive.
But please.. this subject has been beaten till dead.. at least a zillion
messages should be in the archive.. O well.. a few less :-)
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
Thanks for the reply but leave the duh's! out of comments please.
I'll think about it ;)
bvr.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
On 01-02 14:31, Jaime Bozza wrote:
What do you have for the return values for your session_read function?
(Specifically, what do you return when there's no data available?)
Well, it turns out that write *is* being called, but due to some feature of
session write, echo and print don't work, as
register_shutdown_function() doesnt work either. Seems to be IIS caching the output
until the script finishes. Anyone else have an idea?
-- Original Message --
From: Bas van Rooijen [EMAIL PROTECTED]
Reply-To: Bas van Rooijen [EMAIL PROTECTED]
Date:
Returning false is invalid for the session read function, and has caused
*MANY* issues with PHP and Sessions. (Check the archives as well as the
bugs database. I have a couple in there myself)
Change:
return false;
To:
return '';
And things should start working as expected.
Jaime Bozza
someone left this comment on the php site
-
[EMAIL PROTECTED] at 27-Dec-2000 09:37
It is important to note that this function acts more as a counter of the
number of rows fetched from the cursor. If you execute this prior to
processing the cursor
Ok. I fixed it. I just had my filters jacked up. After fixing them using
\.php instead of *.php, I was then calling the wrong page and getting
a 404, plus the browser I was using had cached the content-type and was
screwing everything up. After just shutting down my browsers, dumping
cache,
Ok, I can understand the predefined entity replacement. But why does it
break the string up into 3 parts? I think it should just return
Follow-up To Critique of BeOS amp; Mac OS X.
Ben
On Wednesday, January 2, 2002, at 02:05 PM, Matthew Clark wrote:
Hi there,
This is not a bug.. this is
R. Elsenaar [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
To get the title of an external page to put into a link, has somebody did
that already and can give me some hints for this trick
Robert
// Your question managed to spark my interest and get
I have a problem I'm getting the following error:
Fatal error: The script tried to execute a method or access a property of an
incomplete object. Please ensure that the class definition myappl of the
object you are trying to operate on was loaded _before_ the session was
started in
AFAIK, it will reread the .ini file every time only if you're running PHP
as a CGI, as opposed to an Apache module (or ISAPI or NSAPI module, but I
don't think either of those are industrial strength yet). SO, yes, the .ini
file will be reread each time PHP is called by IIS.
-steve
At 01:02
I used to run PHP 4.0.3 and at the beginning of some functions that used a
lot of global variables, I would add the following lines so I could access
all the global variables inside the functions.
foreach($GLOBALS as $GlobalVarName = $GlobalVarValue)
{
global $$GlobalVarName;
}
I upgraded
use:
extract($GLOBALS);
http://www.php.net/manual/en/function.extract.php
-Original Message-
From: Jonathan Hilgeman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Code not working in 4.1
I used to run PHP 4.0.3 and at the
well thats just the way XML parsers work, according to the parser, what you
have there is not a single string element, you have three child elements
(the parent node being the title).. two string nodes broken up by an
entity node. In other circumstances, this behaviour can be very useful.
Matt.
Could someone please direct a total novice to the best PHP beginner news
group. Just to many to choose from ~:)
Thank You,
Julie ~:)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
This one's pretty good, IMO
but as for the best - hmm... that would be a matter of personal opinion...
:)
-Original Message-
From: Julie Hull [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 1:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Holy Moly...
Could someone please
If you dont mind downloading ~50 messages a day, then I'd recommend this
group :]
Regards
Matt.
- Original Message -
From: Julie Hull [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 03, 2002 2:16 AM
Subject: [PHP] Holy Moly...
Could someone please direct a total
Hi Andras,
$aresult=mysql_query(select * from orders WHERE (a3 = CURDATE()-$datec)
,$db);
what's the value of $datec? integer 7 or 14?
if so then try to change it to this: interval 7 days
--
Jimmy
Love deeply and passionately. You might get hurt but it's the only
Hello all,
I would like to know if anyone could help me with the following issue:
I have 6 variables, two holds a day, others the month and the last ones the year. They
are entered through drop-down-menus where the user selects day, month and year for
each date.
I would like to know the
Not mentioning that you could've taken a look at
http://www.php.net/manual/en/ref.datetime.php yourself, here goes:
$days_diff=(mktime(0,0,0,$month2,$day2,$year2)-mktime(0,0,0,$month2,$day2,$year2))/86400;
Bogdan
Carlos Fernando Scheidecker Antunes wrote:
Hello all,
I would like to know if
Well, actually
$days_diff=(mktime(0,0,0,$month2,$day2,$year2)-mktime(0,0,0,$month1,$day1,$year1))/86400;
but you probably got that... :-)
Bogdan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
convert both in dates into a time stamp using mktime()
subtract the two figures you get back
then divide by 86400 (60sec/min * 60min/hr * 24hr/day)
-Original Message-
From: Carlos Fernando Scheidecker Antunes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 12:57 PM
To:
This isn't to pick on Carlos, but I've notice there's heaps of ppl who don't
read the manual, or do a search on the manual - I've found that many of my
questions have been answered by doing a search on the docs
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent:
I'm a PHP newbie and have a few questions.
1) The server I'm working on has PHP 4.0.5 installed using an RPM. So
there's no source code. How do I include extensions (say --enable java )
without getting the PHP source code and without make?
2) I think the server's Apache web server is also
How can I do an if statement with more than one conclusions
Something like this I know this is not correct just an example of what
I what to do
If($ext==comornetororgorinfo){
Then do this
}
If($ext==com.ukorme.ukororg.uk){
Then do this
}
--
Best regards,
rdkurth
something like:
If(in_array($ext, array(com, net, org, info)){
//Then do this
}
If(in_array($ext, com.uk, me.uk, org.uk)){
//Then do this
}
maybe??
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:22 PM
To: php-general
Subject:
Hello Martin,
Thanks that work perfect
Wednesday, January 02, 2002, 9:31:36 PM, you wrote:
MT something like:
MT If(in_array($ext, array(com, net, org, info)){
MT //Then do this
MT }
MT If(in_array($ext, com.uk, me.uk, org.uk)){
MT //Then do this
MT }
MT maybe??
MT -Original Message-
87 matches
Mail list logo