I know, I was a TextPad fun too untill I found EditPlus ...
It is better, at least I though so.
Try it, it's a good alternative to TextPad ... especially for html/css work
...
supports PHP as well and has VERY COOL RegEx replacement and search in files
(whether opened or in folder)
0.2c
Cheer
Gerry,
the following is your problem:
you fetch a row from the query result in each iteration:
> while ($row = mysql_fetch_array($sql_result)) {
and the use the value of $ID.
> $fn = "/images/$ID.jpg";
you need to fetch the value of the ID column into the ID variable
before. Assuming your selec
On Thu, 15 Feb 2001 at 17:57:43, Rog <[EMAIL PROTECTED]> writes
>He's probably gotten his timestamp from a database, in which case the
>easiest solution is usually reformat the timestamp when collecting it
>from the database rather than within PHP.
>
>(MySQL) Example :
>select UNIX_TIMESTAMP(tim
On Thu, Feb 15, 2001 at 04:22:04PM -0500, Toby Butzon wrote:
> I've read that several times... so does that mean now the only debugger
> for PHP4 is the Zend one?
there's http://dd.cron.ru
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
php-general Digest 16 Feb 2001 09:20:42 - Issue 515
Topics (messages 39981 through 40119):
Re: Debugger, Debugger and Debugger
39981 by: Toby Butzon
40119 by: Thies C. Arntzen
Re: deleting cart items on session expire
39982 by: Jason Brooke
4 by: Joseph
it's important to remember that what you have here is NOT a 2d array. $array
is an array, each element of which can be any sort of variable ...
e.g.
$array[1] = "fred";
$array[2] = Array();
$array[3] = 1.245;
... but then try ...
foreach ($array as $thisarray)
echo(count($thisarray) . ""
to take this a step further, PHP doesn't seem to have types at all try ...
echo 1 + true; // gives 2
echo 1 . true; // gives 11
true is a constant that seems to equate to 1, false is 0. Or is this just my
interpretation?
Tim Ward
Senior Systems Engineer
Please refer to the fol
You are absolutely right.
True = 1
False = 0
make an if statement, or echo ...
Cheers,
Maxim Maletsky
-Original Message-
From: Tim Ward [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 6:41 PM
To: 'Toby Butzon'; Jonathan Sharp
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] True
Whilst on this theme... it there a PHP syntax file available for textpad
(.syn I think). I can't see any on the textpad website.
Cheers
> -Original Message-
> From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 16, 2001 8:18 AM
> To: 'Dallas Kropka'; 'Michael McGloth
Hi,
I'm multiplying floating numbers:
$result = $foo * $boo; and the result is like this:
echo "$result";
And the result is like this:
2.2864849511949E+190
How can I transfer this to normal-human-readable number?
Regards,
Sumarlidi Einar Dadason
SED - Graphic
> "MM" == Maxim Maletsky <[EMAIL PROTECTED]> writes:
> > Tim Ward writes:
> >
> > to take this a step further, PHP doesn't seem to have types at all
> > try ...
> >
> > echo 1 + true; // gives 2
> > echo 1 . true; // gives 11
> >
> > true is a constant that seems to equate to
Hi,
I tried
which gave me
-2147483648
echo $foo gives
2.2864849511949E+190
- This looks like the number is too large for printf (the 'human
readable form' printed by printf is abviously wrong).
Does anybody know such of limits to sprintf?
Ben
SED wrote:
>
> Hi,
>
> I'm multiplying flo
$ result = Round($foo * $boo)
Todd
From: "SED" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: February 16, 2001 7:15 AM
Subject: [PHP] How to transfer "2.2864849511949E+190" to a
normal-human-readable number?
> Hi,
>
> I'm multiplying floating numbers:
>
> $result = $foo * $boo; and the re
You are working with VERY large numbers here. I would have said that the
number is as good as you'll get in terms of human readability unless you
want to see nearly 200 zeroes on the screen.
That said, I'm not sure how much use such large numbers will be to you, as
when represented as floating po
Jeremy,
I think there might be a JavaScript solution rather than a PHP solution to
your problem.
Depending on which link, either www.english.com or www.francais.com, the
users click from www.mainurl.com you can set a cookie with JavaScript.
Of course this cookie will 'remember' the user's initial
Can anybody help with this
If I put the following statement in PHP my browser tells me that there is an
error on the line.
//create sql statement
$sql = "select Business_Name,Trading_Details where Business_Type =
"Consultancy" and Bassingbourn != "0" from Main";
If I remove
where B
I think we need to see the form. It sounds like something is going wrong
there.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
> -Original Message-
> From: Andre Ba
Matt,
Maybe the mistake is at the quotes...
Just replace the double quotes inside the select statement by single
quotes...
Try something like:
$sql = "select Business_Name,Trading_Details where
Business_Type='Consultancy' and Bassingbourn != '0' from Main";
On Thu, Feb 15, 2001 at 06:43:41PM -0600, Richard Lynch wrote:
> - Original Message -
> From: Kristofer Widholm <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Sent: Tuesday, February 13, 2001 5:29 PM
> Subject: [PHP] Still can't talk to the Oracle
>
>
> > I'm setting up a back end produ
Hi,
have to correct that (thanks to Adam Whitehead for pointing out).
It should be %f instead of %d. However:
'' | php -q
2286484951194899000
Segmentation fault (core dumped)
[ben@home ben]$
This is PHP4.0.4pl1
Ben
Ben Peter wrote:
Dear sir
i am working on windows NT PC and i want to run PHP programs on that
and i have Personal Web server in my Pc.
to run PHP Applications what should i need to download?
some sort of PHP compiler or intepreter to compile and execute.
can you please
Hi
First you have to down the NT version of php from php.net and also
configure it and make it work. Then if you want any database to be working
with it, then you should also download mysql from mysql.com and start the
server and try to connect to mysql from php. Then you are done and you can
On Friday 16 February 2001 07:17, Ted Goranson wrote:
> >If it's not possible to use PCREs, the above links (particularly the
> > first) whould contain details for just about anything you may need to
> > do with POSIX REs.
>
> Christopher--
>
> Thanks so much for the URLs but they are hardly comp
On Thursday 15 February 2001 22:43, Jerry Lake wrote:
> is there a way I can make a regex to add a comma
> to the beginning of every line of a comma delimited
> file ?
$NewContent = preg_replace ('/^(.)/m', ',\\1', $OldContent);
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Wh
PHPEd now supports debugger and still free :)
> 1-month commercial license ($90).
>
> Download wasn't too bad. I haven't had a chance to check out the Zend
> LaunchPad. The installation (Apache Linux PHP 4.04pl1+patches) took me about
> 30 minutes for client and server which included the
On Friday 16 February 2001 04:19, Maxim Maletsky wrote:
> It will escape the error ... or better say you force the function to
> always return true.
[...]
> $where = @where($user);
>
> this will always return true no matter what happen
Bullshit (sorry. I just *had* to say this :). From the manual
On your splash page, instead of having it send the user directly to either the english
or
french site, first have it send to another page on that domain along with a variable to
tell it whether it's english or french. For example, the English button would be
linked
to "setcookie.php?Language=En
eschmid Fri Feb 16 05:13:53 2001 EDT
Modified files:
/php4/ext/standard file.c
Log:
Wrong return type.
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.140 php4/ext/standard/file.c:1.141
--- php4/ext/standard/file.c:1.140 Thu Feb 15 06:4
I have a php script which runs a query and then outputs the results in to
html. The html should repeat itself depending on the number of results. i.e
to produce search results.
I know that my current query should return 5 results however it is only show
the last one. Is there something I need to
Well, the numbers are a bit silly for doing this sort of thing, but the seg
fault is clearly a bug!
Can you report it please. (bugs.php.net)
Thanks
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
-Original Message-
From: Ben Peter
> This is the output I get running 4.0.4pl1 or 3.0.17 on Win98/Apache
> Using 3/9/1935
> Unix timestamp for this date is -1
This is what I get:
Using 3/9/1935
Unix timestamp for this date is -1098727200
Reconverting... March 09, 1935
> Warning: unexpected error in date() in on line 13
> Reconve
it's be a bit more helpful if we can see the code you're using to display
your results...
At 02:15 PM 2/16/01 +, Matt Davis wrote:
>I have a php script which runs a query and then outputs the results in to
>html. The html should repeat itself depending on the number of results. i.e
>to produ
After reading through the setcookie page on php.net, I found out that for some reason
it
won't let you redirect to a different site after setting the cookie. So, as a fix,
change
the headers on the setcookie.php page to redirect to the index page, and let the index
page take care of the redirec
eschmid Fri Feb 16 05:14:24 2001 EDT
Modified files:
/php3/functions file.c
Log:
Wrong return type.
Index: php3/functions/file.c
diff -u php3/functions/file.c:1.234 php3/functions/file.c:1.235
--- php3/functions/file.c:1.234 Thu Dec 14 06:41:52 2000
+++ php
sniper Fri Feb 16 06:31:37 2001 EDT
Modified files:
/php4/ext/curl curl.c
Log:
Fixed a typo in constant definitions and a possible crash in curl_setopt().
# pr: #9181
Index: php4/ext/curl/curl.c
diff -u php4/ext/curl/curl.c:1.36 php4/ext/curl/curl.c:
Is there such a thing as a PHP compiler? Linux based? Windoze based?
Thanks in advance.
DM
--
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 PRO
I found the possible problem and a solution.
I was putting the function below the function call. This is
how it worked with Perl and I was trying to do it the same
way. I couldn't figure out how to put this function earlier
in the script so I put the code I wanted to re-use in a separate
script
Zend Technologies has an encoder, might be what your looking for, might not.
why do you want to compile your code, you havent mentioned ?
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
"dmalcolm" <[EMAIL PROTECTED]> wrote in messag
I want to make my text BOLD using either or but it
did not work with PHP. Can someone please advise why not or if there is
another way to do it.
Thanks,
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Could you send an example of how you're using the bold/strong tags in your
PHP code? If we see it, we can probably help you out better :)
Josh Hoover
KnowledgeStorm, Inc.
Searching for a new IT solution for your company? Need to improve your
product marketing?
Visit KnowledgeStorm at www.knowl
what exactly do you mean by it doesn't work...
print( "some test" );
it's always worked for me...
At 09:31 AM 2/16/01 -0600, Nguyen, David M wrote:
>I want to make my text BOLD using either or but it
>did not work with PHP. Can someone please advise why not or if there is
>another way to do
Hi! I have this php answer on the request sent from flash5 to serverside
php-file:
records=8&score0=14&name0=janna&med0=hej4&date0=16:11:32&score1=13&name1=janna&med1=hej3&date1=16:06:52&score2=12&name2=janna&med2=hej2&date2=16:06:42&score3=11&name3=janna&med3=hej&date3=16:06:31&score4=10&name4=J
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-cache, must-revalidate');
header('Pragma: no-cache');
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx
At 9:10 AM -0600 2/16/01, dmalcolm wrote:
>Is there such a thing as a PHP compiler? Linux based? Windoze based?
>
>Thanks in advance.
>
Depends on what you mean by a compiler. If you mean a "package"
that turns your PHP script into a 100% stand-alone binary executable
then No, there isn't. If y
hi!
u mean u're using a php file ? not html file that includes php syntax?
try this one : echo " hi"
it works for me !
cheers
>From: "Nguyen, David M" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [PHP] How to make text BOLD
>Date: Fri, 16 Feb 2001 09:31:33 -0600
>
>I want to make my te
Does anyone know of a way to validate an e-mail address that was entered
and submitted from a form? I would like to trap invalid syntax.
Perhaps there exists a script that does just that?
I assume valid syntax is the following:
One or more characters before the @ sign, followed by an optional '
Hi Don,
Saw this on the PHP list archive:
> -Original Message-
> From: Don [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 16, 2001 10:51 AM
> To: php list
> Subject: [PHP] validating an e-mail address entry
>
>
> Does anyone know of a way to validate an e-mail address that
> was
Below is my script and the output I got, I want DATE and EQUIPMENT TO BE
BOLD:
$message = "The following Webpage is added or updated:\n\nDate:
$date\nEquipment: $equipment\nTopic: $topic\nURL: $url";
mail( $to, $subject, $message, $mail_header ) or print "Could not send
mail";
print ("
Sorry about that last E-mail! Here is what I meant:
if (preg_match ("/(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/", $emailaddress) ||
preg_match
("/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/",$emailaddr
ess))
{
print "That is a valid e-mail.\n";
}
else
{
print "Not a va
> >
> > The IDE is pretty nice. Startup (Windows version through
> Samba) takes a
> > long time and there are still some crashing issues.
Have you reported these if the happen consistenly Im sure the Zend folk
would love to hear about them so that they can fix them..
> > It's nowhere near a
How about:
li.bold {font-weight: bold;}
The following Webpage is added or updated:
DATE:
Equipment:
Topic:
URL:
or
The following Webpage is added or updated:
DATE:
Equipment:
Topic:
URL:
> -Original Message-
> From: Nguyen, David M [mailto:[EMAIL PROTECTED]]
> Sent: F
All my output scripts use stylesheets, that way they can be easily
customized.
- John Vanderbeck
- Admin, GameDesign
- Original Message -
From: "Brian V Bonini" <[EMAIL PROTECTED]>
To: "Nguyen, David M" <[EMAIL PROTECTED]>
Cc: "PHP Lists" <[EMAIL PROTECTED]>
Sent: Friday, February 16, 20
the problem is obvious: you are trying to send HTML in a plain text email.
see :
http://www.php.net/manual/en/function.mail.php
i would actually recommend that you DO NOT send HTML email and leave it in
plain text.
DanO
-Original Message-
From: Nguyen, David M [mailto:[EMAIL PROTEC
a tip:
you'll have to apply the style to both and to make it work in
microscape.
DanO
-Original Message-
From: Brian V Bonini [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 8:23 AM
To: Nguyen, David M
Cc: PHP Lists
Subject: RE: [PHP] How to make text BOLD
How about:
l
Or ,as has been mentioned before, use the Manuel Lemos email validation
class which will attempt to verify that the address can recieve mail.
- Original Message -
From: "Don" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 9:50 AM
Subject: [PHP] valid
Speaking of stylesheets, has anyone had problems with Netscape 4.x,
stylesheets, and javascript breaking HTML tags every 4K characters? It
seems like Netscape 4.x puts a newline character after 4K characters when
using stylesheets and javascript. Has anyone else seen this behavior? An
example o
On Friday 16 February 2001 12:33, Ben Peter wrote:
> It should be %f instead of %d. However:
>
> ' $foo) ?>' | php -q
> 2286484951194899000
> Segmentation fault (core dumped)
Well, I *can* understand that printf () isn't prepared to han
>From Allaire's (Homesite) web page:
"When InternetWorld surveyed 136 professional design firms (iXL, USWeb,
Modem Media, TVisions, Organic Online, etc.) in October 1999, HomeSite was
the most popular HTML tool:
Allaire HomeSite - 52.9%
Bare Bones BBEdit (Mac) - 42.6%
Microsoft FrontPage - 22.8
I think BBEdit can get that percentage because so many people doing web
development use Macs. Even though the overall marketshare for Macs is
small, there is a high concentration in the web/graphics development areas.
Still, those numbers Allaire shows seem a bit out of whack to me too :)
Josh H
Hello,
I have a huge folder for php files that I want to send from one server to
another. Is there a way to ftp *.php using ftp instead of having to send
each individual file? Does anyone have a ftp script that does this?
Thank you,
Brandon Orther
I have Allaire and use it for web development, but i'm not happy with it. I
like the APP itself, but its such a resource hog, crashes all the time, and
causes other problems.
- John Vanderbeck
- Admin, GameDesign
- Original Message -
From: "Hoover, Josh" <[EMAIL PROTECTED]>
To: "'Julian
This is a free service for the PHP Community.
Job seekers can search the latest PHP related positions.
Companies can post their Jobs with EASE for FREE!
http://www.phpcareer.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
I'm fiddling around with the fopen function, using it on urls. I now need to know how
to run a JavaScript on another page by using PHP. I know I'll be able to do it from
the url if only there's a way to run JavaScript from the url (just by using an fopen).
Is there a way to run a JavaScript fun
Homesite's never crashed once on my box, and I've been using it as my main
web development environment for two years. While you're right about it
taking up a lot of resources, I can run all my apps at once with no problem.
Generally, I have at least eight apps up at once when I'm developing -
Out
Are you using 4.5.2? It runs much smoother
then 4.5.1a.
Haven't had a single crash since upgrading,
even with Photoshop, Illustrator, & HS all
runnning at the same time.
The FTP integration works much better too,
no hang time while opening remote files.
-Brian
> -Original Message-
> From
Ummm,
Turn off interactive prompting, make sure you in ASCII
mode then,
ftp>mput *.php
-Brian
**
> -Original Message-
> From: Brandon Orther [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 16, 2001 11:58 AM
> To: PHP User Group
> Subject: [PHP] Sending multiple files through
Can Anybody help with this code it is currently only listing the very last
entry record in my db however i want it to list however many the query finds
can anybody see what I am doing wrong.
thanks
Matt.
Business Search
";
} else {
$m
joostersFri Feb 16 08:01:35 2001 EDT
Modified files:
/php4/sapi/isapiphp4isapi.c
Log:
Fixed non-threadsafe code: 'isapi_special_server_variables' was a static
buffer, and not allocated per-connection. Bad bad bad!
Index: php4/sapi/isapi/php4isa
you're looping through the all database records, assigning the values to
variables, but then you never output the variables until after you exit
your while() loop. This is incorrect. Time to read up on database
handling in PHP...
// psuedo-code
$queryResults = mysql_query( $query, $db );
wh
Hello All,
Would anyone give me any advice to customize the phorum which provided in
the www.phorum.org?
Thanks a lot!
Fang
--
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 ad
I'm totally stuck on this code. I get the error
"Couldn't execute query." so I know where it's
failing but can't figure out what's wrong. I have
a database with 'title' as one of the fields. Based
on code in PHP Fast and Easy.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To uns
Woops :)
At 18:01 16/2/2001, Ben Mansell wrote:
>joostersFri Feb 16 08:01:35 2001 EDT
>
> Modified files:
> /php4/sapi/isapiphp4isapi.c
> Log:
> Fixed non-threadsafe code: 'isapi_special_server_variables' was a static
> buffer, and not allocated per-connection. Bad
Shouldn't that be
$result = mysql_query($sql,$db)
or die("Couldn't execute query.");
So you're querying the database, and not the connection?
HTH
Jon
-Original Message-
From: Jeff Oien [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2001 17:27
To: PHP
Subject: [PHP] MySQL COUN
Warning: Unable to jump to row 1 on MySQL result index 5 in
admrelatoriowap.php3 on line 23
Warning: Unable to jump to row 1 on MySQL result index 5 in
admrelatoriowap.php3 on line 24
Warning: Unable to jump to row 2 on MySQL result index 6 in
admrelatoriowap.php3 on line 23
Warning: Unable to
Nope, with php the second argument of mysql_query is indeed the connection
identifier.
What happens when you run the query via the mysql client?
-jm
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 9:32 AM
To: '[EMAIL PROTECTED]'; '[EMAIL P
That's not it. Get:
Warning: Supplied argument is not a valid MySQL-Link resource in
count.php3 on line 14
Jeff Oien
> Shouldn't that be
>
> $result = mysql_query($sql,$db)
> or die("Couldn't execute query.");
>
> So you're querying the database, and not the connection?
>
>
> HTH
> J
How can I use this function to load files from subfolders?
when i try this on apache (Linux+PHP3)
require('cls/mysql.cl.php3');
from log I can read then:
[error] PHP3 Fatal error: Failed opening required 'cls/mysql.cl.php3' in
'index.php3' on line 6
I already tried full-path, but nothing! Only
Are you using 3.23.33? If so try removing the space between the COUNT and
the open paren. It looks like there may be a bug in the latest release
(seeing this problem on the mysql list for MAX, probably exists for COUNT as
well).
-jm
-Original Message-
From: Jeff Oien [mailto:[EMAIL PRO
I do lots and lots of count()'s in PHP and have never had any problems...
of course, I do it a bit differently than you did..
// I always have these in a top level include
$UserName = "noneYa";
$Password = "yeahRight";
$myDatabase = "uhhuh";
$dbConn = mysql_connect( "localhost", $UserName, $Pas
>On Friday 16 February 2001 07:17, Ted Goranson wrote:
>
> > >If it's not possible to use PCREs, the above links (particularly the
> > > first) whould contain details for just about anything you may need to
> > > do with POSIX REs.
> >
> > Christopher--
> >
> > Thanks so much for the URLs b
I have been having some problems getting exec to run a 'find /var/spool/mail/
-mindepth 3 -type d' command. She just wont execute it and give me a result,
however she will run 'ls'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
Yes! That was it. Thank you very much.
Jeff Oien
> Are you using 3.23.33? If so try removing the space between the COUNT and
> the open paren. It looks like there may be a bug in the latest release
> (seeing this problem on the mysql list for MAX, probably exists for COUNT as
> well).
>
> -jm
I have a web page that displays an image. I would like to randomize
which image it displays when the page loads. Every possible image will
be the same dimensions and file format. Each image will be named a
consecutive number begining with 1.
The code I am using is:
$number = rand(1, 10);
$fi
You should use fieldnames in your selects... I'd imagine count(*) would be
slower just as select * is slower.
-jm
-Original Message-
From: Joe Sheble (Wizaerd) [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 9:46 AM
To: PHP
Subject: RE: [PHP] MySQL COUNT Won't Work
I do lots
What do you want to do to it?
> -Original Message-
> From: Fang Li [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 16, 2001 12:26 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Does anyone have experience to customize the phorum
>
>
> Hello All,
>
> Would anyone give me any advice to
I sent this off a couple days ago, but did not see it on the list ...
please excuse the traffic if you are seeing this for a second time.
I am writing some code (PHP3/4 on Apache) that encrypts some text using
PGP and writes it to a log_file. I am having problems getting the line
breaks to remai
chagenbuFri Feb 16 09:14:40 2001 EDT
Modified files:
/php4/pear DB.php
/php4/pear/DB ibase.php msql.php mssql.php mysql.php oci8.php
odbc.php pgsql.php sybase.php
Log:
All DB modules should return NULL from fetchRow() n
Hello,
Can you give me the full path to where the php script is and the full path
to where the script is you want require('');
I use this all the time and should be able to figure it out.
Thank you,
Brandon Orther
WebIntellects Design/Development Ma
Try this bit of code and see if it works. (I don't know if there's a less
taxing (on the server) way to get a count of files in a directory or not.)
$myDirectory = dir("yourdirectory");
while($entry=$myDirectory->read())
{
$filecount++;
}
$myDirectory->close();
$number = rand(1, $filecount
Hi!
I need some help with this one. See When I upload a
file to a server to my directory..I connect to the
server using Wsftp_pro.
Now I want to find out exactly what is the path to my
directory on the server...
Actually I will be uploading files to the server using
php from the web browser...
-Original Message-
From: Zeev Suraski <[EMAIL PROTECTED]>
To: Ben Mansell <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, February 16, 2001 4:49 PM
Subject: Re: [PHP-CVS] cvs: php4 /sapi/isapi php4isapi.c
>Woops :)
>
>At 18:01 16/2/2001, Ben Mansell wrote:
>>j
That's probably not what you were having trouble with, because this entire
piece of code didn't really exist until recently...
Zeev
At 19:14 16/2/2001, Phil Driscoll wrote:
>-Original Message-
>From: Zeev Suraski <[EMAIL PROTECTED]>
>To: Ben Mansell <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTE
>
> Is there a php function to find out the path to my
> directory..or is there any other way..?
Have a look here
http://www.php.net/manual/en/language.variables.predefined.php
$PATH_TRANSLATED
I think gives you the full path to your script. If not one of these will
M@
--
PHP General Maili
I just build a new redhat 6.2 server (intel) to install php4 and apache on
I'm trying to compile php as an dso module.
Apache compiled and installed just great. WHen I try to build php4 woth the
following
./configure --with-apxs=/www/bin/apxs --with-imap --with-gd
--with-jpeg=/usr/lib --with-
This has been an ongoing problem, when I include a file which contains a
call to a function I get undefined function errors but when I try to include
the file containing the function I get cannot redeclare function error
messages, I can't win how do I make sure my functions are available to any
sc
>That's probably not what you were having trouble with, because this entire
>piece of code didn't really exist until recently...
Drat :)
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP CVS Mailing List (http://www.php.net/)
To u
>
> This has been an ongoing problem, when I include a file which contains a
> call to a function I get undefined function errors but when I try
> to include
> the file containing the function I get cannot redeclare function error
> messages, I can't win how do I make sure my functions are availa
I just spent about 5 hours trying everything i could think of to get
sessions to workends up it was a simple problem that I should have
realized before i even started.
So, learn my oversight, save yourself 5 hours of going nuts.
I have several scripts that all pass vars between themselvesO
One thing to take a look at is ApacheToolBox, a simple text based script
that installs apache/mysql/php mod_perl and others (individually
selectable).
http://www.apachetoolbox.com/
On 16 Feb 2001 13:57:09 -0500, David OBrien wrote:
> I just build a new redhat 6.2 server (intel) to install php4
main script:
/home/www/public_html/YL/index.php3 (rw-rw-rw-) root
and second script:
/home/www/public_html/YL/cls/mysql.cl.php3 (rw-rw-rw-) root
First page intranet web-address is http://MyServer/www/YL/index.php3
Thnx
|| -Original Message-
|| From: Brandon Orther [mailto:[EMA
1 - 100 of 212 matches
Mail list logo