At 11.04.2002 17:14, you wrote:
>Hi there,
>
>I am wondering how to create a file on the server. I do not want to write
>anything to the file. Just create it.
>
>Thanx Andy
exec("touch filename"); // if you´re allowed to do this. c 'rights'
Oliver
--
PHP General Mailing List (http://www.php.ne
I'm under a deadline, and for whatever reason, can't figure out why this snippet of
code isn't working. I'm trying to build a site map function, (parent,child
relationship based on id).
It almost works, but I can't get the indent feature to work correctly. Any thoughts?
here's the code:
$co
Ok, I have tried all 3 examples and even tried a few variations that you
have given me and so far nothing is getting displayed, is there a way to
check for errors? here is the code I am working with:
// second selection for main image on main page
$dir_name = "/path/to/images/directory/";
$dir =
PHP has a touch() function. No need to exec()
On Thu, 11 Apr 2002 [EMAIL PROTECTED] wrote:
> At 11.04.2002 17:14, you wrote:
> >Hi there,
> >
> >I am wondering how to create a file on the server. I do not want to write
> >anything to the file. Just create it.
> >
> >Thanx Andy
>
> exec("touch
On Thursday, April 11, 2002, at 11:49 AM, Matthew Walker wrote:
> I just ran across a very strange problem with IE.
>
> When I use javascript to open a new window (Using window.open()), the
> page that is loaded in the new window does not get any HTTP_REFERER.
> Does anyone know why this is, an
Hi all,
Could someone point me to a tutorial on the proper way to format code. To
make it more readable.
TIA
Jennifer
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002
--
PHP
I'm really happy that I learnt for this function :)
Andrey
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 7:17 PM
Subject: Re: [PHP] how to create a file with php
PHP has a touch() function.
On Thursday, April 11, 2002, at 01:25 PM, Jennifer Downey wrote:
> Hi all,
>
> Could someone point me to a tutorial on the proper way to format code.
> To
> make it more readable.
http://utvikler.start.no/code/php_coding_standard.html
Erik Price
Web Developer Temp
Media Lab, H.H. Br
This is a tough question to ask because I know there will be a fare
share of people who just want to flame Red Hat, but this just might
start a healthy discussion.
What is your opinion of using Red Hat's Apache and PHP binaries instead
of compiling from source? If Red hat is too specific for thi
Ok, I have tried all 3 examples and even tried a few variations that you
have given me and so far nothing is getting displayed, is there a way to
check for errors? here is the code I am working with:
// second selection for main image on main page
$dir_name = "/path/to/images/directory/";
$dir =
modifying the width or height of an image in javascript works well alsoi
cant imagine why youd want to do this serverside
"Christoph Starkmann" <[EMAIL PROTECTED]> wrote in message
B120D7EC8868D411A63D0050040EDA77111BEE@XCHANGE">news:B120D7EC8868D411A63D0050040EDA77111BEE@XCHANGE...
> Hi
Hello,
inside php.ini file there's a special configuration:
; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specific
; buffer size to be used for compression (default is 4KB)
zlib.output_compression = On
this way pages will be parsed
i am using the following to try to pull in php classes from separate files
based on their names using unserialize_callback_func. I cant seem to get it
to work with 4.1.6 on redhat .
I notice that it isnt shown under variables available for ini_set() but it
is shown for unserialize() from which Ive
I have another question about OO in PHP --
The manual (http://www.php.net/manual/en/language.oop.constructor.php)
does an excellent job of explaining how constructors in extended classes
work when there are constructors in base classes. I understand that no
problem. But at the bottom of the
It will only send compressed pages to browsers that support it so that's
not a problem. Pro's are that pages load much faster. especially if
your HTML output is big, images are already compressed so they stay the
same.
cons are minor, since the page is gzipped when loading on a browser it
doesn'
On Friday, April 12, 2002, at 01:50 AM, jas wrote:
> Ok, I have tried all 3 examples and even tried a few variations that you
> have given me and so far nothing is getting displayed, is there a way to
> check for errors? here is the code I am working with:
What happens if you get rid of that
On Thu, Apr 11, 2002 at 01:33:40PM -0400, Erik Price wrote:
>
> http://utvikler.start.no/code/php_coding_standard.html
Uch! Uch! Uch! I don't like their nesting ideas:
if (condition) // Comment
{
}
else // Comment
{
}
This is the stan
In PHP the programmer has to call the constructor of the super class.
The derived class has to know the name of his "super"(java syntax).
In PHP5 the constructor will have unified name, there will not be a need the derived
class to know super class name.
So
base_var = $init;}
}
class Extended ex
Hi. I have a PHP shell script running on Windows that I would like to
display status on where it's at in the code because it takes a long time to
finish. Using flush() doesn't seem to work as all the status messages still
don't output to screen until the script finishes running even though I'm
do
I disagree. The Inline Method may be less compact than the Traditional
Method but it is much easier to read. The following are two identical code
sniplets. One is formated with the Traditional Method and the other with
the Inline Method. You make the decision which one you want to use.
In my
If I do that, won't the data that I fetch be duplicated in memory for each
user? I'm trying to have just one space in memory allocated for these
variables, sort of like the HTTP_SERVER_VARS. It seems that even if I do an
autoprepend that file is going to run each time a user visits the site and
My vote goes to the inline method which I am the only one to
use where I work :( But it is far cleaner even if it is less
compact.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--
Ensure you're building PHP with the --apxs2=/path configure option.
If you don't do that, it will not work in httpd2.0
If you DID do that, what glibc and gcc version is you're build
environment using?
On Thu, 2002-04-11 at 07:27, Markus Meixner wrote:
> Hi,
>
> i installed the new Apache 2.0.3
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
What functions do I need to be looking at if I want to determine from
what country a visitor is from?
Is this problematical, I look at my logs shows that not all visitors
form .dk have that at the end of the refferer string...
Many thanks :-)
On Friday 12 April 2002 02:50, Kevin Stone wrote:
> On the other hand the Inline Method is clean. You can see at a glance
> where each block begins ends. But it is not compact. It spreads the code
> out over many lines. I recommend this method for modern programmers coding
> on large screens.
On Thursday, April 11, 2002, at 02:13 PM, Analysis & Solutions wrote:
> Uch! Uch! Uch! I don't like their nesting ideas:
>if (condition) // Comment
>{
>}
>else // Comment
>{
>}
Neither do I -- that doesn't look too easy to read
On Friday 12 April 2002 02:52, [EMAIL PROTECTED] wrote:
> If I do that, won't the data that I fetch be duplicated in memory for each
> user? I'm trying to have just one space in memory allocated for these
> variables, sort of like the HTTP_SERVER_VARS. It seems that even if I do
> an autoprepend
On Friday 12 April 2002 03:04, Nick Wilson wrote:
> Hi all
> What functions do I need to be looking at if I want to determine from
> what country a visitor is from?
>
> Is this problematical, I look at my logs shows that not all visitors
> form .dk have that at the end of the refferer string...
S
Yeah I know from my code, which often is just bs project, that with nesting lotsa crap
it's a lot easier to follow the Original Method of:
for($i=0;$iOn Friday 12 April 2002 02:50, Kevin Stone wrote:
>
>> On the other hand the Inline Method is clean. You can see at a glance
>> where each block
On Friday 12 April 2002 14:32, jas wrote:
> Here is an example of the files in the directory...
> willies_0411.jpg
> watson_0411.jpg
> willies_logo.jpg
> watson_logo.jpg
> etc..
> When I remove the eregi() it works fine, all the files are displayed,
> however I only want the files ending in _.
On Thursday, April 11, 2002, at 02:17 PM, Andrey Hristov wrote:
> In PHP the programmer has to call the constructor of the super class.
> The derived class has to know the name of his "super"(java syntax).
> In PHP5 the constructor will have unified name, there will not be a
> need the derived
> "Eric" == Eric Starr <[EMAIL PROTECTED]> writes:
Eric> I am a Java programmer learning PHP. In Java you can have a
Eric> class that contains public and private functions. Only the
Eric> public functions are accessible outside of the class. Does
Eric> PHP have a way to hid
Hi. Im using MySQL and as part of my tables I have titles (of stories). My
question os in regards to outputing those titles. Some of the titles begin
with words such as 'The', 'A', 'An', etc. Is there a way to order these
particular titles based on the second word in the title??
~Steph
--
PHP
Checkout the substr() function. You can do something like:
if (substr($var, -9) = '_.jpg')) {
// do something
}
-9 would be the staring position. I am not sure if this is the right
number, so you will have to look at the manual :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourc
Could somebody share with me a simple way to create a unique numeric ID
for a new record in a mySQL db?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone have any *simple* examples of how I can go about taking a text
file and converting it to a PDF using PHP's PDF functions? Looking at the
documentation (http://www.php.net/manual/en/ref.pdf.php on php) on the PDF
functions is a bit confusing...
I just want to take a text file and conv
Make an autoincrement/primary column?
Or keep a number stored and increase it one by one and using when
derirable?
I prefer the first one :-)
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/w
List members,
I am sure this was probably mentioned before I joined the list, but when members
post to the list using the PHP tags around the script, a number of web-based PHP mail
apps attempt to process the script server-side and those of us blessed with such
systems see either nothing o
I personally really like this,
Maybe you can customize it as needed - or someone can improve upon it !
PIN9f39f7
$rawuid = md5(uniqid(rand(),1));
$uid = "PIN" . substr($rawuid,0,6);
echo $uid;
?>
on 4/11/02 3:44 PM, ROBERT MCPEAK at [EMAIL PROTECTED] wrote:
> Could somebody
Keep in mind that there is no common memory space for all the users.
Each request is being handled by a different process with its own memory
space that's forked off of the original web server. (Assuming apache, I
don't know how IIS works).
-Steve
On Thursday, April 11, 2002, at 01:52 PM, [
Try looking at fpdf, which can be found at fpdf.org. I have used it for a
couple things and it works beautifully.
Cheers!
Rick
"It is better to have loved and lost than to never have loved at all." -
Unknown
> From: "Jason Caldwell" <[EMAIL PROTECTED]>
> Date: Thu, 11 Apr 2002 12:44:10 -0700
I'm trying to think of a clever way to send both POST and GET data in
the same form. I want to use GET data so that the variables appear in
the querystring (so that users can bookmark or save the URL, it's a
search engine-kinda thing), but I have a main switch() statement which
is controlled
I've got a client who wants me to build a form-based user interface for an
application that will allow people to sign up for ISP service. Each form
will post to a remote server, which will give me an XML reply upon which to
base the response page for the user.
Being very much new to PHP, I'm
is there some way to enable large file support for the fstat
functions? when i try to do an fstat on a large file (4 gig) i get
the following error:
stat failed for /test/test.gz (errno=127 - Value too large to be stored in data type)
--
PHP General Mailing List (http://www.php.net/)
To unsubs
How can I check to see if a directory already exists.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a problem that I can't figure out. I'm using PHP ver. 4.0.6
which has a few functions built in it that require GD 2.0 or better,
however; I tried putting GD 2.0.1 in my /usr/lib/ directory but it still
cannot find it. Does anyone know why?
--
Edgardo G. Diaz
Software Engineer
Paragee Ze
On Friday 12 April 2002 05:36, Someone Somewhere wrote:
> How can I check to see if a directory already exists.
rtfm
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
N
In the spirit of sharing I'll supply a link to tfm
http://www.php.net/manual/en/function.is-dir.php
http://www.php.net/manual/en/function.file-exists.php
sometimes it's hard to rtfm if you don't even know what you are looking
for.
On Thu, 2002-04-11 at 16:42, Jason Wong wrote:
> On Friday 12 Ap
On Friday 12 April 2002 03:51, Barry C. Hawkins wrote:
> List members,
> I am sure this was probably mentioned before I joined the list, but
> when members post to the list using the PHP tags around the script, a
> number of web-based PHP mail apps attempt to process the script server-side
>
On Friday 12 April 2002 04:48, Jeff Bearer wrote:
> In the spirit of sharing I'll supply a link to tfm
>
> http://www.php.net/manual/en/function.is-dir.php
> http://www.php.net/manual/en/function.file-exists.php
>
> sometimes it's hard to rtfm if you don't even know what you are looking
> for.
PH
Levy Alves Carneiro Jr. wrote:
>
> Hello,
>
> inside php.ini file there's a special configuration:
>
> ; Transparent output compression using the zlib library
> ; Valid values for this option are 'off', 'on', or a specific
> ; buffer size to be used for compression (default is 4KB)
> zlib.outpu
On Friday 12 April 2002 03:44, Jason Caldwell wrote:
> Does anyone have any *simple* examples of how I can go about taking a text
> file and converting it to a PDF using PHP's PDF functions? Looking at the
> documentation (http://www.php.net/manual/en/ref.pdf.php on php) on the PDF
> functions is
On Thursday, April 11, 2002, at 04:09 PM, Erik Price wrote:
> I'm trying to think of a clever way to send both POST and GET data in
> the same form. I want to use GET data so that the variables appear in
> the querystring (so that users can bookmark or save the URL, it's a
> search engine-k
Wouldn't it be more helpful to assume that the individual is simply
uninformed? So isntead of flaming him and calling him stupid you could say,
"Check the PHP manual at www.php.net".
-Kevin
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday
I use pretty much the same idea, but PHP isn't used to parse the returned
XML. Rather, it just fetches the XML and sends it off to an XSLT processor.
Look at the XSLT extension for PHP. You'll likely need to get Sablotron
from www.gingerall.com. You'll also have to write an XSL stylesheet to
Aehm,
as I´m a bit old- and shell- stylish (see reply from Rasmus on:How to
create...)
why don´t you just make
unset($retval); // cleans the array to contain the resul
exec("ls ".$your_path".*_.jpg",$retval,$is_ok); // $retval will be an
array containing all matches
if($is_ok)
{
$r
Im having no luck using ImageTTFText(). I have a .ttf barcode font that
works fine on windows if I select it in a word processor, but when I try
and use it with PHP to generate barcode images, it outputs a blank
image. I can select other TTF fonts, and they work fine. Just this one
seems to have
Never mind. I managed to find a free code 39 barcode font that /is/
Unicode compatible, and it works.
Matthew Walker
Senior Software Engineer
ePliant Marketing
-Original Message-
From: Matthew Walker
Sent: Thursday, April 11, 2002 3:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ImageTTFT
Hi list,
I'm in a serious trouble that I couldn't figure out an escape. I have
basically to html pages that pass variables to each other by get method. So
I register some vars in sessions. in one o this pages i have.
if(isset($HTTP_GET_VARS['erase_data'])) {
session_unregister('data');
}
bu
are there wildcard characters for variables?
Lets say that I have a varable that always starts with $user but then has the 2 digit
user id attached to the end, so it could be $user12 or $user28
is there a way to grab these? sort of like in unix standards, where I could use user??
or user* ?
Sounds like what you want is Variable Variables.
http://www.php.net/manual/en/language.variables.variable.php
- Original Message -
From: "Jason Bell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 4:24 PM
Subject: [PHP] Variable wildcards
are there wildcard c
Kevin Stone wrote:
> Wouldn't it be more helpful to assume that the individual is simply
> uninformed? So isntead of flaming him and calling him stupid you could say,
> "Check the PHP manual at www.php.net".
> -Kevin
>
The definition of a question assumes the person is uninformed - else,
why a
Yeah, I thought so too, but variable variables doesn't seem to provide for
this to add a little bit of detail to what I am doing, it is a user
list, and I want to have a check box next to each user so that you can
select 1 or more users for deletion. Each checkbox will be named User$id
($id of
If you want to process the list when they submit the form you can do
something like this:
foreach($_REQUEST as $key => $value ) {
if( ereg("user([0-9]*)", $key, $match_ary) ) {
#go crazy;
}
}
??
-philip
On Thu, 11 Apr 2002, Jason Bell wrote:
> Yeah, I thought so
I'm trying to set $image = imageA via a URL:
http://www.abc123.com/php001/image_switch.php?image=imageA
Script is:
Image Switch
Image link ends up as:
http://www.abc123.com/php001/.gif
Link needs to be:
http://www.abc123.com/php001/imageA.gif
What am I doing wrong?
Thanks
Crai
missing an "echo" -
-Original Message-
From: Craig Westerman [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 9:45 AM
To: php-general-list
Subject: [PHP] Pass variables via URL
I'm trying to set $image = imageA via a URL:
http://www.abc123.com/php001/image_switch.php?image=imag
Well, on unix, you could use the (still experimental, according to
the docs) shared memory functions:
http://php.he.net/manual/en/ref.shmop.php
There's also the apparently more mature, but less portable
semaphore/shared memory functions (also Unix only) here:
http://php.he.net
I'm sorry, but if your webmail system just sent me your password file, you
should run, not walk, to another provider. This is a list about PHP.
There is going to be example PHP snippets all over it. Deal with it.
-Rasmus
On Thu, 11 Apr 2002, Barry C. Hawkins wrote:
> List members,
> I
Thanks for the response... I don't think the link you gave is working -- is
there another?
Jason
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 1:57 PM
Subject: Re: [PHP] PHP and PDF?
> On
I have this class, comes close to what you want. Feel free to modify,
sorry I didn't have the time to comment it yet. I hope you can understand
and use it :-) Anyway test it and see what it does.
class InseForm
{
function AllowedTags()
{
$allowed_tags = Array();
$allowed
Rasmus,
Well, if ever I had leverage for asking Earthlink to fix the
problem, I think it would be now. Forwarding an email from the person
credited with starting the scripting language that they are using for
their system that basically illustrates their recklessness should do the
job. A
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 4:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Posting with script tags, or a plea not to
On Friday 12 April 2002 03:51, Barry C. Hawkins wrote:
> List members,
> I am sure this was prob
Well, you read the message and I didn't get an email. That tells me that
it isn't actually executing the code. Are you sure it isn't just putting
the code in the mail literally? ie. if you do a "view source" on the
message, do you not see the raw PHP tags?
-Rasmus
On Thu, 11 Apr 2002, Barry C
Rasmus,
I was able to see the PHP code because I came home and fired up
Outlook. Right after I posted that last message, I closed Outlook and
went to Earthlink webmail. Same problem. No code, and incredibly weird
hyerlinks and garbled code. I opened Outlook back up, loaded the same
mes
Thank you all for your input. I will read through the tutorial and then
figure out which style I want to use.
I appreciate your time.
Jennifer
"Jennifer Downey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> Could someone point me to a tutorial o
Ok, but you didn't really answer my question. When you do a view source
to see the raw html in the webmail app, do you see the PHP tags. ie. the
tag in this thread?
On Thu, 11 Apr 2002, Barry C. Hawkins wrote:
> Rasmus,
> I was able to see the PHP code because I came home and fired up
>
Hi all,
Now I have a weird problem. I am using this code and can't understand why it
doesn't work.
When the script is run it returns a blank page, no error or done.
here it is and any help would be appreciated.
if(($type == book) or ($type == weapon)){
echo "";
echo "";
echo "Put
Hi,
I am trying to read the files in the directory and display them .
but I got the message " the document contained no data "
this is my code
handle."";
echo "Path: ".$d->path."";
while($entry=$d->read()) {
echo $entry."\n";
}
echo "";
$d->close();
?>
Can anyone tell me what s
Actually after the submit button is clicked it returns a blank page.
"Jennifer Downey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> Now I have a weird problem. I am using this code and can't understand why
it
> doesn't work.
> When the script is r
Hey J:
On Thu, Apr 11, 2002 at 03:24:36PM -0700, Jason Bell wrote:
> Lets say that I have a varable that always starts with $user but then
> has the 2 digit user id attached to the end, so it could be $user12 or
> $user28
Use an array. $user[12] and $user[28]. You can then use the various
ar
Rasmus,
I gathered info in several ways to hopefully save time. I
composed a message containing a simple, one-line PHP echo function and
sent it to myself. Not surprisingly, nothing showed in the message body
when pulled up via the webmail app. The exhibits are displayed below.
This mes
turn the displaying of errors on, and set the error level to E_ALL
I'm thinking that you've got a error somewhere that's stopping the script
prematurely
-Original Message-
From: Phieu Huynh [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 10:49 AM
To: [EMAIL PROTECTED]
Subject: [PH
Is this PHP guestbook no longer available for download? Does anyone know?
Thanks,
Steph
I don't know how to set erro level to E_ALL, can you give me some sample.
I did try different way
handle."";
echo "Path: ".$d->path."";
$entry=$d->read()
echo $entry ;
$d->close();
?>
it is ok and the output is only a dot(.)
if I add another read() statement then I got " ...
This would certainly work, but I got a suggestion for using that i think will be a much cleaner solution.
Thanks!
- Original Message -
From: "Philip Hallstrom" <[EMAIL PROTECTED]>
To: "Jason Bell" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 4:10 PM
Subjec
This is pretty basic, and I recommend looking at all the string functions.
Basically, you want to use strip_tags() to get rid of the html (with
optionally allowing SOME tags to be passed thru. Then use nl2br() to
convert /n's (the only type of newline you're likely to receive via a web
form) to
At 05:52 PM 4/11/02 +1000, Richard Archer wrote:
>At 2:28 PM +0800 11/4/02, Manisha wrote:
>
> >
>
>That's a mighty small limit on file size. Especially if it's an
>image being uploaded. Are you sure the file you're testing with
>is smaller than 1000 bytes?
>
>Also, be aware that this field is adv
Hi Steph,
1st things 1st, you're date is set the year 00 for some reason, so your
email was kinda hidden in my PHP folder. This may limit the number of ppl
who respond.
I have no idea if it can be done in the MySQL query, but you could get all
your results into an array, and do a regular expres
Hello,
I'm getting this error from IIS/NTSP4 - but the php_ldap.dll module is right next to
the php_gd.dll module I'm loading (along with several others, but that doesn't seem to
make any difference).
What module is it looking for?
John
--
/* SteeleSoft Consulting John Steele - System
H, I didn;t know you wanted to animate anything... but this could be
achieved through CSS/DHMTL. And if you're going that way, the images
themselves could be replaced with dynamically sized DIVs.
DHTML isn't my thing though... check out some CSS newsgroups, and of course
be prepared for lack
I did a simple search at sourceforge.net, and got this link. Try this link
instead:
http://sourceforge.net/projects/pc4p/
"Jason Caldwell" <[EMAIL PROTECTED]> wrote in message
001701c1e1b9$784c7300$0202a8c0@cosmos">news:001701c1e1b9$784c7300$0202a8c0@cosmos...
> Thanks for the response... I don
Addressed to: Jeff Bearer <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from Jeff Bearer <[EMAIL PROTECTED]> 11 Apr 2002 13:40:52 -0400
> What is your opinion of using Red Hat's Apache and PHP binaries instead
> of compiling from source?
If what they provide is exactly wh
is that a direct copy of your code - if it is, you're missing a ; after
$entry=$d->read()
but that wound have stopped the first one...
to set error level to E_ALL, use:
error_reporting(E_ALL);
or set it in your php.ini file
error_reporting = E_ALL
-Original Message-
From: Phieu Huynh [m
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi all,
>
> I have a textarea which will containg info from the user. This then
> needs to be parsed through something like htmlspecialchars() or
> htmlentities().
>
> The issue is that my system really needs to do the following:
>
>
At 10:53 AM +0800 12/4/02, Manisha wrote:
>> >if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) {
>> > copy($HTTP_POST_FILES['userfile']['tmp_name'], "/img");
>>
>>Check to see whether that "copy" function completed successfully.
>
>how ? I put one echo statement after copy
On Friday 12 April 2002 10:53, Manisha wrote:
> >I'd be surprised if you really want to move the file to /img.
> >And if you're on a Unix system the web server certainly won't
> >have write access to the / directory.
>
> i tried with complete path starting from root (/usr/web/html/img) and
>
Sorry, the file has ; I retype it wrong,
I did set error_reporting but no change,
but in the httpd error log file I found "exit signal segmentation fault (11)"
Martin Towell wrote:
> is that a direct copy of your code - if it is, you're missing a ; after
> $entry=$d->read()
> but that wound hav
Hello,
This is my first question to the list, I have included as much
information as I feel will help someone find a solution to my problem.
Server: RedHat Linux 7.0, Kernel 2.2.16-22
PHP Version: 4.1.0
Apache Version: 1.3.12
Class name: class.Htpasswd.php3
Problem
I have just started using cl
On Friday 12 April 2002 05:29, Kevin Stone wrote:
> Wouldn't it be more helpful to assume that the individual is simply
> uninformed? So isntead of flaming him and calling him stupid you could
> say, "Check the PHP manual at www.php.net".
Nobody called him/her stupid. In fact it's probably a ver
odd, I copied your code, changed the dir to "./" and it works for me
(php4.0.?, winnt)
if dir() doesn't work for you, you might need to use opendir(), readdir(),
etc
-Original Message-
From: Phieu Huynh [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 2:14 PM
To: Martin Towell; [E
101 - 200 of 214 matches
Mail list logo