I'm not sure which way you create the connection, but I suppose that you use
FSockOpen..
This is a buggy function, as far as I know..
Zend promised to take care of it in the 4.0.4 release of PHP, but since that
nothing has changed, apparently.
I had the same problem some week ago. In the end I ha
This is because the reading from socket is blocked_read by default. So there is
fuinction socket_set_blocking() and also
socket_set_timeout().
I had the same problem so as workaround set_time_limit(0) but the script works for 40
!! seconds. My aim was to get some header so I
didn't read from the
First
NULL
string(5) "4.0.4"
So I think that the problem is that you haven't started any session. Before session
starting PHPSESSID is NULL. That is my opinion.
PHPSESSID by default is get as GET parameter. Do you have any GET parameter when
starting on a console?
Regards,
Andrey Hristov
Ic
Hi,
What do i wrong? I get this err:
Parse error: parse error in /test/put_file.php on line 14
put_file.php begin-
put_file.php end-
include.php begin-
include.php end-
--
PHP General Mailing List (http://www.php.net/)
To u
The problem is here
$pos = strrpos($file, "\");
must be
$pos = strrpos($file, "\\");
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Alex Elderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, Decemb
I have a form to be used for data submission and to be added to MySQL. How do I parse
the syntax so that it automatically inserts a HTML line break whenever a carriage
return is present??
Thanks.
Another PHP newbie,
Steph
php-general Digest 18 Dec 2001 10:26:41 - Issue 1059
Topics (messages 78009 through 78050):
Re: mySQL INSERT question
78009 by: Philip Hallstrom
78018 by: Mike Krisher
Re: electronic postcard recommendation?
78010 by: Philip Hallstrom
78012 by: steph.philedo
After trying many different postcard scripts in search for one that even
comes close to my requirements, I eventually came across Sendcard
(http://www.sendcard.f2s.com/) earlier this year. Easy install, easily
customisable... highly rec'd.
Chris
}:)
> -Original Message-
> From: Brian Tul
[EMAIL PROTECTED] wrote:
> I have a form to be used for data submission and to be added to MySQL. How do I
>parse the syntax so that it automatically inserts a HTML line break whenever a
>carriage return is present??
>
> Thanks.
>
> Another PHP newbie,
> Steph
>
>
One possibility is to us
wrote in 000f01c187af$60d6c900$d536cca6@vaio:">news:000f01c187af$60d6c900$d536cca6@vaio:
> I have a form to be used for data submission and to be added to
> MySQL. How do I parse the syntax so that it automatically inserts
> a HTML line break whenever a carriage return is present??
nl2br http:
What warnings are you receiving? Many can be avoided by doing various
checks:
e.g.
if (!isset($some_variable))
...some error code
else
...all is well
others which may be useful:
function_exists()
file_exists()
HTH
Neil
Yoel Benitez Fonseca wrote:
> Hi!
>
> There is in PHP some way
Using Smarty templates (it is my guess this question is valid for other
template engines aswell), is there a way to pass an array to the
template, then stuff it in a hidden form field and retrieve it in
another PHP source file as an array?
is_array() does not seem to detect the object is an array,
Hi again,
Here are a few updates (error_reporting(E_ALL)):
$_SESSION['PHPSESSID'];
// Undefined index PHPSESSID error
// Doesn't work. Not even a undefined variable.
// echo $SID doesn't either
But:
echo session_id();
// works!
Thanks Andrey for the remainder, but session were already
Hi again to everybody,
first sorry for my poor english.
im trying to use persistents connections to an Oracle Database through PHP,
for manageing transactions, and have some problems.
My Schema:
* Web Server: Apache 1.3.20 on a Linux RedHat 7.0
* PHP: 4.0.6 compiled with oracle module function
Hi,
Is there a way to make a login script that make a php session and also make
a apache session?
I am using ldap Authentication for php en apache but the users must give a
username and password for php and for apache! I can do it so: login to
apache with a popup login window and look if the $au
perhaps this link helps you
http://www.phpsecurepages.f2s.com/
> -Original Message-
> From: Alex Elderson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 18, 2001 2:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Can php make a authentication to Apache?
>
>
--
PHP General Mailin
I want to pass through an array with content to another script. The array is
correctly filled with data. To do this I use the following code:
The content of the array is not recognised in the script.php. What is the
best way to do this?
--
PHP General Mailing List (http://www.php.net/)
To u
Hey there,
I was once told I need to use addslashes and stripslashes on data I get from
the web and insert into the database. I'd like to know why?!?! See I know
that with other languages you could use special chars to hack/crack the
database, but even without add/strip slashes I can't seem to
-- Forwarded Message --
Subject: Re: [PHP] Passing through Array's to another script
Date: Tue, 18 Dec 2001 22:01:53 +0100
From: TD - Sales International Holland B.V. <[EMAIL PROTECTED]>
To: "gkin" <[EMAIL PROTECTED]>
On Tuesday 18 December 2001 14:43, you wrote:
Ok I'm a ne
Maybe you should take a look at serialize and unserialize?
http://nl.php.net/manual/nl/function.serialize.php
http://nl.php.net/manual/nl/function.unserialize.php
With serialize you translate a variable to a string. With unserialize you
translate it back to the original variable
Jerry Verhoef
Well, there's a small difference between form's GET/POST and passing
variables using the ? on urls. I don't know the techinal details of it, but
it's possible. I guess, on this particular case, the form method is POST.
When the next page is loaded (the action target), you put some GET
parameters
If you need to POST a form, but include some variables, you can use hidden
fields.
Assuming someone now enters "baz" into the called c, your POST data
is equivalent to doing Click
here!
However, you can't do this:
Because a & b won't get submitted.
Cheers
Jon
-Original
> However, you can't do this:
>
>
>
> Because a & b won't get submitted.
Well, like I said, I don't understand very well, but things after the ?
are available on the action page, even if the method is POST. Here's a
tested example (PHP 4.1.0, Win2k AS, Apache 1.13.20)
aaa.php:
bbb.php
Okay I know I must be overlooking somethign super obvious but
I am trying to send a simple HTML email. It works in Netscape mail, Pegasus etc
however in Outlook and Outlook express it actually places the
Content-Type: text/html;
charset=iso-8859-1 Content-Transfer-Encoding: 7bit
in the b
The very first thing you need to do when thinking about a way to send HTML
e-mail is to take plenty of aspirin and lie down until the urge passes and
you feel sane again.
HTML e-mail bad. Plain text good.
At 06:51 AM 12/18/2001, Gerard Onorato wrote:
>Okay I know I must be overlooking someth
> Okay I know I must be overlooking somethign super obvious but
>
> I am trying to send a simple HTML email. It works in Netscape
> mail, Pegasus etc however in Outlook and Outlook express it
> actually places the
>
> Content-Type: text/html;
> charset=iso-8859-1 Content-Transfer-Encodin
$PHPSESSID is only available if the session is started before current executed script.
Regards,
Andrey
- Original Message -
From: "Julio Nobrega Trabalhando" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 1:45 PM
Subject: [PHP] Re: $PHPSESSID on PHP 4.1.0
It looks fine to me. The only difference is that I use
Content-Transfer-Encoding: quoted-printable, which shouldn't make
much of a difference here. A very small misplacement of a newline
character or even a space can cause things not to work correctly.
Your best course of debugging is to send
Yes, I know. But the problem is PHP 4.1.0, or maybe something on the new
php.ini that comes with. My scripts were echo'ing $PHPSESSID fine before it.
--
Julio Nobrega.
Um dia eu chego la:
http://sourceforge.net/projects/toca
"Andrey Hristov" <[EMAIL PROTECTED]> wrote in message
032e01c187db$
Eureka! That seems to have fixed the problem. Now to test on the Mac clients.
G
On Tue, 18 Dec 2001 23:11:31 +0100, TD - Sales International Holland B.V. wrote:
>On Tuesday 18 December 2001 15:51, you wrote:
>
>Ok, just a guess here I'm not that familiar with writting my own
>headers W
On 18-Dec-2001 TD - Sales International Holland B.V. wrote:
> Hey there,
>
> I was once told I need to use addslashes and stripslashes on data I get from
> the web and insert into the database. I'd like to know why?!?! See I know
> that with other languages you could use special chars to hack/c
Hi!
Is there any module or software that I can use and compile it with PHP
for working with hte modem???
For example, I have cURL but it is a seperate software and can be
compile with PHP for certain things like FTP, Internet socket, etc. So, is
there ever one for the modem?
Thanks,
Sc
register_globals is recommended to be off in the new release. But if you put binaries
from a package and didn't changed the ini -
register_globals is probably on.
Regards,
Andrey
- Original Message -
From: "Julio Nobrega Trabalhando" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tue
Hello, I'm PHPer from Korea.
I have a problem with GetImageSize function.
I wanted to know some information about BMP image.
So, I tried to use GetImageSize on PHP 4.0.5 , Linux.
But, it didn't work. GetImageSize function returned nothing.
Then, I tried it on PHP 4.0.6, Windows2000.
Ooops.. I
Yes! That's it. I was accessing vars using new methods, but I forgot
$PHPSESSID was supposed to have globals on. So simple, yet I have flooded
the list with messages.
Thanks Andrey, I think it's better next time look at all possible options
;-)
--
Julio Nobrega.
Um dia eu chego la:
http://
There aren't any modem modules that I am aware of but if you are using
UNIX you can just open the modem device and talk to it directly. What is
your application that would need to use a modem?
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 1
Hey there,
sortta simple question... Is it just me or can't you access hashes within
strings?
This works...
print("Some text $myarray[0]\n");
This doesn't
print("Some text $myhash['mykey']\n");
i'm asking in relation to databases (not that that matters). If i fetch a row
from the database I ca
This would require that your httpd user (nobody? depends on your setup) has
read/write access to said device (which is normally not the case). In such
a case you would need to filter it through sudo or some such.
chuck
- Original Message -
From: "Nathan Cassano" <[EMAIL PROTECTED]>
To:
I've noticed this, too. There are at least two things you can do to
make them work...
print("Some text {$myhash['mykey']}\n")
or
print("Some text ".$myhash['mykey']."\n")
jim
>Hey there,
>
>sortta simple question... Is it just me or can't you access hashes within
>strings?
>This works...
>p
Hi Martin,
Excellent, thanks for your help :)
Regards
--
Shane
On Monday 17 Dec 2001 10:15 pm, Martin Towell wrote:
> you _can_ reference it by name - try this:
>
>
> function my_select(type)
> {
> frm = document.forms.test;
> ele = frm["mycheckbox[]"];
> len = ele.length;
>
http://www.phpinsider.com/php/code/Smarty/
Version 1.5.2
-
- added Smarty object as fifth argument for template resource
functions
(Monte)
- fixed a bug with incorrectly combined cache and compile id in
clear_cache(). (Andrei)
- fixed bug in smarty_make_timesta
What application would I need to use this. In this case, no appication.
Just writting the PHP code on the webpage that would work with the modem and
stuffs like that.
Scott
"Nathan Cassano" <[EMAIL PROTECTED]> wrote in message
778f01c187e3$b84b8ed0$2925ae3f@amos">news:778f01c187e3$b84b8ed0$29
Hello,
Using a Solaris box with php 4.0.6 I am having a problem sending mail using
mail(). Sendmail is installed and works. Php.ini points to sendmail. What
do the -t and -i options do? Are they required? Any ideas what could be
wrong?
Here is my code:
if( mail( "myemailaddresshere", "Test"
sounds like php is having a problem resolving the dns. could be 1 of a 100
things ...
try putting the IP of the machine in vs the domain name.
--
Chris Lee
[EMAIL PROTECTED]
"Martin Leclair" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I hav
how those remote servers destinguish where the images are coming from is
from the Referr header.
play around with getting the data manually using fopen()/fwrite()/fread()
and your done. not so easy eh, well it works.
--
Chris Lee
[EMAIL PROTECTED]
"Martin Kampherbeek" <[EMAIL PROTECTED]>
online editor? you got 1mb free? no? buy a floppy. install ultraedit, it's
the best editor around imho.
--
Chris Lee
[EMAIL PROTECTED]
"R. Lindeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> can someone help get a online editor
>
> thanx
>
> R. Lin
foreach( $array_name as $pos => $val )
echo "
";
or use sessions.
--
Chris Lee
[EMAIL PROTECTED]
"Gkin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to pass through an array with content to another script. The array
is
> correctly
take a look at my session.egn file.
http://www.mediawaveonline.com/examples/
--
Chris Lee
[EMAIL PROTECTED]
"Anthony" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I need some help with sessions. I read the sections in the manual and
> searched for
I know this isnt answering your question, but skip cookies and goto
sessions, easier to work with.
now the answer to your question, you need to set the domain and path on your
setcookie()
setcookie('name', 'value', $exp, '/', $SERVER_NAME);
--
Chris Lee
[EMAIL PROTECTED]
"Steve Osborne"
its irrelevant. now there is a file system dependancy. in linux is inodes,
not enough and you'll have some problems, win2k I dont know.
--
Chris Lee
[EMAIL PROTECTED]
"Aaustin" <[EMAIL PROTECTED]> wrote in message
002101c18293$671c5d00$0300a8c0@tomato">news:002101c18293$671c5d00$0300a8c0@t
take them from the arguments list
$argv[]
I know its not what you asked, its just what I answered.
--
Chris Lee
[EMAIL PROTECTED]
"August Zajonc" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Interested in getting a single character at a time on the
break it down.
if ( $ef != 'nm' )
echo "a : $ef";
else
echo "b : $ef ";
if ( $HTTP_REFERER !=
'http://www.globalhealth.org/news/article.php3?id=1526' )
echo "c : $HTTP_REFERER";
else
echo "d : $HTTP_REFERER";
now you can see where the bug is.
--
Chris Lee
[EMAIL PROTECTED]
Header("WWW-Authenticate: Basic realm='$SERVER_NAME' ");
Header("HTTP/1.0 401 Unauthorized");
is the proper http auth hearders, change the realm and you'll have to
re-authenticate.
--
Chris Lee
[EMAIL PROTECTED]
"J.F.Kishor" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">new
2k is alot of data to be sending using GET or POST, just leave it on the
server in a session variable.
redirect server 2000 bytes -> client
GET client 2000 bytes -> server
or via sessions
redirect server 50 bytes -> client
GET client 50 bytes -> server
--
Chris Lee
[EMAIL PROTECTED]
"
I'll try and answer your questions as will the rest off the forum Im sure,
just post away.
--
Chris Lee
[EMAIL PROTECTED]
"Melva Garcia" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am looking for a mentor to help me along with
> using php and mysq
a good guess would be every email client does it differnetly. unfort Id have
to say try it yourself. Id imagine its long enough that you shouldnt have to
worry about it, but I could be wrong.
--
Chris Lee
[EMAIL PROTECTED]
"Tom Churm" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"
haha, I bet it cant resolve, and I doubt it works on other machines :)
www.myserver,com
www.myserver.com
see the diff? ditch the comma and put a period in insted :) trust me it
happens to the best of us.
--
Chris Lee
[EMAIL PROTECTED]
"Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
01
configure --help
ie. nope, nothing there.
--
Chris Lee
[EMAIL PROTECTED]
"Arne Brune Olsen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi
Does anyone know if there is a module for rational rose for generating php
code from UML diagrams ?
Arne
man that is nasty, but imho because of the constant in and out of php
echo "
link
";
I came across this same problem, I hate the long urls, their ugly, so I
wrote a simple session class to carry my prefs across a page.
carry_class.egn
http://www.mediawaveonline.com/examples/
$carry->add('po
it has to be done via javascript.
javascript = clientside
php = serverside
if the plugins are on the clientside then javascript is needed. and no,
sorry, I dont know how.
--
Chris Lee
[EMAIL PROTECTED]
"Daniel Reichenbach" <[EMAIL PROTECTED]> wrote in message
01c1816b$ae010230$79601
Does anyone see a need for a limit parameter to preg_grep() that would
limit the number of array entries returned?
-Andrei
* My wishlist: http://www.amazon.com/exec/obidos/wishlist/2Q2DIPY7BZLSH/ *
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
need more info buddy. does this query work at the mysql command prompt? show
us an example, show us 10 records and accual query being exec and what the
returned result is and what you think it should be.
--
Chris Lee
[EMAIL PROTECTED]
"Fîk ì?çìsâî" <[EMAIL PROTECTED]> wrote in message
[E
try php.ca or any of the other mirrors when php.net is down.
I bet you got that file your running open in an editor eh? close the file in
the editor then run the file, no problems.
--
Chris Lee
[EMAIL PROTECTED]
"Boaz Yahav" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
include() will not handel ssl. include() on a remote site obv. will not
transer access to the variables to the remote site.
your best bet is to encode your session, session_encode(), and either store
it in a common mysql table that both servers have access to (best method) or
to pass it in the ur
you dont have output buffering on, check php.ini or add it manually to an
.htaccess.
--
Chris Lee
[EMAIL PROTECTED]
"J.F.Kishor" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hello,
>
> I'am trying to create an image using php image functions
> it giv
that command doesnt even work from the mysql command prompt for me, Ive
never used LAST_INSERT_ID(), but it dont work for me. try it on your mysql
command prompt.
--
Chris Lee
[EMAIL PROTECTED]
"Ise" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
configure --help
in other words, no. but there is nothing from stopping you from writing a
module :) im sure there are others out there that would like such a feature,
ie for fax's
--
Chris Lee
[EMAIL PROTECTED]
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">new
only thing i could think up would be if a user is dealing with huge amounts
of text and only needs to have the first ten returned, returning/continuing
past that would be wastefulnot confident on how often this would really
happen and what the actual difference would be...
Jack
-Original
I found this message on php-general list, and I'm cross-posting the
reply to Smarty list.
I see a couple of issues with passing Smarty object to modifiers.
1. You want to use _current_file and _current_lineno member variables,
but they are only defined in Smarty_Compiler class, and what actually
I'm sure question has been asked. How can I edit a htpasswd (apache)
file using a php script? Does anyone have a piece of code? I would like
to see the crypted passwords, but will live without.
Thanks,
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
not sure i follow...you open it with php do whatever you need and close
it...its just a text file...
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 1:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php htpasswd
I'm sure question has been asked
Im attempting to install mysql. The service started and everything seems to
be going ok except for that I can't set the root password for the mysql
server. Whenever i type:
I get the following error:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Jack,
> not sure i follow...you open it with php do whatever you need and close
> it...its just a text file...
It's not just a text file delimited by a colon. You can indeed just type:
user:password
but it should be:
user:crypt(password)
When I perled, I knew how to database a text file deli
Im attempting to install mysql. The service started and everything seems to
be going ok except for that I can't set the root password for the mysql
server.
To reset password i type:
/usr/bin/mysqladmin -u root -p mypassword
Then I get the following error:
/usr/bin/mysqladmin: connect to server
\n";
exit();
}
if ( isset($PHP_AUTH_USER) AND isset($PHP_AUTH_PW) AND $peop_r =
fetch_db_value('people_manager', "WHERE username = '$PHP_AUTH_USER' AND
password = '$PHP_AUTH_PW' ") )
$SessionID = $peop_r['peopleID'];
else
{
Header("WWW-Authenticate: Basic realm='$SERVER_NAME' ");
Head
Hello List,
I'm currently trying to setup a script which is processing incomming emails.
So I setup PHP as CGI and did configurate the email like
robot "|/path/to/the/script.php"
The little testscript I tried looks like that:
The error which I get is
/path/to/the/script.php: cannot open ?:
Hi
http://www.linuks.net/robot.phps
best regards
attila strauss
> Hello List,
>
> I'm currently trying to setup a script which is processing incomming
emails.
> So I setup PHP as CGI and did configurate the email like
>
> robot "|/path/to/the/script.php"
>
> The little testscript I tried lo
hi all,
I have got a problem, when I execute the following script it gives
a Fatal error, could any one tell me why is it ?, If this is a silly
problem please execuse me but, plz do reply me.
The script is
-
Telephone Number :
}
else
{
function is_allnu
Does anybody know?
I know gd I edit the makefile and can support older version of freetype
however, for certain reasons I can't install freetype 2, and I was considering
postscript fonts
Does anybody know from experience how to get gd/php working with them?
the goal is just better font support
Does anyone know why this isn't working?? What I am trying to do is display
photos from a database based on each month. This part works fine when I set
it to the current month of December (today) as that is when I uploaded the
photos.
However, when I manually set the date to a month that has n
I would do a mysql_num_row(); on your results to see if it returning
anything at all.
Jim
- Original Message -
From: "Jay Fitzgerald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 12:08 PM
Subject: [PHP-DB] while...i
I don't know all the details about how PHP compiles a program, but
having your function definitions in an if-else statement that may not be
executed looks suspicious to me.
You've got
if(!$Phone)
{
do something
}
else
{
function is_phone() { ...blah, blah...}
}
is_phone($Phone);
If
Try putting a closing "?>" php tag just before the final HTML.
Jim
- Original Message -
From: "J.F.Kishor" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 5:26 AM
Subject: [PHP] Error while calling a function
> hi all,
>
> I have got a pr
Hi There,
I'm looking for some community feedback on being a coder working with
designers. Techniques that work that allow my php-inept page/graphic
designer comrade make changes to the layout of the page without
destroying my code, or requiring me to make any changes whatsoever.
Or what is t
yeah
if you just installed, root doesn't have a password.. so you need to not
specify -p (this tells the server to try and authenticate with an empty
password, as opposed to attempting to authenticate with no password..
there is a difference):
mysqladmin -u root password mypassword
Mike
Jer
I try to seperate the php code from the html as much as possible. So,
if a page is dynamic, have php figure out the dynamic parts first,
put them into variables such as $html, or $pull_down_menu, or
whatever. Then all that needs to replaced in the html is that
section. HTML coders aren't dumb
They sound like good ideas, with one quisp.. the sites are currently
being designed in *shudder* Dreamweaver.
They absolutely refuse to chop files up into header/footer includes, and
they want to be able to do all their colour customisation through their
beloved .css files.
Mike
Jimtronic wr
because the while() statement works like this
- do something while x is true. if x is not true dont do anything.
- do something while conent is in the db. if there is no conent in the db
dont do anything.
your if() statement is never run if there is no content.
$return = mysql_fetch_row($result
Steve is right on the money.
Your function definitions are inside a conditional if statement which means
that they may or may not be parsed. Your call to the function, on the other
hand, is not within that same conditional if statement. That means your
functions is getting called unconditionall
Hi, I'm trying to build php 4.10 with Ming support.
(the ming I get from cvs that is supposed to work with 4.10)
I build ming and follow the instructions in the Readme file.
then I move into php and go:
./configure --with-apache=../apache_1.3.22 --with-gd
--with-ming=../ming
I get the following
Yikes! You mean they don't use a text editor to for html?
Seriously, you do have two choices here and I certainly prefer the one
suggested below. You may have to talk to the project manager about the
designer's refusal to allow thier precious dreamweaver source files to be
chopped up. On the o
Hello, I posted a question some days ago, but no answers received. I
notice many people discussing OPEN_BASEDIR apache restriction here, but
all discussion are from server admin point of view.
Let me ask question in another way:
Is it possible to tell HTTP command the complete path/name
into lo
sorry, jumped the gun on that last one...
Hi, I'm trying to build php 4.10 with Ming support.
(the ming I get from cvs that is supposed to work with 4.10)
I build ming and follow the instructions in the Readme file.
then I move into php and go:
./configure --with-apache=../apache_1.3.22 --with-g
well, you don't have to wade through all that html, just put an
include() in there to a file that has all the php in it. then
dreamweaver should leave it alone.
really if they don't want to chop the files up into header/footer
that shouldn't bother you, it makes their job harder since they have
t
Hello, folks!
I installed PHP4 on Windows 98 with PWS4. When I try to
run a very simple script, I got a just one line error message
"One of the library files needed to run this application cannot
be found". The script is very simple: "", so
I don't think the error has anything to do with it. An
As a designer and a coder, I have always found that it is easiest to have
the layout of the page done before adding the dynamic content. If the
layout is done correctly, it should not be necessary to put in sample data
that has to be removed after.
After joining the workforce, as a database prog
You have bug in your session handler script.
In code exchange at zend.com, you can find mine.
Search HTTP section.
BTW, I'll add pgsql session handler module.
Anyone could use PosrgreSQL for session storage w/o writing script
from 4.2.0. It's written in C and more efficient ;)
James Gregory wrot
For reference, I attached README for pgsql session save handler.
It's NOT in 4.2.0-dev, yet.
James Gregory wrote:
> I have need to get php to use postgres to store session information.
> I've changed the directive in php.ini and written a set of functions
> that should do the job and I've made
Help!!! If I'm editing a php file & have it open (or have recently done so)
in notepad sometimes when i do "reload" or open the file in IE6 my computer
pauses for a second, then shuts itself off with a resounding click of the
hard disks and promptly restarts.
I don't think it's a disk problem - i
How could I write the function windowPopup(XX) where XX is a variable that
can change from link to link, for a popup info window to load a php file
with the variable XX in the url?
So the link would look like:
Link Text
and I want that link to open the page info.php?patch=XX in a new popup
windo
1 - 100 of 141 matches
Mail list logo