Hello,
Did someone as experiences of crash when use ImageTTFText ?
I have a Linux Mandrake 7.2 with Php 4.0.4
Thanks
--
Gabriele Fain
Fineware snc - Vendita computer, produzione software e Hardware
EMail: mailto:[EMAIL PROTECTED] http://www.fineware.it
Via Matteotti, 66 - 34071 Cormons (GO).
T
Good day all!
Please help me with charset. I have some strange trouble.
I use FreeBSD 4.2 STABLE and MySQL 3.23.28-gamma (compiled from FreeBSD
ports) and PHP 4.04.
Latin1 is a default charset in MySQL. So, I wanted to add cp1251 or koi8_ru.
Ok, I add --default-character-set=cp1251 to my mysql st
At 23:24 16/01/01 -0800, Erick Papadakis wrote:
>hi,
>
>in php, how can i generate a random no. but between
>two numbers? for example, i need to generate any
>integer, randomly, between 1 and 1000.
Check out the manual entry for mt_rand.
(http://www.php.net/manual/en/function.mt-rand.php) e.g. y
Hello,
I just finished upgrading my Red Hat 5.2 box from PHP3 to PHP4
with MySQL support and I also upgraded GD from 1.3 to 1.8.3
so that now I have according to support
for both of them but I have the following problem. I pasted
the PNG code from the manual and tried to view the corresponding
Hi
I have the following code in Delphi:
procedure TFormConfirmAllocation.CreateTxt;
var TxFile : TextFile;
Buffer : string;
x : integer;
begin
AssignFile(TxFile,'\SkyTrac.sky');
Rewrite(TxFile);
with FormConfirmAllocation.Query1 do begin
open;
while not Eof do b
Hello everybody,
I have two websites that use Apache-1.3.12 + PHP-4.0.2 + Oracle8i on
Linux RedHat servers.
One of them doesn't use the session_start() function. If I do a telnet
on port 80 and type in "HEAD / HTTP/1.0" I get the following :
HTTP/1.1 200 OK
Date: Wed, 17 Jan 2001 08:50:34 GMT
>"Murph" <[EMAIL PROTECTED]> wrote in message
>003201c08027$e886c480$[EMAIL PROTECTED]">news:003201c08027$e886c480$[EMAIL PROTECTED]...
>
>-- snip --
>
>Anyone out there using an HTML editor that they'd like to recommend?
>Why? Are there any FAQs I should be reading for this answer?
>
>Yours,
>Mur
Dear all,
I am using PHP 4.0.3-pl1 on a Red Hat 6.2 platform
with the --enable-trans-sid option activated.
URLs are rewritten fine (they contain the PHPSESSID
value whenever necessary), however images are also
re-written!, i.e. get changed
to .
Could someone tell me whether this behaviour is
cor
"Pavel Kalian" <[EMAIL PROTECTED]> wrote in message
008b01c07fd8$0ce0daa0$8361d4c2@pavelk">news:008b01c07fd8$0ce0daa0$8361d4c2@pavelk...
> are you sure that there's nothing in the file in before you call the
> header() function? The situation you describe could happen if there was an
> empty line
-Original Message-
From: Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
To: Miguel Loureiro <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, January 16, 2001 7:36 PM
Subject: Re: [PHP] Images ???
>On Tue, 16 Jan 2001, Miguel Loureiro wrote:
>
>> Hello,
>> I want
Chris Adams <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On 16 Jan 2001 05:05:18 -0800, Rick Hodger <[EMAIL PROTECTED]> wrote:
> >Here's a fun little thing I discovered, possibly a bug in PHP itself?
> >
> >To output a WAP page you must output a content-type
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Richard S. Crawford") wrote:
> The problem is that the main page doesn't use an include file of any sort;
> it's straight HTML which is frequently updated by hand. I agree that it
> would be nice if /index.htm had an include file that containe
>Whenever I try to connect with ANY Mysql code on my cpu, I get an error
saying it can't connect.
>I installed usingthe 4.04 win32 installer(heresey I know) which has mysql
built in. Do I have to edit
>anything to all me to try the scripts on my personal cpu?
Chris
Reading between the lines, I s
Hi,
Speaking of dbtools, I don't know what is so awesome about it. It doesn't
properly support mySQL's ENUM type, and if you happen to have an error in
your table creation, it just errors out and you have to start all over
again.
"Maxim Maletsky" <[EMAIL PROTECTED]> a écrit dans le message new
At 9:08 AM -0800 1/16/01, Chris Adams wrote:
>On 16 Jan 2001 05:05:18 -0800, Rick Hodger <[EMAIL PROTECTED]> wrote:
>
>[0] neat hack - use ob_content_length() to tell when you've output almost as
>much data as the phone can handle (find this by doing a browser detect) so you
>can stop looping ove
Forcing renaming of download file (want output from a php file being saved
as some particular file by browser)
Hello
I have a php file abc.php which outputs some data (which it collects from a
database somhow). Now I want to force a download/open dialogue box and to
give a name to the file in whi
Hi,
is it possible to review the archive of this mailing list. And if possible then where?
Thanks,
Taras
Mit freundlichen Grüßen
Taras Vasylkevych
team in medias GmbH
Aachen, Berlin, Köln
0241-4090909
http://www.frohe-weihnachten.de
***
Unsere aktuellen Projekte
mit
Have a look at http://www.php.net/mail - you need to do something like
$sendto = "[EMAIL PROTECTED]";
$subject = "Oh how I love PHP";
$message = "I really really do.\n\nI mean I REALLY do.\n\nDo be do be
do.\n";
mail ($sendto, $subject, $message);
HTH
Jon
-Original Message-
From: Todd
here:
http://marc.theaimsgroup.com/?l=php-general&r=1&w=2
have fun!
Maxim Maletsky
-Original Message-
From: Taras Vasylkevych [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 7:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mail list archive
Hi,
is it possible to review the a
Howdy,
I need to divide several attributes of a tag.
how can I do this without too many time lost?
Is it possible to do this with a regular expression?
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
Dear Expert,
I have to store user detail and password in the cookies so that i can detect
if particular user is allowed to enter certain website
Example is like this:
User "A" is allowed to enter student page
User "B" is allowed to enter lecturer page
Both have to enter password with login at
Sorry all,
I can see... I mean, the images appears, now, is it possible when uploading images, do
a copy to a small file, ie I will have 2 files for each image, but with different
sizes, where the small one is a small size of the original image...confused. This is
because I'm trying another app
as with most other things ... homesite is king.for a variety of reasons.
it's customisable.i've added a whole load of custom buttons for php.u can
choose your own colour coding.find/replace ,snippets.
my favourite is it allows u to do server mappings so u can browse and edit
pages with one program
Greetings all.
I've got a quick question, and please forgive me if this is off topic,
but...
I've got several applications that I'm trying to do some general
tweaking on, and I've got a question, as well as a general purpose
coding style for php.
Is it faster to remain within _parsing mode_ whi
Hi,
I have a little question..
I developed a PHP application and a I want to distribute it without
distributing my source code in plain text (for commercial reasons).
Can I encode (compile???) my files, letting PHP to execute them anyway ?
Thanks
Enrico Olivelli
Diennea Telematica
http://www.
Hi!
a general php-question!
do I have to care about the web-browser reloading a php-page automatically
and not taking a cached one!
For example submit.php (the conent changes every second!):
CLICK
what do I have to do, to guarentee that the client has got the actual
page?
- or does the brows
> what do I have to do, to guarentee that the client has got the actual
> page?
> - or does the browser know - ordering a .php page means
> "really fetch it,
> and don't take the cached one!
> but what about proxy-server out there???
Try using headers that expire your page if you're really worr
On Wed, 17 Jan 2001, Olivier Guieu wrote:
>URLs are rewritten fine (they contain the PHPSESSID
>value whenever necessary), however images are also
>re-written!, i.e. get changed
>to .
>Could someone tell me whether this behaviour is
>correct and if not, if it has been corrected in 4.0.4
Please
Have you tried rand(1,100) ?
Frederico Augusto Costa
[EMAIL PROTECTED]
On Tue, 16 Jan 2001, Erick Papadakis wrote:
> hi,
>
> in php, how can i generate a random no. but between
> two numbers? for example, i need to generate any
> integer, random
"Michael A. Peters" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I can confirm this. The currently available Zend Optimizer only works with
4.0.3/4.0.3pl1
The bit that got me, was that you have to make sure you are *not* running a
debug enabled version of PH
Hi, Does anyone know why I would get this error??
sockets.c: In function `php_minit_sockets':
sockets.c:189: `MSG_WAITALL' undeclared (first use in this function)
sockets.c:189: (Each undeclared identifier is reported only once
sockets.c:189: for each function it appears in.)
make[1]: *** [
Check out the Zend site: www.zend.com
They have a product that does exactly what you want (called zend encoder)
Hope that helps
Cheers
Pankaj
--
---
Pankaj Gupta
Senior Undergradua
ROFLMAO =D
- Kath
- Original Message -
From: "Chris Aitken" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 8:11 PM
Subject: Re: [PHP] I love/hate FrontPage - need another HTML editor.
> At 09:06 PM 16/01/2001, Kath wrote:
> >Hey,
> >
> >To get Frontpage to
I like phpMyAdmin
- Kath
- Original Message -
From: "Gerry Chu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 12:44 AM
Subject: [PHP] Anything similar to phpmyedit?
> I'm looking for something exactly like phpmyedit (mysql database
> displayer/editor) b
Addressed to: "Miguel Loureiro" <[EMAIL PROTECTED]>
[EMAIL PROTECTED] <[EMAIL PROTECTED]>
** Reply to note from "Miguel Loureiro" <[EMAIL PROTECTED]> Wed, 17 Jan 2001
09:39:08 -
Agree, but my real problem is to show the images in a small size, is
> ImageCopyResized the soluti
sniper Wed Jan 17 03:43:18 2001 EDT
Modified files:
/php4/ext/sablotsablot.c
Log:
Make sablot compile again. Typo?
Index: php4/ext/sablot/sablot.c
diff -u php4/ext/sablot/sablot.c:1.29 php4/ext/sablot/sablot.c:1.30
--- php4/ext/sablot/sablot.c:1.29 T
hi..
can anyone tell me how i get apache to never send out the contents of my include files
(*.inc) to users?
i dont want my source sode to be visible to browsers.
thanks,
jamie.
sas Wed Jan 17 04:32:46 2001 EDT
Modified files:
/php4 configure.in
Log:
Fix vpath builds on freebsd
Index: php4/configure.in
diff -u php4/configure.in:1.212 php4/configure.in:1.213
--- php4/configure.in:1.212 Tue Jan 16 17:15:11 2001
+++ php4/
On Wed, 17 Jan 2001, Pankaj Gupta wrote:
> Forcing a download is easy, but how can I tell the browser to name that file
> to something particular, say data1.txt
> Is there a header for that?
There sure is:
header("Content-disposition: filename=data1.txt");
BTW, I've been using that for a while
> But, you know, the look and feel of a site is pretty important and an HTML
> editor goes a long way toward managing that part. If you can find an
editor
> that helps you set up some style sheets that carry across all your pages
> without you having to type in all the code for every page, you're
Combine these options:
http://httpd.apache.org/docs/mod/mod_access.html#allow
http://httpd.apache.org/docs/mod/core.html#files
to exclude access to anything matching *.inc.
The safest/easiest thing is to move the files outside of the document path
and add that directory to your php include path
I take it you're talking about normal html .inc files, and not the PHP
include() function? If so, this is well off-list, try the
comp.infosystems.www.servers heirarchy for this sort of thing.
But...
You can't, AFAIK. The whole *point* of an include file is that the entire
contents of that file a
don't name them .inc files.
Name them blahblah.inc.php or something that will be parsed, and
therefore not just gurped up by the server.
blest,
jeremy
--
Jeremy Kelley <[EMAIL PROTECTED]> pgp keyid 0xAECBA355
Phil 1:21 www.ganooz.com
Car pour moi,
why don't you rename your include files to
*.inc.php
so they are parsed by php and no valuable information would be given out.
also you could use folowing lines in a .htaccess
# .inc-files not readable:
Order allow,deny
Deny from all
sebastian
> -Ursprüngliche Nachricht-
Hi,
I started PHP in 1999, and wrote just one Web Site based on it. I started to
have a good feel for it and found it easy to implement, as well as it being
powerful. Shortly after that though, I was given the opportunity to learn
Cold Fusion, and haven't looked back since today.
I've got a poss
Yes,
Making .inc parsable is a _potential_ solution. The problem is that why
should we as app programmers expect sysadmins to modify their default
apache installation to get around a problem that we can fix?
My vote is still just for include files to have a standard (already
accepted) extension
Hello, I'am a french CF developper and I've just started to dev in PHP.
You're right! Cold fusion is much easier than PHP but I think it's just a
question of "experience".
It's true, cold fusion is easier but it's due (partialy) to Cold fusion
studio. The Allaire Editor simplifies the work of the
On Wednesday 17 January 2001 11:37, jeremy wrote:
> Example ONE: (in just parse mode)
> [cut]---
> print "blah blah blah blah blah blah blah";
> print "" . $Var1 . "" . $Var2 . "";
> ?>
> [/cut]--
>
> Example TWO: (in html && parse mode)
> [cut]--
Order allow,deny
Deny from all
in either your httpd.conf or a .htaccess file will deny users access to your
*.inc files
M@
> -Original Message-
> From: Jon Haworth [mailto:[EMAIL PROTECTED]]
> Sent: 17 January 2001 13:01
> To: 'Jamie Burns'
> Cc: '[EMAIL PROTECTED]'
> Subject:
Hi all,
Hope you can help. I have an class called xml and a class method called
hi_handler. I am able to call this method statically as follows:
xml::hi_handler($attrs);
but when I try to call it like this, it fails miserably:
$junk="xml::hi_handler";
$junk();
Fatal error: Call to undefined
Hello jeremy,
j> don't name them .inc files.
j> Name them blahblah.inc.php or something that will be parsed, and
j> therefore not just gurped up by the server.
I think, more secure is move inc file out www tree.
/home/user/public_html/index.php
/home/user/include/lib.inc
index.php
Best re
venaas Wed Jan 17 05:43:40 2001 EDT
Modified files:
/php4/ext/ldap ldap.c
Log:
Making parallel search allow different filter for each link
Index: php4/ext/ldap/ldap.c
diff -u php4/ext/ldap/ldap.c:1.80 php4/ext/ldap/ldap.c:1.81
--- php4/ext/ldap/ldap.c:
sterlingWed Jan 17 06:14:22 2001 EDT
Modified files:
/php4/ext/sablotsablot.c
Log:
Fix (well it works) the error display with sablotron.
Index: php4/ext/sablot/sablot.c
diff -u php4/ext/sablot/sablot.c:1.30 php4/ext/sablot/sablot.c:1.31
--- ph
Emma may not have received quite as much publicity as Elian Gonzalez did, b=
ut=20
her story is similar. International Child Abduction: US and Canadian privat=
e=20
social services abducts Emma and protects its secrecy...the first of its ki=
nd=20
in history! Why do they want to keep Emma's name s
Oh, something lightweight. I'm using phpmyadmin too for database admin,
but I need something for inexpericed users to edit specific parts of the
database.
Thanks
Gerry
On 17 Jan 2001 10:55:50 +0100, Alain Fontaine wrote:
> Hi,
>
> Speaking of dbtools, I don't know what is so awesome about it.
Why not:
order deny,allow
deny from all
Andrew Sitnikov wrote:
>
> Hello jeremy,
>
> j> don't name them .inc files.
>
>
> j> Name them blahblah.inc.php or something that will be parsed, and
> j> therefore not just gurped up by the server.
>
> I think, more secure is mov
On Wed, 17 Jan 2001, Roman Serbski wrote:
> Good day all!
>
> Please help me with charset. I have some strange trouble.
> I use FreeBSD 4.2 STABLE and MySQL 3.23.28-gamma (compiled from FreeBSD
> ports) and PHP 4.04.
> Latin1 is a default charset in MySQL. So, I wanted to add cp1251 or koi8_ru.
>
Here is my environment:
System Linux [EMAIL PROTECTED] 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999
i586 unknown
Build Date Sep 7 2000
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '
--with-config-file-path=/usr/local/apache/conf' '--enable-versioning' '
--with-mysql' '--en
> Hello, I'am a french CF developper and I've just started to dev in PHP.
> You're right! Cold fusion is much easier than PHP but I think it's just a
> question of "experience".
That's one reason yeah. But aside from all the advanages of PHP, it seems a
task that would take one step in Cold Fus
Emma may not have received quite as much publicity as Elian Gonzalez did, b=
ut=20
her story is similar. International Child Abduction: US and Canadian privat=
e=20
social services abducts Emma and protects its secrecy...the first of its ki=
nd=20
in history! Why do they want to keep Emma's name s
If you're looking to strip off just the file extension, you can use
pathinfo() to get that. I don't think it is a documented function, so
use var_dump(pathinfo($var)) to see what it outputs.
Tait Grove wrote:
>
> How can I strip everything past a certain character in a string?
>
> i.e.:
>
> $f
> j> Name them blahblah.inc.php or something that will be parsed, and
> j> therefore not just gurped up by the server.
>
> I think, more secure is move inc file out www tree.
>
I agree with this completely. The only thing about that is that some
admins want a quick and dirty install. And, so it
I am looking for a good start to get php working with the FDF toolkit. I am
running php on SuSE for the PowerPC.
Any help at all will greatly be appreciated.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
php-general Digest 17 Jan 2001 15:29:07 - Issue 460
Topics (messages 34974 through 35049):
Re: XML, what is that supposed to do?
34974 by: Brian White
34979 by: Matt McClanahan
Re: regexps
34975 by: Toby Butzon
Re: Zend Optimizer
34976 by: Michael A. Peters
To everyone that wrote in answering this question, thanks. The answers were
very interesting and well writen, I didn't post the origonal question but I
am glad he did, Ive learned alot about something I allways wondered about :)
On a side note, anyone ever see any good tutorials for XML - php ?
This might not be quite what your looking for, but I often have then need
for a unique number in an incrementing order. random isnt quite the word for
it, unique is :)
function mtime()
{
$mtime = microtime();
$mtime = str_replace("\.", '', $mtime);
$mtime = explode(' ', $mtime);
$mt
Hello,
I'm an ASP guy gone PHP. So, be patient with me as I struggle my way with
PHP. I have a some experience with writing C like syntax, as with
JavaScript and TCL. I hope to pick up PHP quickly.
2 Questions:
How to declare function and sub routines.
How to call functions and sub routines.
You can take a look here:
http://www.php.net/manual/en/html/functions.html
It's the documentation of PHP.
regards,
Augusto Cesar Castoldi
On Wed, 17 Jan 2001, Karl J. Stubsjoen wrote:
> Hello,
>
> I'm an ASP guy gone PHP. So, be patient with me as I struggle my way with
> PHP. I have a so
I use ultraedit 8.0 this editor rocks :)
on a side note as someone else posted, 'everyone to their own' it dont
matter what editor you love as long as the work gets done.
Chris Lee
Mediawaveonline.com
""Murph"" <[EMAIL PROTECTED]> wrote in message
003201c08027$e886c480$[EMAIL PROTECTED]">news:
I think this'll be an easy one for you fellas...
I'm writing a search function for my site. The code to search the mysql db's
are in place and working but here's the problem. For any matches that are
displayed, I want to change the search query so it stands out in the result
list. I'm just using..
> Example ONE: (in just parse mode)
> [cut]---
> print "blah blah blah blah blah blah blah";
> print "" . $Var1 . "" . $Var2 . "";
> ?>
> [/cut]--
Ran a pretty rough benchmark: 10040 lines of code (5020 repetitions of the
above example) 10 times with an a
Steve,
Try the ereg_replace()somthing like this:
eregi_replace($search_query, "$search_query", $row[6]);
Robert W. Collins
Web Developer II
Insight / TC Computers
www.insight.com
www.tccomputers.com
-Original Message-
From: jalist [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 1
(/me smacks head) thanks, completely forgot about that.
Steve
-Original Message-
From: Robert Collins [mailto:[EMAIL PROTECTED]]
Sent: 17 January 2001 15:57
To: 'jalist'; [EMAIL PROTECTED]
Subject: RE: [PHP] Matching irregular cases
Steve,
Try the ereg_replace()somthing like this:
er
In article <008301c0803a$ff59af20$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Murph") wrote:
> But, you know, the look and feel of a site is pretty important and an
> HTML editor goes a long way toward managing that part. If you can
> find an editor that helps you set up some style sheets that carr
> displayed, I want to change the search query so it stands out in the
result
> list. I'm just using...
> ereg_replace($search_query, "$search_query", $row[6]);
> ...at the moment, but it wont match results where the case doesn't match.
Try eregi_replace...
php.net/eregi_replace
--Toby
--
PH
php-i18n Digest 17 Jan 2001 14:46:53 - Issue 45
Topics (messages 101 through 101):
Press R: Letting you know about Emma
101 by: Justice For Emma
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PRO
Hi,
is it possible to change the session timeout from within a script. I can't
change it in the *.ini-file because I have not the sufficient access rights.
Jens
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Okay,
There aren't Sub Routines, just Functions? I've been to the manual
recommended by Augusto *thank you*, that is helping!
I created a function called Foo with a single argument (and I set it up as
optional, that is way cool, I can't do that in ASP) ... and my question is:
I can call foo like
Hello,
Is there anybody in this conference who can tell me whether exec() will work
under WinNT in future PHP releases?
I am bound to use Windows. Currently I am working this around so that I have a
daemon under NT. Daemon watches out for commands, written by PHP into a file,
and does the exec()
> echo foo(dog);// outputs "This is a dog"
This is an example of using a "bareword" - PHP doesn't recognize _dog_ as
any sort of reserved word or constant, so it sends it like a quoted string.
I don't recommend using this because it's ambiguous whether you mean "dog"
or if _dog_ is a cons
Have any of you tried using EditPlus? (www.editplus.com) This is a great
little editor for HTML, JavaScript, and PHP. You can download extra modules
for color syntax hilighting of practically any language you can think of
including many different databases. It has some nice useful HTML feature
Homesite from Allaire - although $99US is what I have been using for years.
I really like it for editing PHP, HTML, and JavaScript.
Dan
""Murph"" <[EMAIL PROTECTED]> wrote in message
003201c08027$e886c480$[EMAIL PROTECTED]">news:003201c08027$e886c480$[EMAIL PROTECTED]...
Hi.
FrontPage sucks fo
set_time_limit($seconds)
--Toby
- Original Message -
From: "Jens Rehpöhler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 9:02 AM
Subject: [PHP] Change the session timeout within a php-script
> Hi,
>
> is it possible to change the session timeout from wi
It is NOT ported to Linux is it?
I couldn't find any information on the website indicating weather it was
compiled for *NIX or not.
- Scott
> Have any of you tried using EditPlus? (www.editplus.com) This is a great
> little editor for HTML, JavaScript, and PHP. You can download
> extr
Is there such thing as program that will convert ASP code to PHP code? I
have built some nice libraries with ASP and am interested in converting
those over to PHP, rather than rewriting them!
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Nope. EditPlus is Windows-only.
--Toby
- Original Message -
From: "Scott Gerhardt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Php-General-Digest"
<[EMAIL PROTECTED]>; "Chris Aitken" <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 11:54 AM
Subject: RE: [PHP] I love/hate FrontPage
Scott Gerhardt wrote:
> It is NOT ported to Linux is it?
> I couldn't find any information on the website indicating weather it was
> compiled for *NIX or not.
Use emacs. Or vi. Or quanta. Or something else.
Wagner
--
One maniac alone can do what 20 together cannot
--
PHP General Mailing Lis
Sadly, no. As far as I know, it is a completely windows product. I am
currently developing on a Windows box using Samba to access the files on my
UNIX box from windows. Its not necessarily the best way of doing things and
it requires two computers, but it seems to get the job done, and since I
I'm a PHP newbie and am looking into using the include statement to
put things like the header and footer in so they are always the same.
I do this now with SSI. In SSI I'll use the following statement:
I like this cause it lets me use the same statement all over the site
and I don't have to
This is because the PHP include statement is ment to include other blocks of
PHP code, rather than bits of HTML. Hence, it includes things from anywhere
on the system. To include things from under your current htdocs directory,
use...
include($DOCUMENT_ROOT . "/includes/metatags.include");
thoug
This all depends on your include_path set in the PHP config files; see the
manual section on config for more info.
About the security hole... yes it would be dangerous on a system where
accounts are given to untrusted users (ie, customers), but there are ways
to make PHP secure for multi-account
Michael Zornek wrote:
> which is scary cause this worked too:
>
> include("/usr/local/apache/conf/httpd.conf");
> ?>
>
> doesn't this seem like a huge security hole?
No. If you know can trust your scripts, this is possible, but trusted scripts
won't do any abuse, will they?
If you can't trust y
Adam(and everyone else who answers in 5 minutes, god i love this list),
thanks for the help.
Why is readfile more 'correct'?
Just wondering?
Mike
At 5:07 PM + 1/17/01, Adam Wright wrote:
>This is because the PHP include statement is ment to include other blocks of
>PHP code, rather than bi
Hi,
Sorry this is off topic but I just can`t find anywhere with reliable
information to help me get my .htaccess working on my server. I have followed
many tutorials and none of them give me a working password protected dir, so
if anyone can help I would appreciate it.
My .htaccess file is as
There are occasions when I'd like to execute some long-running task
in the background, in response to some user action. It seems that
PHP has all the neccesary mechanisms to allow me to do this, but
in my perusing of the manuals/FAQ's/digests, etc, I don't see such
a facility.
For example, I'
For your things (where you are including HTML), readfile just reads a file
and dumps it to the screen. This is fine, because you are just dealing with
HTML, so no processing is required. include will actually try and parse the
file as if it has PHP inside somewhere, which your HTML (probably) does
sbergmann Wed Jan 17 08:15:18 2001 EDT
Added files:
/php4/pear/HTML IT.php ITX.php
Removed files:
/php4/pear/PHPDoc/redistIT.php ITX.php
Modified files:
/php4/pear/PHPDoc prepend.php
Log:
Move IT[x] t
Hello,
I am getting started with session and really love the sessions to death, but
when I try to end a session I get an error. Can someone give me an example
of code that ends a session.
Thank you,
Brandon Orther
WebIntellects Design/Development Ma
sterlingWed Jan 17 08:34:06 2001 EDT
Added files:
/php4/pear/HTML Processor.php
Log:
@ Add the HTML_Processor class which provides common functions for processing HTML.
@ (Sterling)
Index: php4/pear/HTML/Processor.php
+++ php4/pear/HTML/
> I am getting started with session and really love the sessions to death, but
> when I try to end a session I get an error. Can someone give me an example
> of code that ends a session.
What is the error that you get? What is the code you're now using that
causes the error?
It's like saying t
1 - 100 of 323 matches
Mail list logo