On Wednesday 22 January 2003 15:41, Dhaval Desai wrote:
Hello ppl,
I want to find out what keywords are people exactly using to get to my
website and from where are they coming(Which search engine?)...I want to
make a custom script, I don't want to use my web server logs or anything...
Is it
Hello, there.
I'm Looking for 'Mohawk Software session handler functions' examples.
PHP Manual describes it http://www.php.net/manual/en/ref.msession.php .
But, There are no descriptions and examples.
Anybody has one?
Thanks in advanced answer!
##
Heo, Jungsu Mr.
J Smith wrote:
PHP can fork scripts. Refer to the pcntl extension.
http://www.php.net/manual/en/ref.pcntl.php
You'll be wanting to use pcntl_fork()...
J
Senn wrote:
Hi,
Since php does not have child - parent forking methods, can anybody
suggest a method to achieve this.
Thanks.
Senn
heya all,
I remember that some developers started a project to create stand-alone
application from php script, can someone guide me to find it again ? I
haven't found any url talking about it.
Regards,
Hatem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
There's exactly the code you're looking for I think over on Evilwalrus -
http://www.evilwalrus.com/viewcode/632.php
Hope it helps,
Nick
-Original Message-
From: Peter Janett [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 06:46
To: [EMAIL PROTECTED]
Subject: [PHP] Measuring Query
(Sorry for disturb you if this kind of message posted earlier.
but I can't find answers on mailint list archive)
Hello, there!
I'm developing web service.
There are several web servers for one Service.
(Linux virtual server manages load banlance)
Php's original session handling function save
Hi,
Wednesday, January 22, 2003, 6:15:36 PM, you wrote:
HJ Hello, there.
HJ I'm Looking for 'Mohawk Software session handler functions' examples.
HJ PHP Manual describes it http://www.php.net/manual/en/ref.msession.php .
HJ But, There are no descriptions and examples.
HJ Anybody has one?
HJ
Hello,
I recieve this error from every PHP ldap function on Solaris 8 :
Apache error_log:
...
child pid 666 exit signal Bus Error (10)
...
My box::
SunOS 5.8 Sun-Fire15K
Apache 1.3.27 + mod_ssl 2.8.12
PHP 4.2.3 ( 4.3.0 crashes too)
OpenLDAP 2.1.12 ( i've checked every release since 2.1.5 ...)
I can't say which or what is better, but something else to add to the
picture is that you can define your own session handlers. This would
allow you to store all the session data in a high speed database or
something similar to suit your liking (especially from a load balancing
or high
I never use mg_* function b4.
You should try post you question on php.i18n. bcos it is the newsgroup
dedicated for localization
Foong
Sadeq Naqashzade [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
I'm newbie of PHP. Can any one help me and explain
I don't want to start a flame-war here, just asking for specifics on a
question I have :)
I know that PHP and Apache 2 (on Linux anyway) have some problems
working together. I was just wondering, for my own education, why is that?
Is it a problem in Apache 2 or in PHP? (Not that I want to lay
On Wednesday 22 January 2003 14:45, Peter Janett wrote:
I'm trying to figure out if there is an easy way to measure how long
my
queries in PHP/MySQL are taking to execute.
Using microtime() before and after your query will give you an rough
idea.
Yeah, unfortunately, that's the best way
Apache2 now work with php in aspx (PHP is as a module)
-Original Message-
From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 6:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Why PHP doesn't work with Apache2?
I don't want to start a flame-war
Larry Brown [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
OOP in a couple of different places. However, my mind apparently works
different and I keep trying to relate the OOP structure to what I already
know which equates an object to a function. I am
Hi
I'm looking for a Opendialog function in php, With a thumb function where I
can see examples of the selected photes?
Does anyone Know that??
Greetz Steven
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Wednesday, January 22, 2003, 6:34:45 PM, you wrote:
TR Hi,
TR Wednesday, January 22, 2003, 6:15:36 PM, you wrote:
HJ Hello, there.
HJ I'm Looking for 'Mohawk Software session handler functions' examples.
HJ PHP Manual describes it http://www.php.net/manual/en/ref.msession.php .
HJ But,
Do you mean gtk.php.net?
Hatem Ben wrote:
heya all,
I remember that some developers started a project to create stand-alone
application from php script, can someone guide me to find it again ? I
haven't found any url talking about it.
Regards,
Hatem
--
PHP General Mailing List
Is there a way to get a database query to fail gracefully, so that rather
than calling Die(), it can work around the problem? In other words, to do
something like:
if (mssql_connect($sDBhostname,$sDBusername,$sDBpassword)) {
// connection ok - work with it
} else {
// database down - work
Henry wrote:
Apache2 now work with php in aspx (PHP is as a module)
Really!? I was sure there were still some issues ...
Jc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what issues for example?
I do know I can successful install php in module with apache2.0.43 without error
messages, also execution was successful
can you tell me what issues did you see?
-Original Message-
From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
On Wednesday 22 January 2003 19:11, Andy Clarke wrote:
Is there a way to get a database query to fail gracefully, so that rather
than calling Die(), it can work around the problem? In other words, to do
something like:
if (mssql_connect($sDBhostname,$sDBusername,$sDBpassword)) {
//
Henry wrote:
what issues for example?
I do know I can successful install php in module with apache2.0.43 without error messages, also execution was successful
can you tell me what issues did you see?
A successful install means nothing.
My question is basically, does Apache2 work with PHP 100%
it depends on you your aim
u can consider your criterias between php with apache 1.3X apache 2
if u try to use pragmatism about it ...
maybe u can find the result that php with apache 2 is better ?
so don't you need more argument ?
one more .
This is mostly sorted out now. The mssql commands just needed @ signs to
suppress error and warning messages.
Thanks anyway,
Andy Clarke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yasin Inat wrote:
it depends on you your aim
Ok, to put it more simply,
Are there cases where something would work in Apache 1.3.27 + PHP that
would break in Apache2 + PHP??
A simple yes or no will suffice.
If the answer is no, I am curious as to why not ...
Thanks,
Jc
--
Andy Clarke wrote:
Is there a way to get a database query to fail gracefully, so that rather
than calling Die(), it can work around the problem? In other words, to do
something like:
Another option is to make use of PEAR's DB support in your code, rather
than using the mysql_ functions
Here is a brief description of what I want to do. I want to use PHP to grab
a list of numbers in one file. Check it against a bigger file and strip the
ones that match out of the bigger file, into a holding file.
so here is what it might look like.
file1.txt
456789
456790
456791
456792
Henry wrote:
what issues for example?
I do know I can successful install php in module with apache2.0.43 without error
messages, also execution was successful
can you tell me what issues did you see?
A successful install means nothing.
My question is basically, does Apache2 work with
You first file just requires loading into an array and you can use
unique array functions to remove
duplicates etc..
The other files simply load into an array and use preg to strip out what
you want and follow the same
checking and removal of duplicates.
Checkout: preg_match and array functions
nop, not the php-gtk , but something that can create binary executable code
from any php script.
Do you mean gtk.php.net?
Hatem Ben wrote:
heya all,
I remember that some developers started a project to create stand-alone
application from php script, can someone guide me to find it again
In that case, I don't know of any PHP classes to help you.
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 7:53 AM
Subject: Re: [PHP] HELP please quickly
No. The numbers are coming from two text files. The first text
Cool I'll report back what I have found. Question. I have tried fopen and
file and was wondering for opening the file and loading it into an array
which one is better?
From: Timothy Hitchens \(HiTCHO\) [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: 'Didier McGillis' [EMAIL
Sorry, that message it what is in the body of the response, so it's not
working, I think. Unless that's what it's supposed to do. In that case, it
won't work for what I want. I simply want the form to send to the php file,
which then processes the information, and redirects the user to the next
Rick Emery said:
if ( $_POST['passwd'] != $db['password'] )
{header(Location: loginfailed.html); exit;
}
- Original Message -
From: Shams [EMAIL PROTECTED]
To:
Sent: Tuesday, January 21, 2003 3:48 AM
Subject: [PHP] $header = Location: being ignored!
Hi Group,
I
I'm pretty new to PHP so I can't help you with the code per se, but how
about as an outline;
Open the first file and read values into an array.
Open the 2nd file and read in the first line.
Compare each value in the array to see if it occurs in the line from the 2nd
file you just read in.
If it
file already returns an array so this would be best for that :).
Thomas
On Wed, 22 Jan 2003 14:00:09 + [EMAIL PROTECTED] (Didier McGillis) wrote:
Cool I'll report back what I have found. Question. I have tried fopen and
file and was wondering for opening the file and loading it into
Cool. Thanks for the information. I try and organize my thoughts like that
as well. I dont really need to delete anything, mostly move and copy.
One problem I have run into is my second file seems to be too big. In just
doing a simple count the first file was fine, found my 470 lines. The
Haven't had a single response so I am not sure if this isn't possible or
just really easy and something I should already know.
Thanks,
Eddie
-Original Message-
From: Edward Peloke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 3:32 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
You need to use fopen + fgets instead of file
Didier McGillis wrote:
Cool. Thanks for the information. I try and organize my thoughts
like that as well. I dont really need to delete anything, mostly move
and copy.
One problem I have run into is my second file seems to be too big. In
http://www.php.net/manual/en/function.odbc-connect.php
Edward Peloke wrote:
Haven't had a single response so I am not sure if this isn't possible or
just really easy and something I should already know.
Thanks,
Eddie
-Original Message-
From: Edward Peloke [mailto:[EMAIL PROTECTED]]
Thanks Jason,
I know how to connect to an odbc datasource but will this function also
allow me to create one?
Thanks,
Eddie
-Original Message-
From: Jason k Larson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 9:38 AM
To: Edward Peloke
Cc: [EMAIL PROTECTED]
Subject: Re:
Are you wanting to have PHP dynamically create ODBC datasources instead
of creating them via the typical Control Panel method?
If so, and if possible, would be tricky, but I'll bet it can be done.
Regards,
Jason k Larson
Edward Peloke wrote:
Thanks Jason,
I know how to connect to an odbc
Hey guys,
Thanks in advance for your help.
I'm working on emailing the contents of a form using php. It worked fine,
until I turned global_variables off in an attempt to secure the form (I
still have yet to write the data validation part).
Anyway, I have an IF statement that fires depending on
yep, I am trying to come up with a way to get data out of an access db on
the users machine and load it into the mysql db on the server. The only
thing I can think of is have the user upload their db, php then creates a
datasource, pumps over the data, deletes the db and datasource. My only
give some output in the if-construct to see if it even matches.
I believe there is some problem with the variables used in there,
the location should work though.
On Tue, 21 Jan 2003 06:09:01 -0600 [EMAIL PROTECTED] (Rick Emery) wrote:
if ( $_POST['passwd'] != $db['password'] )
{
Hi,
I'm using this line to send an e-mail with info:
mail([EMAIL PROTECTED], $Event Ticket Form, $msg, $mailheaders);
If I want to add mail recipients, or cc, or bcc, how would I do this?
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
try:
if (isset($_POST['frmAction']) $_POST['frmAction'] == formmail)
instead of your line.
Thomas
On Wed, 22 Jan 2003 09:47:46 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote:
Hey guys,
Thanks in advance for your help.
I'm working on emailing the contents of a form using php. It
you would put that in the $mailheaders variable. Something like
$mailheaders = From: Joe Bloe [EMAIL PROTECTED]\r\n;
$mailheaders .= Cc: Some Dude [EMAIL PROTECTED]\r\n;
$mailheaders .= Bcc: Some Other Guy [EMAIL PROTECTED]\r\n;
That should work for you. Just do this for whatever other headers
$mailheaders = From: [EMAIL PROTECTED]\r\nCc:
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]\r\nBcc:
[EMAIL PROTECTED],[EMAIL PROTECTED];
mail([EMAIL PROTECTED], $Event Ticket Form, $msg, $mailheaders);
- Original Message -
From: Scott Saraniero [EMAIL PROTECTED]
To:
Sent:
Hello people!!! This time I have a problem with cookies.
I
tried to send a cookie from one page with the function
sendcookie(chat,$mail) to a page in another directory,
but when I tried to prine echo($chat) or
echo($_COOKIE[chat]) I got notheing. So I put the
second
page where it was the
I'd like to implement ONE USER SIGNIN at the same time, the way I consider about is
below:
1 record the sessionId and userId in some media(db), then we'll know who is login
and who is not
2 use a demon program to determine whole sessionId which is live and correspond to
db's
data if some
I managed this bit of code, but I doubt it does exactly what you want, but
it's a start. And just to add to it I couldn't get the preg_match to work -
so that needs sorting. I'm at work, so I'm afraid I can't spend any more
time right now on this. If anyone can help on the preg_match bit (it just
Hello friends.
I need to add a part of html (the banner, top menus and the logo) in all pages
dynamically. I made this part of the html and converted same to php code using Print
command.
Now, how do I add this code in the other pages? Should I inclue require or include
command? if yes?
Can someone tell me what should I do to solve this problem?
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result
resource in /home/epcc/public_html/exoops/class/database/mysql.php on line
134
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result
resource
it doesn't matter beforebody or after body as I know
- Original Message -
From: Denis L. Menezes [EMAIL PROTECTED]
To: PHP general list [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 11:21 PM
Subject: [PHP] A simple question please.
Hello friends.
I need to add a part of html (the
-Original Message-
From: thkiat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:23 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Need help.
Can someone tell me what should I do to solve this problem?
Warning: mysql_fetch_row(): supplied argument
can you post some code?
-Original Message-
From: thkiat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:23 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Need help.
Can someone tell me what should I do to solve this problem?
Warning: mysql_fetch_row():
If the start of EVERY page is the same you could make your php include file
as follows;
?php
echo HTML;
echo TITLE;
echo /TITLE;
echo BODY;
?
Obviously padding it out a bit ;o)
Then at the top of every page put;
?php
require (header.php);
?
Similarly you coud do a footer for every page.
I had to do something like this not to long ago. Luckily it hit me that
I shouldn't be changing keys, you don't do it in a database, so you
really shouldn't do it in an array.
I ended up adding a column to my array that contained the name. Then I
didn't need to change keys and it worked just
Are you getting no data from database or the script does not output
anything (not even html)?
Roddie Grant wrote:
I have a small site in development which takes details of coming church
services from a MySQL database. This bit is at the bottom of
--- Hatem Ben [EMAIL PROTECTED] wrote:
something that can create binary executable code
from any php script.
See if this can fulfill your needs:
http://pear.php.net/package-info.php?pacid=95
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
As longs as none of the text you are using NEEDS spaces you can just do
this:
?php
$string =text1, te xt2, t e x t 3;
$string = ereg_replace( , , $string);
$array = explode(,, $string);
echo | . $array[0] . | . $array[1] . | . $array[2] . |;
?
If you want to keep the spaces and there is always
If I have to create one datasource and use it for all db's, how do I do
this? Will hosting providers set this up for you? (I am using ValueWeb)?
Also, is there a general Access username and password that would give me
access to any of the dbs?
Thanks,
Eddie
-Original Message-
From:
Anyone ?
regards Thomas Svensson, Oslo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
regards
Thomas Svensson in Oslo.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know how to get certain parts of the output from an exec of a
certain command? For example...if I run w I get this output:
[root@Lunar]:~ w
11:02am up 56 days, 17:39, 1 user, load average: 0.07, 0.02, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root
Ramping up on a large project and was wondering if there are any freely
(as in speech) available app frameworks or toolkits for PHP that would
save me from recreating the wheel.
I'd prefer something relatively mature and well documented.
Thanks for any input!
John
--
PHP General Mailing
Hello people!!! This time I have a problem with
cookies.
I
tried to send a cookie from one page with the function
sendcookie(chat,$mail) to a page in another
directory,
but when I tried to prine echo($chat) or
echo($_COOKIE[chat]) I got notheing. So I put the
second
page where it
On Thursday 23 January 2003 00:10, Greg Chagnon wrote:
Does anyone know how to get certain parts of the output from an exec of a
certain command? For example...if I run w I get this output:
[root@Lunar]:~ w
11:02am up 56 days, 17:39, 1 user, load average: 0.07, 0.02, 0.00
USER TTY
Now it gets more confusing.I added:
print 'pre';
print_r($_POST);
print '/pre';
to my form and the variables are displayed properly, but only generate
errors when I try to add it to fputs().any ideas?
Stephen Goehler [EMAIL PROTECTED] wrote in message
[EMAIL
I was wondering what the licensing issues for app frameworks (or any
included PHP classes/libs) are. I'm creating a rather large PHP
application for a company, and they'd like to potentially resell it to
some of their customers.
Can I safely use GPL'd libraries, classes, etc. (i.e. PearDB) and
On Thursday 23 January 2003 00:13, John Wells wrote:
Ramping up on a large project and was wondering if there are any freely
(as in speech) available app frameworks or toolkits for PHP that would
save me from recreating the wheel.
I'd prefer something relatively mature and well documented.
Sorry for the OT post but I know many of you use the
above. I subscribed the the PHP-XML mailing list but
alas, haven't seen activity on it since the middle of last
year. Could you guys recommend a good (quality over
quantity) XML/XSLT mailing list? If it's a list geared more
towards newbies,
Hi Mark McCulligh,
Other than the fact that popups are a work of the devil, there's no way
PHP can help you there.
Except that you can use regular HTML to popup a new window, albeit with
all the dressing:
a href=target.php?loc=popup target=_newWill popup a new window/a
Rene
On Mon, 20 Jan
On Thursday 23 January 2003 00:13, Sabina Alejandr Schneider wrote:
Please do not repeatedly repost the same question. Allow a reasonable period
of time for people to reply. A reasonable period of time to allow would be
one day.
Hello people!!! This time I have a problem with
cookies.
I
Thomas Wessel Svensson wrote:
Anyone ?
Tasm was the MS 386 assembler. I'm not aware of a tasm manager. Are you
sure you mean this? It may just be my ignorance :-)
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Henry [EMAIL PROTECTED] wrote:
I'd like to implement ONE USER SIGNIN at the same time,
the way I consider about is below:
1 record the sessionId and userId in some media(db),
then we'll know who is login and who is not
2 use a demon program to determine whole sessionId
which is live and
I know it also, still related with php-gtk. Thanks anyway
Hatem
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Hatem Ben [EMAIL PROTECTED]; Marek Kilimajer
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 4:42 PM
Subject: Re: [PHP] create
On Thursday 23 January 2003 00:26, Chris Shiflett wrote:
--- Henry [EMAIL PROTECTED] wrote:
I'd like to implement ONE USER SIGNIN at the same time,
the way I consider about is below:
1 record the sessionId and userId in some media(db),
then we'll know who is login and who is not
2 use a
I need som guidance in the correct direction
for som Task Manager-like problems in the
PHP Manual of php.net.
Anyone ?
from
Thomas is Oslo, Norway
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry for reposting the mail, I thought nobody had
recieved it. Sorry. The function is setcookie, not send
cookie what I meant,it was my typing mistake. Thank you
for your time and help.
On Thu, 23 Jan 2003 00:23:35 +0800
Jason Wong [EMAIL PROTECTED] wrote:
On Thursday 23 January 2003 00:13,
John Wells said:
Can I safely use GPL'd libraries, classes, etc. (i.e. PearDB) and
resources that fall under other open source licenses when developing the
app and let them redistribute accordingly, or would that be a violation?
I don't know anything about the licensing terms of PearDB.
Read
Scott Saraniero wrote:
Hi,
I'm using this line to send an e-mail with info:
mail([EMAIL PROTECTED], $Event Ticket Form, $msg, $mailheaders);
If I want to add mail recipients, or cc, or bcc, how would I do this?
Thanks,
Scott
http://www.php.net/manual/en/function.mail.php
Example 4.
absolutely!
Sorry for my english first, what I want to do is make sure one account can
login in at the same time,
is there any mechanism in PHP can slove it? or I have to use external
program (daemon what I develop)
to do so? the way I imagination is list below does that work or you have
smarter
I'm currently looking at this. This particular code creates a file 10-20
times the size of the orginial file. A minor alteration of this code copies
the file to the results file.
Basically I think the problem is, is in the preg_match, and I can't think of
why that would die when it is
it won't work the way you are doing this.
Try something like that line (changed from yours):
fputs($fd, From: .$_POST['name']. .$_POST['email'].\n);
Don't ask arrays directly in a string.
Thomas
On Wed, 22 Jan 2003 11:15:35 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote:
Now it gets
I'm running it in production since MySQL-4.0.2 and without any problems.
Thomas
On Wed, 22 Jan 2003 11:21:40 -0800 [EMAIL PROTECTED] (Joe Stump) wrote:
Anyone out there have anything to share as to using PHP4+MySQL4. I've been
hearing good things on the MySQL list about v4.0 and I'm
Hey,
I'm a newbie looking to secure my site with SSL using PHP.
Currently I am taking orders via e-mail online. The users fill out a
form and that form is sent to me via e-mail. The email resides on the
same server though. Would I need to implement SSL for this. Also, I
could use some
Hello,
On 01/21/2003 10:13 AM, Dankshit wrote:
Is there a way to autenticate an SMTP server in my PHP.ini???
No.
In my development site, i need to autenticate a SMTP, but in the
PHP.INI does not have an option to autenticate..does anybody has any
solution for this??
You may want to try
At 17:17 22-1-03, you wrote:
I was wondering what the licensing issues for app frameworks (or any
included PHP classes/libs) are. I'm creating a rather large PHP
application for a company, and they'd like to potentially resell it to
some of their customers.
Can I safely use GPL'd libraries,
PHP cannot open a dialog on client. PHP is server-side only. Use JavaScript to open
a dialog.
- Original Message -
From: Steven Seijmonsbergen [EMAIL PROTECTED]
To:
Sent: Wednesday, January 22, 2003 4:52 AM
Subject: [PHP] Image opendialog function
Hi
I'm looking for a Opendialog
Are the numbers coming from a mysql database? If so, mysql can handle this chore.
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 22, 2003 7:21 AM
Subject: [PHP] HELP please quickly
Here is a brief description of what I want
Thanks guys for helping out. I got it working now!
Thomas Seifert [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
it won't work the way you are doing this.
Try something like that line (changed from yours):
fputs($fd, From: .$_POST['name'].
In general, how do most template parsers work?
do they read the file into a variable and do something
to the effect of preg_replace() to element that is found?
and if so, could you replace the step of reading the file
into a variable with getting the template data out of a database?
I am using the query below to edit a record. I want to edit the field which has a list
of states in a dropdown box. I want to have the state that is in the selected field
shown as the selected state. How would I do this?
Query
-
?
$sql = SELECT *
FROM
Hi
There is no error or notice message on the screen and in the log of the web server.
The PHP program stop and don't generate all the HTML code of the page.
Marek Kilimajer a écrit :
I have never heard of out of range error, but is it really an error
or just a notice? If it is a notice,
Chris Hayes said:
The GPL can be a headache to figure out when it gets to complicated
situations.
My uneducated working conclusion is that the GPL prevents you from
selling GPL-ed code as is, or improved GPL-ed code. Selling GPL-ed
code, even if you improved it, is dead wrong. Even if you
However - if you want to sell software under a closed licence you will
need to be carefull to avoid 'linking' with gpl'd code.
The problem is that 'linking' as used in the gpl seems to refer to C
programming - and is an unclear term when refering to php.
Yeah...that's really what I'm
Brent, et al --
...and then Brent Baisley said...
%
% I had to do something like this not to long ago. Luckily it hit me that
% I shouldn't be changing keys, you don't do it in a database, so you
% really shouldn't do it in an array.
Hmmm... Good point.
% I ended up adding a column to my
Assuming that you know which state is selected before you build the
select list:
$sel_state = $_REQUEST['state'];
...
while($row = mysql_fetch_array($result)) {
$buyerid = $row['buyerid'];
$state = $row['state'];
$selected = $state == $sel_state ? selected=\selected\ : ;
1 - 100 of 200 matches
Mail list logo