I am getting Apache errors everytime that I try and run a Java class I get a
segmentation error. Here is the error from my log
[Thu Aug 30 08:35:33 2001] [notice] child pid x exit signal Segmentation
fault (11)
I am running RH 7.1(2.4.2) Apache 1.3.19 with mod_ssl and OpenSSL, PHP is
Andrey,
Thanks for the time that you put into this!
After some tweaking (for my scripts) I got this working nicely, and learned
a thing or two about PREG also.
Ross Nielsen
[EMAIL PROTECTED]
Andrey Hristov [EMAIL PROTECTED] wrote in message
Hey there i just managed something that i never accomplished beforei
kill a httpd process from PHP,
i run the following code
?
$slen=strlen($enc);
for ($i=0;$i$slen;$i=$i+2) {
$swap=$enc[$i];
$enc[$i]=$enc[$i+1];
$enc[$i+1]=$swap;
}
?
$enc is a string and has an even length
This
Try
number_format()
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: Glyndower [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 3:58 PM
Subject: [PHP] FORMAT return?
If i have a feild in a database that
I have a MySQL table which stores information like this:
| Type | Place Name | Place Abbrv |
and lets say I have data in the table like:
Example #1:
| Office | Bill's Office | bo |
| Store | Millcreek Supply | mcs |
| Office | Harry's Office | ho |
| Store | Sam's Discount Taxidermy | sdt |
|
maybe register_globals was turned off in your php.ini ?
Girish P [EMAIL PROTECTED] wrote in message
00cb01c13151$d2333d90$[EMAIL PROTECTED]">news:00cb01c13151$d2333d90$[EMAIL PROTECTED]...
Hi,
I am passing a value from one php page(FirstB.php ) to another php page
(Sql.php) with in a link.
use php Convert between(foxpro) `.dbf' files and MySQL
thk
--
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 PROTECTED]
Thanks again!
Andrey Hristov [EMAIL PROTECTED] wrote in message
030201c1314e$0cc2aee0$0b01a8c0@ANDreY">news:030201c1314e$0cc2aee0$0b01a8c0@ANDreY...
The return value of mysql_fetch_array is something strange. You receive
into the array data copied to times. 0 is no alias to 'name'
for example.
EARLY REMINDER:
Our next meeting is NOT tonight (as some people have asked)
but *next* Thursday evening (first Thursday in September -
September 6, 2001).
Address
125 N Huron #400
Ypsilanti, MI 48197
2 blocks north of Michigan Ave in downtown Ypsi.
As usual, we'll see you all between 7 and 8
Hi.
Troubles with PhpNuke and mail():
When an user register, no mail i sent to him, but a message warning;
mail() is not supported in this php build.
I got postfix working fine, php.ini all right with
sendmail_path=/usr/sbin/sendmail -t -i
Any idea ???
--
PHP General Mailing List
Kath [EMAIL PROTECTED] wrote in message
015301c13156$2c273500$[EMAIL PROTECTED]">news:015301c13156$2c273500$[EMAIL PROTECTED]...
I have a MySQL table which stores information like this:
| Type | Place Name | Place Abbrv |
and lets say I have data in the table like:
Example #1:
| Office |
Hi,
I'm using PHP code from manual:
srand( (double) microtime() * 100);
// Get random User ID
$uid=rand();
but it dowsn't work !
Thanks,
Rosen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I am using mySQL with all of my stuff but a friend who started writing some files for
our online baseball league was using Access as his database. We tried running it on
my server but it returns an error that says undefined function odbc_connect.
Now my questions, can I get this to work on a
made that for ya,
pre
?
$lines = | Office | ZZBill's Office | bo |
| Office | Bill's Office | bo |
| Store | Millcreek Supply | mcs |
| Office | Harry's Office | ho |
| Store | Sam's Discount Taxidermy | sdt |
| Shipping | East Coast Distribution Facility | ecdf |;
$lines = split(\n, $lines);
Hi,
i have a form for uploading files to a server. It looks like this:
form action=upload.php method=post enctype=multipart/form-data
input type=file name=name
input type=submit value=Go
/form
Whenever I choose a file bigger than about 4 or 5 MB i get an internal
server error. I changed the
Our host has set-up a php .ini file in our cgi-bin. We were having
trouble writing and reading from flat files. I have never set the
include_path directive from a cgi-bin before. Can someone tell how to
set the path? I know it has to be diffrent from the way I am used to.
TIA
Gary
--
PHP
Rosen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I'm using PHP code from manual:
srand( (double) microtime() * 100);
// Get random User ID
$uid=rand();
but it dowsn't work !
... I would make sure that microtime() is doing what you think it is;
On Thu, 30 Aug 2001 02:52:33 -0500, Richard Lynch [EMAIL PROTECTED]
wrote:
Which dot-bomb had a business plan, with a revenue model, which did *NOT*
involve going into heavy debt and blowing huge piles of VC money for several
years in a market-share grab on the Internet, where the barrier to
Hi there,
I need use sockets in my code, but PHP doesn't see function named
'socket'. Does any one have any expirience with PHP sockets ?
Maybe name has changed ?
Please, answer in private e-mail.
TIA,
Dariusz Malinowski
--
PHP General Mailing List (http://www.php.net/)
To
Hi there,
I need use sockets in my code, but PHP doesn't see function named
'socket'. Does any one have any expirience with PHP sockets ?
Maybe name has changed ?
Did you --enable-sockets in your ./configure line ?
jason
--
PHP General Mailing List (http://www.php.net/)
To
How can I send a command to remove it from the server within PHP?
Thanks,
Paul
You go to the online manual, browse to the Filesystem Functions section and
look up a function that removes files
http://www.php.net/manual/en/ref.filesystem.php
jason
--
PHP General Mailing List
Would anyone find this useful?
join(' glue ',$array,0,5)
instead of this
join(' glue ',array_slice($array,0,5))
Its not the extra typing i mind, it just seems that the parameters go
well with the join function..
Any thoughts?
Jack
--
PHP General Mailing List (http://www.php.net/)
To
Thanks Jason,
I was using a hard copy manual and couldn't find it in the file functions.
Paul
-Original Message-
From: Jason Brooke [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 10:27 AM
To: Paul Cohen; [EMAIL PROTECTED]
Subject: Re: [PHP] Delete Files on Server with PHP
Whatever I do (phpinfo(), echo $HTTP_POST_FILES['userfile']['type']) to
display the array $HTTP_POST_FILES , I get nothing.
My HTML form seems to be correct according to the previous messages in the
mailing-list. phpinfo() displays infos about http_post_vars and I get the
proper variables
On Thu, 30 Aug 2001 02:25, PHP List wrote:
Hi,
Can anyone tell me why php is behaving like this?
If I use enctype=multipart/form-data, it seems the first form field
is not passed to php. ex:
form method=post action=products.asp
enctype=multipart/form-data input type=hidden
Hello,
Is there a way to put an if statement in a variable?
For example:
$var = Hello.IF($var2 = 1) { .Mr. Bean. } else { .New Comer. }.
To The Coffee House.;
Thank you,
Brandon Orther
Sorry everone but I 'm having a hard time with joins
How do I add this clause:
users.uid = selection.user_uid from table selection
to this query:
$sql = SELECT users.uid, users.username
FROM users LEFT JOIN picks
ON users.uid = picks.user_id
WHERE picks.user_id IS NULL
Thank You.
--
Kyle Smith wrote:
ok i have this code to do whats below, but its not working
Try to use file(), which will return an array.
So that would be:
$lines = file(filename);
for($i=0; $i2; $i++)
{
print($lines[$i]);
}
/franklin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
[EMAIL PROTECTED] wrote:
Whatever I do (phpinfo(), echo $HTTP_POST_FILES['userfile']['type']) to
display the array $HTTP_POST_FILES , I get nothing.
Did you include enctype=multipart/form-data in your form tag?
/franklin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
$var=Hello.(($var==1)? Mr. Bean:New Comer).To somewhere;
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: Brandon Orther [EMAIL PROTECTED]
To: PHP User Group [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 6:59 PM
Subject: [PHP]
i do
-Mensaje original-
De: Edney Marcel Imme [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles 29 de agosto de 2001 22:19
Para: [EMAIL PROTECTED]
Asunto: [PHP] php and Interbase
HI.
Anyone use php with Interbase here?
Tks.
Edney Marcel Imme
ICQ: 109374340
--
PHP General Mailing
$var = $var2==1 ? 'Hello Mr. Bean' : 'Hello New Comer';
be careful of your if statements and only using one equals..
jack
Brandon Orther wrote:
Hello,
Is there a way to put an if statement in a variable?
For example:
$var = Hello.IF($var2 = 1) { .Mr. Bean. } else { .New Comer. }.
To
Original message
From: Brandon Orther [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 08:59:44AM -0700
Message-ID: 006301c1316c$c9395010$0a00a8c0@webintel
Subject: [PHP] If statement within a variable?
Hello,
Is there a way to put an if statement in a variable?
For example:
$var =
-Original Message-
From: Jeremy Morano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 12:05 PM
To: [EMAIL PROTECTED]
Subject: JOIN
Sorry everone but I 'm having a hard time with joins
How do I add this clause:
users.uid selection.user_uid from table selection
to
Brandon Orther wrote:
Hello,
Is there a way to put an if statement in a variable?
For example:
$var = Hello.IF($var2 = 1) { .Mr. Bean. } else { .New Comer. }.
To The Coffee House.;
$var = Hello .($var2==1 ? Mr. Bean : New Comer);
/franklin
--
PHP General Mailing List
I am using Apache and PHP. I encountered a redirect problem in PHP, and traced it
down, so, I generated a very short PHP page as following:
?php
sleep(30);
$goto =
Original message
From: * RzE: [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 06:05:57PM +0200
Message-ID: [EMAIL PROTECTED]
Subject: Re: [PHP] If statement within a variable?
This is it:
$var = Hello.($var2 = 1 ? Mr. Bean : New Comer).To The Coffee House.;
/Original message
Reply
Oops...
I'm looping through a MSQL db pulling out the dates where I would like to
display the date and then the day of the week. The problem is that every
date returns the same day of the week, Wed. I checked the documentation and
it doesn't say anything about the expression only being executed once
Hi all,
I am constantly getting Headers already sent errors.
What I dont understand is why when I read something that could have come
from a cookie or session does that right out to headers.
eg:
if (!$HTTP_COOKIE_VARS[TrackID]){
}
The header error refers to this line as having first sent
Original message
From: Zhu George-CZZ010 [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 11:10:19AM -0500
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] Header() function and redirect
I am using Apache and PHP. I encountered a redirect problem in PHP, and traced it
down, so, I generated a very
Nic Skitt wrote:
Hi all,
I am constantly getting Headers already sent errors.
What I dont understand is why when I read something that could have come
from a cookie or session does that right out to headers.
eg:
if (!$HTTP_COOKIE_VARS[TrackID]){
}
The header error refers to this line as
On Wednesday 29 August 2001 20:15, [EMAIL PROTECTED] wrote:
I do not need a cmd-line utility but something I can use _in_ a PHP4
script without the need to apply changes to the interpreter or weird
system interfaces. Something similiar to the #define preprocessing
instructions of cc (or
I cant see any. Again this seems to be a difference between my dev server
and the live server. The live server doesnt compain.
Any more ideas?
NIc
Franklin Van Velthuizen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Nic Skitt wrote:
Hi all,
I am
On Wednesday 29 August 2001 23:45, Christopher William Wesley wrote:
On Wed, 29 Aug 2001, Joseph Bannon wrote:
I want to use fgets to get an image off the server and then print it.
Kinda like if you call the script picture.php, an image will appear.
How do I do
I do this, with fopen()
So sprach »Brandon Orther« am 2001-08-30 um 08:59:44 -0700 :
$var = Hello.IF($var2 = 1) { .Mr. Bean. } else { .New Comer. }.
$var = Hello . (($var2 = 1)?(Mr. Bean):(New Comer));
But why do you assign 1 to $var2?
To circumvent these kind of problems, I always write:
$var = Hello . ((1 ==
But I have to wait for the application to finish. The idea is: the application will
take the file, and convert it into PDF file (it takes more than 30 seconds generally),
then display the generated PDF file.
I am just wondering if I can use Header() to redirect to a general php page, then in
Manuel,
I started answering your letter point by point, but stopped, as it wouldn't
have gotten us anywhere.
I'm sorry if sharing my (IMHO very realistic) estimate of the PHP world
seemed like an insult to you or anybody else. Not everything that is done
in the PHP world is of good quality.
At 17:18 30/08/01 +0100, Nic Skitt wrote:
I cant see any. Again this seems to be a difference between my dev server
and the live server. The live server doesnt compain.
That's the best way round, at least :-)
Have you also checked any included/required files for extra lines (after
the final
Original message
From: Paul McGee [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 12:13:21PM -0400
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] Date formatting in PHP 3.0
I'm looping through a MSQL db pulling out the dates where I would like to
display the date and then the day of the week. The
Original message
From: Zhu George-CZZ010 [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 11:27:41AM -0500
Message-ID: [EMAIL PROTECTED]
Subject: RE: [PHP] Header() function and redirect
But I have to wait for the application to finish. The idea is: the application will
take the file, and convert
Thanks, I knew it was something stupid!
However, the $dy = date (D, $row[0]) doesn't work.
* RZe: [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Original message
From: Paul McGee [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 12:13:21PM -0400
Message-ID:
Original message
From: Paul McGee [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 12:45:49PM -0400
Message-ID: [EMAIL PROTECTED]
Subject: Re: [PHP] Date formatting in PHP 3.0
Thanks, I knew it was something stupid!
However, the $dy = date (D, $row[0]) doesn't work.
/Original message
Reply
What exactly does fpassthru do? Does it download it to my server and then
shoot it to the browser??
Joseph
--
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
Yes! I use it as my routine DB.
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
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 PROTECTED]
Morning List-
I have a script which gets passed a fileID and using that fileID it
queries a SQL database and grabs an actual filename and then does a fopen,
fpassthru, etc I added the header info (application/octet-stream) so it
actually downloads the file right away, instead of just
Is there anyway to determine the pixel width of a string?
--
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 PROTECTED]
Oh yeah!
I just had old MySQL manual but I have upgraded MySQL and this
function is working in my version, just was not described in docs
Okay, thank you for help, I managed to do it.
On Wed, 29 Aug 2001 13:58:34 +0200, BRACK ([EMAIL PROTECTED]) wrote:
In article
I want to open a particular directory that stores images and I want the images to be
added to drop down box, was wondering if someone could help me with some code for
that. I want to set it up this way so that people can just upload images there and
they would be available on each load of the
I have a page that is for a little recipe database app. On the page where
you enter your recipe, there is a set of form fields for ingredients - one
line per ingredient, and a couple of fields per (e.g. amount, measurement,
ingredient).
I'd like to have say 5-10 ingredient lines in the form by
Is there like a syntax hilighting plugin for kdevelop or something?
- Dan
--
--
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 PROTECTED]
Try looking for javascript solutions. Give them the default 5 and a javascript
function that prints out another input variable and dynamically names it. Then
you can just normally post at the end. i don't think the javascript is difficult
either, and i'm sure you could find a script for it. check
The version of php that I use states that Gif Support is enabled. And in
fact I am
able to create and display gif images. However when it comes to creating
an image
from a file the imagecreatefromgif function doesn't seem to work. I'll
qualify doesn't
work to mean a broken image icon is displayed
On Thu, 30 Aug 2001, Joseph Bannon wrote:
What exactly does fpassthru do? Does it download it to my server and then
shoot it to the browser??
(http://php.net/fpassthru)
For the file pointer on which it operates, it reads the file pointer until
EOF and sends the data to STDOUT. It is very
Hello everyone!
Crazy question:
I've created a little script that reads in .txt files and, with the
help of phplib templates, matches them up with a collection of
templates and spits out the beautiful html page.
In order to avoid sending variables through the URL I've stolen this
bizarre
Hello,
I'd like to find a good web calendar which will allow the general public to enter
suggested events
into a web calendar. I would want these suggested events to be moderated so that they
can be verified.
Does anyone know of a package that would allow this type of moderated public
Hmm.. Forms always produced slashed data than I wouldn't have gotten a MySQL error on
the ' in
O'Neil.. But perhaps it is something on my server..
Andrey Hristov wrote:
I think that always from a form the script gets slashed data.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
Can anyone think of a way to determine the file size of what the user is
uploading before it has been fully uploaded?
I know because of security restrictions javascript can't do this, but is it
possible in php?
I'm trying to make an upload progress bar, it doesn't have to be exact, but
a close
I'd like to find a good web calendar which will allow the general public to enter
suggested events
into a web calendar. I would want these suggested events to be moderated so that
they can be verified.
Does anyone know of a package that would allow this type of moderated public
posting?
The thing I want to avoid is using my server's bandwidth. Each member gets a
profile and can have a photo referenced from their homepage. I use to allow
people to upload photos, but I'm getting close to using my 60GB bandwith
limit. The people that have photos on geocities couldn't reference a
Yes, I use to do this with my site.
# The original name of the file on the client machine.
$filename = $HTTP_POST_FILES['file']['name'];
# The mime type of the file, if the browser provided this information. An
example would be image/gif.
$filetype = $HTTP_POST_FILES['file']['type'];
# The
On 30-Aug-2001 Nic Skitt wrote:
Thanks Andrey but that still hasnt fixed it.
The full error I am getting is:
Cannot add header information - headers already sent by (output started at
c:\apache\apache\htdocs\client-secure.php:11) in
c:\apache\apache\htdocs\client-secure.php on line 18
On 30-Aug-2001 Veniamin Goldin wrote:
Hello !
Please help me,
How to get Month name according to server's locale setings ?
I tryed to use:
setlocale(LC_ALL, LT);
$month = strftime(%B, mktime(0,0,0,$m,1,$y));
But I get message:
Warning: Passing locale category name as string
Rasmus Lerdorf wrote:
Well, the one on php.net is very simple, but it meets those basic
requirements. http://www.php.net/cal.php
This looks like it would probably work!
You can grab the source for it out of cvs. See http://cvs.php.net
I couldn't get it from here, but I think I was able to
On Thu, 30 Aug 2001, Joseph Bannon wrote:
The thing I want to avoid is using my server's bandwidth. Each member gets a
profile and can have a photo referenced from their homepage. I use to allow
people to upload photos, but I'm getting close to using my 60GB bandwith
limit. The people that
Original message
From: christopher johnson [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 12:47:00PM -0500
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] file upload size, before upload complete
Can anyone think of a way to determine the file size of what the user is
uploading before it has been
I have been doing some amateur web-design by now, but I decided to learn
something like php. I was wondering if there is a way to test php code without a
server(on local computer).
Thanx in advance
Nikola Veber
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
I've got a website, we'll call it MainDomain.com.
I created a specialty site in a sub-directory. We'll call the
sub-directory Widgets.
I want a different domain to point to that sub directory. We'll call the
new domain WidgetWorld.com
My webhost will allow me to park WidgetWorld.com at
How can I use PHP to detect if the visitor wanted MainDomain.com (and
display MainDomain/index.php) or WidgetWorld.com (and then display
MainDomain/Widgets/index.php).
I *believe* what you are looking for is $HTTP_HOST.
Chris
Dang it! -lol Any ideas how to get around my problem?
J
--
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 PROTECTED]
FYI: Since this may be a problem for others, I did figure it out sort of.
If my script is called: filereturn.php I pass this in my HREF:
A HREF=filereturn.php/filename.exe?fileID=
I don't know if this is a hack or whatever, but Netscape (NIX and Windoze)
and IE on Mac will now save the
Henrik Hudson wrote:
Morning List-
I have a script which gets passed a fileID and using that fileID it
queries a SQL database and grabs an actual filename and then does a fopen,
fpassthru, etc I added the header info (application/octet-stream) so it
actually downloads the file right
-Original Message-
From: Jeremy Morano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 12:05 PM
To: [EMAIL PROTECTED]
Subject: JOIN
Sorry everone but I 'm having a hard time with joins
Let me give you a brief explanation of how Left Join works (or at
least how I
Sure, you should just (for Windows) download the Apache web server for
windows, and get the PHP for windows off of php.net. Then you can run a
'local' server that processes your PHP code. Or do the same for a Unix
machine...
--
Patrick Calkins
OEMSupport.Com, Inc.
** please remove the _ to reply
Hello,
James wrote:
Regarding a database abstraction package: does Metabase handle all
standard SQL constructs (as opposed to vendor-specific SQL extensions)?
The GUI applications to be ported were built with JAM, which basically
provides an abstraction layer via its JPL language. JPL has
What if I pass something in the header? Will that work?
Joseph
-Original Message-
From: Christopher William Wesley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 1:05 PM
To: PHP (E-mail)
Subject: RE: [PHP] fpassthru (was: fgets)
On Thu, 30 Aug 2001, Joseph Bannon wrote:
Use this function, the $num argument, is the total
of numbers. Ex: if $num is 5, the funtion will return
56743, is five numbers.
function random($num)
{
srand ((double) microtime() * 100);
$temp = rand().rand().rand();
$temp = substr($temp, 0, $num);
return $temp;
} //fim function
Hello
I'm trying to use imap_search to retrieve the all the post after a given
date and then put them into a mysql DB. I don't know if this is the best way
to do it.
$searchstr = SINCE Thu, 30 Aug 2001 12:05:49 +0200;
$search = imap_search($nntp, $searchstr, SE_UID);
This should give me a
Sure, you can test PHP code without running any servers.
Run PHP as follows:
php.exe my_test.php
- Original Message -
From: Nikola Veber [EMAIL PROTECTED]
To: php forum [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 12:18 PM
Subject: [PHP] begginer needs help
I have been doing
On 30-Aug-2001 Zhu George-CZZ010 wrote:
But I have to wait for the application to finish. The idea is: the
application will take the file, and convert it into PDF file (it takes more
than 30 seconds generally), then display the generated PDF file.
I am just wondering if I can use Header()
When using fgets() 3 times, does the pointer inside the file change
positions?
Navid Yar
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 4:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: line by line
http://php.net/fopen
Hello Ramus,
Rasmus Lerdorf wrote:
Well, the one on php.net is very simple, but it meets those basic
requirements. http://www.php.net/cal.php
You can grab the source for it out of cvs. See http://cvs.php.net
Ok.. I've got the source.. However, pulling the calendar out of php.net is a bit
On 30-Aug-2001 John Meyer wrote:
Is there anyway to determine the pixel width of a string?
$font=2;
$strpx=imagefontwidth($font) * strlen($str);
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
Can someone tell me why I am getting an error for the second line below.
It works locally but not live.
?php
$filename = www/name/test/free.txt
$toread = fopen($filename, 'r');
$contents = fread($toread, filesize($filename));
On 30-Aug-2001 Gary wrote:
Can someone tell me why I am getting an error for the second line below.
It works locally but not live.
?php
$filename = www/name/test/free.txt
^ semi-colon ?
Hi All,
Another doubt. How can I delete files older than X seconds from a given
folder?
At the on-line manual I could only find a contributed note about 'discover
time of last modification' from a file under a folder.
Any help is appreciated.
--
Julio Nobrega
A hora está chegando:
At 1:31 PM -0700 8/30/01, Kyle Smith wrote:
ok i have this code to do whats below, but its not working
?php
$fp = fopen(meh.txt,r);
for($i=0;$i2;$i++)
{
print $fp[$i];
}
?
That's because $fp is a file POINTER, not the actual contents of the
file. You might have been thinking of the file()
geez, time to call it a day!
Thanks
Gary
Don Read wrote:
On 30-Aug-2001 Gary wrote:
Can someone tell me why I am getting an error for the second line below.
It works locally but not live.
?php
$filename = www/name/test/free.txt
Hi -
Is it possible to get documentation for the snapshopt releases?
Or something newer than 4.0.6? All pointers appreciated.
Thanks!
-philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Gary wrote:
Can someone tell me why I am getting an error for the second line below.
It works locally but not live.
?php
$filename = www/name/test/free.txt
$toread = fopen($filename, 'r');
$contents = fread($toread, filesize($filename));
if (empty($DidSurvey[$p_surveyid])) {
if (is_array($p_answers)){
foreach($p_answers as $value) {
error line-- $sql = INSERT INTO RESULTS(SURVEY_ID, ANSWER_ID) VALUES( .
$p_surveyid . , . $value . );;
101 - 200 of 238 matches
Mail list logo