> For example:
>
> while (!feof ($fp))
>
> What does the ! mean or do?
! means not.
> What does feof mean? is it one command? or is f e o f all different?
feof() is a function that checks if a file has reached the end or not. (eof
= end of file)
while (!feof ($fp)) in whole means something l
I'm wondering if random numbers in a cronned script would be anywhere
near random (I know that rand() isn't true random, but I don't want
every number to be the same...)? Since the number is seeded from
time... and cron runs by time...
--
PHP General Mailing List (http://www.php.net/)
To un
Mattia wrote:
> I'm writing a web app with php, and would like to do the following:
> when an error occures (a php/apache error or an application error)
> the error is logged to a log file. The user is displayed a page that
> says 500 internal server error, and nothig more. I have access to
> .hta
Hi,
I'm trying to convert a formated datetime string into a timestamp.
The string format is "Y-m-d H:i:s". I use strtotime() to convert the
datetime string. However, the converted datetime seems lost its
time part. Is there any easy solution to make the converting?
Thanks in advance!
Alex
--
php-general Digest 13 Sep 2002 05:32:35 - Issue 1582
Topics (messages 116175 through 116232):
Re: local and global variables
116175 by: Neophyte
Re: whois query
116176 by: yasin inat
116202 by: Tom Ray
116203 by: Adam Williams
116205 by: Tom Ray
A working solution to the whois question
$whois";
?>
Notice those are back ticks, not single quotes. This will give youthe
information you need, and the tag puts it out in the proper format
for you.
yasin inat wrote:
>Thanx friends
>
>
>
>
>
>
--
PHP General Mailing List (http:/
Doug Kozar writes:
> Does anyone know why the following script will not rebuild one of my
> sendmail databases?
>
> exec('/usr/sbin/makemap hash /etc/mail/virtusertable.db <
> /etc/mail/virtusertable');
> exit;
> ?>
>
Check your httpd logs. I'd be willing to bet it's a permissions issue as
llclmc writes:
> I am trying to copy *.log files to a file called dir.data. Does anyone have a
>suggestion on the php code to use? I am using Redhat 7.0. Using "ls *.log > dir.data
>doesn't work.
>
Try: "cat *.log > dir.data"
ls will just give filenames, cat will do the inside of the files.
Breno Cardoso Perucchi writes:
> HI,
> I am trying to use a script php with the command:
> system("mkdir /home/hosting/test");
> but the PERMISSION IS DENIED and I am the root on my server.
>
> How I change the user to root?
>
If you /really/ want to use this, use a C wrapper that's setuid
hi there @php.net,
please, can you help me enabling the extensions in php?
i tried for hours to accomplish the right settings, but it seems, the
solution is out
of reach. you'll find a mini screenshot of my error message so you'll see
exactly
what i mean.
machine details: php v4.2.3, apache v2.0
I am trying to copy *.log files to a file called dir.data. Does anyone have a
suggestion on the php code to use? I am using Redhat 7.0. Using "ls *.log > dir.data
doesn't work.
Also does anyone know how to insert a text on about the 4 or 5 line of a file using
php? I can add text to the end of
This message sounds as though I want a system that checks email, etc.
That is not what I'm after. What I'm trying to do is make a system
where users can mail each other, using a mysql database.
Leif K-Brooks wrote:
> I'm designing a site, and I want to put mail with folders on it.
> Fairly
Why would you convert them to PDF on the fly??? If you wanted to show
really hi-res images, yes PDF would result in *slightly* smaller files, in
*some cases*, but for standard web stuff, why not consider the humble
compressed JPG? Whatever format, the file is gonna be huge if they're
trying to r
Does anyone know why the following script will not rebuild one of my
sendmail databases?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'll second that - It's a truly professional solution.
[even has a full user manual]
Here are a couple articles you might want to checkk
out:
http://www.devarticles.com/content.php?articleId=126&page=1
http://www.devshed.com/Server_Side/PHP/CommercialBreak/page1.html
olinux
--- Seán_Dillon <
Try using an unique number as the first field of the line.
You can then use that number to select the line (entry) and update it.
Kumar
drparker wrote:
> hi - i have a text file that i am using as a database. the format for
> each line is such (2 lines shown):
>
> Fashion|508|Text Text
>
>Text
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On September 12, 2002 09:47, Magnus Solvang wrote:
> I'm used to the unless-statement in perl... How do I do this:
>
> if string A or B are NOT in string C, then do something and quit.
>
> In perl, I would do this:
>
> unless ($c =~ /$a|$b/) {
> b
Doing stuff with || is always a good way to stuff up. In the case of
your example it will always evaluate to true.
> if ($A != $C || $B != $C) {
>
> I think, but im fairly new
This would work if you did this:
If (!($A == $C || $B == $C)) {
> > In perl, I would do this:
> >
> > unless (
I've never done this, but I understand that curl is supposed to offer
support for SSL.
http://www.php.net/manual/en/ref.curl.php
The manual looks a bit weak in this regard, but maybe that will give you
a decent starting point. If someone else has an example, that would be
more useful.
Happy
> What I was looking for was finding out what was the index of thet
> value, lets say I have a array with some values like (23, 56, 45, 47)
> and i don't know where the walue I'm looking for is indexed in the array
> and I want to find out what the indexnumber is, how would that be
> possable
$v
I'm running PHP 4.1.2 and am looking for information on doing an HTTP post
action from PHP to another web server using SSL (and capturing the
response). I've searched the online docs to no avail. Can somone point me in
the right direction?
__
Lon Lentz
Applications Dev
BTW:
AccessFileName directive
Syntax: AccessFileName filename [filename] ...
Default: AccessFileName .htaccess
Context: server config, virtual host
Status: core
Compatibility: AccessFileName can accept more than one filename only in Apache 1.3 and
later
When returning a document to the client t
> From: Tim Thorburn [mailto:[EMAIL PROTECTED]]
> Yes, I had tried the forward slashes before and I just tried
> to escape the
> backslashes as you thought - sadly neither have worked :(
>From the Apache site:
"Since it is often difficult to manage files with names like .htaccess under window
> Hi I'm runing a PHP Version 4.0.4pl1 on Solaris 8 X86 on apache, and I'm
> trying to search an array
>From the manual: array_search (PHP 4 >= 4.0.5)
send earlier to this list:
Re: [PHP] Array - Match
From: Bas Jobsen <[EMAIL PROTECTED]>
To: "N. Pari Purna Chand" <[EMAIL PROTECTED]>,
<[EMAIL
On Thu, 12 Sep 2002, Breno Cardoso Perucchi wrote:
> system("mkdir /home/hosting/test");
> but the PERMISSION IS DENIED and I am the root on my server.
> How I change the user to root?
Dude, you don't change to the root user ... you'll get yourself owned that
way. Change the permissions on the
Hi I'm runing a PHP Version 4.0.4pl1 on Solaris 8 X86 on apache, and I'm
trying to search an array
while(list($findId) = mysql_fetch_row($resultNextLast)){
$NextLast[] = $findId;
}
$currArrayPos = array_search($ImgId, $NextLast);
and this code results this error:
Fatal error: Call to
hi - i have a text file that i am using as a database. the format for
each line is such (2 lines shown):
Fashion|508|Text Text
Text.|http://qtbras.com/qtbrascat/images/508_big.jpg|http://qtbras.com/qtbrascat/images/508_thumb.jpg
Fashion|510|Text Text
Text|http://qtbras.com/qtbrascat/images/510_
I know, but how I change to root user?
--
Atenciosamente
Breno Cardoso Perucchi
[EMAIL PROTECTED]
Consultor - Omega Tecnologia
http://www.omegatec.net/
"Adam Williams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> you don't. php/apache run as the user nobo
you don't. php/apache run as the user nobody for security purposes.
Adam
On Thu, 12 Sep 2002, Breno Cardoso Perucchi wrote:
> HI,
> I am trying to use a script php with the command:
> system("mkdir /home/hosting/test");
> but the PERMISSION IS DENIED and I am the root o
Hi,
I've got a local test machine running WinXP Pro SP1 with PHP 4.2.2 and
Apache 1.3.26. What I'd like to do is change the include_path settings for
PHP in a .htaccess file (as I have several sites being tested on this
machine and do not wish to have to edit the php.ini in my Windows directo
HI,
I am trying to use a script php with the command:
system("mkdir /home/hosting/test");
but the PERMISSION IS DENIED and I am the root on my server.
How I change the user to root?
Thanks
--
Atenciosamente
Breno Cardoso Perucchi
[EMAIL PROTECTED]
Consultor - Omega Tecnologia
http://www.omegat
try using nl2br() on it before you print it.
Adam
On Thu, 12 Sep 2002, Tom Ray wrote:
> Nope still comes up with everything in one big line. I'm running through
> different options right now..but I'm tired and my brain is starting to
> hurt :)
>
> Adam Williams wrote:
>
Nope still comes up with everything in one big line. I'm running through
different options right now..but I'm tired and my brain is starting to
hurt :)
Adam Williams wrote:
>try with and see if that works.
>
> Adam
>
>On Thu, 12 Sep 2002, Tom Ray wrote:
>
>
>
>>Yes, but how d
Hello,
maybe someone can help me.
i have specified the *.PFB and the *.AFM file. this all works
by setting the encoding to
pdf_set_font("the_typo_name",size,"winansi",1);
i got the error :
Warning: Internal PDFlib warning: Can't reencode Symbol font
'TheSansBold-Caps' (using builtin) in where
try with and see if that works.
Adam
On Thu, 12 Sep 2002, Tom Ray wrote:
> Yes, but how do you format the information that comes back out of the
> whois? I'm doing this:
>
>
> $whois = system("whois [EMAIL PROTECTED]");
>
> print "$whois";
>
> ?>
>
> But all the information i
Yes, but how do you format the information that comes back out of the
whois? I'm doing this:
$whois";
?>
But all the information is shown as one big line, no breaks or anything.
How would I do this so it showed properly formatted output?
Adam Williams wrote:
>Have a php page that runs exec(
Hi,
I wrote a command line script which makes some administration things on my server.
The script is setuid (set uid to root).
I call the script simply through its name.
I've put a >>print getuid()." ".get_current_user();<<< in the script to see under
which
user it is running.
When I su
I am trying to get a script to work to retrieve data from a MS SQL database.
I also tried using a ODBC connection, but that didn't work either.
Here is the error I get;
Warning: MS SQL: Unable to connect to server: LocalServer in
C:\WEBS\CTTechCouncil\stocks\mssql.php on line 7
DATA
You are absolutly correct.
Thx!
=P e p i e D e s i g n s
www.pepiedesigns.com
Providing Solutions That Increase Productivity
Web Developement. Database. Hosting. Multimedia.
On Thu, 12 Sep 2002, Chris Boget wrote:
> > The above process works, as far as replace the place holders, and prin
if ($post == "post") {
postBlog ($post,$input,$title);
}elseif ($post == "edit"){
updateBlog ($input,$edit_post); // < BINGO!
}
Just looking at the code you posted to your site, there's only one thing
obvious to me: You want to use $edit_blog in t
> -Original Message-
> From: Erwin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 12, 2002 11:02 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Displaying PDF file
>
>
> Joseph Szobody wrote:
> > Thanks Erwin, that helps but I'm still not getting it to work.
> > Should I st
On Thu, 12 Sep 2002, Hankley, Chip wrote:
> fwrite($fp, " If $LayerScale is defined, then fwrite outputs the value of $LayerScale to
> the target, NOT the string $LayerScale.
> How can I overcome this?
fwrite($fp, "http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John
Include your template this way:
$file_name="templates/somefile.php"
$New_Content1 = 'This is the new text';
$New_Content2 = 'This is the other text';
include $file_name;
In the template file, have etc wherever the
content should appear.
Then you can put other php code in the template f
I have an application where I need to write PHP code to a file that will be
used later...but it's not working the way I'd expect.
When I issue the following:
fwrite($fp, "http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> The above process works, as far as replace the place holders, and printing
> the new content (which is an HTML file). However, it will not process PHP
> scripts, within the template.
If it's really a template, why does it have PHP scripts within? Why not just
replace those scripts with place h
Hello everyone.
I want to implement templates in a site, but am having trouble processing
php within the template file. The application flow is as follow:
-open the template file (which has some place holders) with
$fileHandler = file($file_name)
-Replace placeholders (within the template fil
Hello all,
I've got a bit of a code problem that's been baffling
me for a while now.
I'm working on a basic weblog system for personal use,
using MySQL. I've got the "new post" and "delete a
post" aspects working fine, but for some reason, I
can't get the "update a post" part happening.
What
> -Original Message-
> From: Peter J. Schoenster [mailto:[EMAIL PROTECTED]]
>
> Hi,
>
> I've got a customer who needs a banner rotation system. I don't want to
> recreate any wheels and I'm tryin to avoid a lot of research.
Have a look at phpAdsNew
http://sourceforge.net/projects/phpadsne
Indeed, it is a negated something or other.
> -Original Message-
> From: David Buerer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 12, 2002 11:23 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [PHP] Re: unless something...
>
>
> True, but isn't unless just a negated while?
--
P
True, but isn't unless just a negated while?
q.e.d.
while ($c==$a OR $c==$b)
{
blabla
exit 0
}
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: unless something...
There is
There is no 'unless' in PHP, so you just have to grind it out. If you are
searching for known strings, rather than string *patterns*, use the strstr()
function here: http://www.php.net/manual/en/function.strstr.php.
So, something like:
if(!strstr($c,$a) && !strstr($c,$b)) {
bla;
exit;
}
Com
Hi,
I've got a customer who needs a banner rotation system. I don't want to
recreate any wheels and I'm tryin to avoid a lot of research.
I'd like one that doesn't use globals, it uses PEAR classes and preferably
uses the Smarty template system or another template system, or you've used
it an
Lo all,
I get a timeout on line 523 of my code (posted and marked below). However,
I fail to see where the timeout is occurring, and even debugging
(mysql_error()) doesn't report anything wrong!
I'm baffled as to what exactly is causing this timeout The code is
currently on Apache (Win32)
jEdit is nice
www.jedit.org
Seán Dillon wrote:
>As an fan of Homesite for many years I'm a little annoyed I can
>no-longer purchase the product seperately, so am going to be
>stuck with v5.0 as I don't fancy the idea of forking out
>for Dreamweaver MX.
>
>I'm looking for (hopefully) a GNU/GPL Op
First some background. I have two "servers":
1) Windows XP with Apache 1.3.26 and PHP 4.2.2
2) GNU/Linux with Apache 1.3.26 and PHP 4.2.3 compiled in statically
Both are working well, but I now want to add PDFlib support to both servers.
On the win32 machine it was as easy as uncommentin
In the past I've been using TextPad and UltraEdit but really want
something that picks up on PHP syntax and function spelling (eg
Homesite would 'bold' a function word if it was splt correctly).
Just download the PHP syntax file for TextPad.
Dave
--
PHP General Mailing List (http://www.
Hi,
I'm looking for somebody to give me a hand to create some expressions to
extract my information out of an ebay auction page. So that I can manage
them more effectively.
I've try lost of patterns but can't seem to get the hang of it.
Is there anybody willing to lone their brain to a php n
[snip]
SELECT customer.customer_id, customer.customer_name,
business_unit.business_unit, customer.created_date, CONCAT_WS(", ",
username.last_name, username.first_name), history.modify_date, CONCAT_WS(",
", modified.last_name, modified.first_name), history.description
FROM `customer`
LEFT OUTER JO
All,
I apologize up front for being off topic, but I don't want to have to
subscribe to other lists unless necessary. I know that someone on this list
should be able to help me out.
I have the SQL string below that I am running. The problem I'm having is
that the history table being called in
Sorry if this question has been asked before...
Is it possible to build PHP on Windows using Borland's C++ Builder? All
the docs I've seen talk about MS Visual C++, so I wondered if that's the
only compiler that will build it. I've not seen any mention of other
compilers.
Cheers,
Richy
===
if ($A != $C || $B != $C) {
I think, but im fairly new
"Magnus Solvang" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm used to the unless-statement in perl... How do I do this:
>
> if string A or B are NOT in string C, then do something and quit.
>
> I
Thanx friends
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eg ...
$var = 'value';
function myFunction($var2)
{
GLOBAL $var;
$var = $var2;
}
"Skitum" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
Maybe a stupid question, but i have to make it:
How can a local variable pass its value to a global one?
I
I have a large binary file (50+ megs) ... I want to read the first 1k
bytes, make changes, and write a new file with the new 1k bytes plus the
balance of the original file unchanged.
I've tried several different ways of doing this, but nothing works, and I'm
out of ideas - any suggestions as t
I'm used to the unless-statement in perl... How do I do this:
if string A or B are NOT in string C, then do something and quit.
In perl, I would do this:
unless ($c =~ /$a|$b/) {
blabla
exit 0
}
- M
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Ok I think it's working now. When I click the link going directly to the PHP
script, it's displaying the PDF file in the browser appropriately. Exactly what I want.
Now some of these PDF docs are so big, they could take a while to show up if a
client is on a slow connection. So now I wa
I'm writing a web app with php, and would like to do the following:
when an error occures (a php/apache error or an application error) the error
is logged to a log file. The user is displayed a page that says 500 internal
server error, and nothig more. I have access to .htacces and no access to
ph
Hi all,
Maybe a stupid question, but i have to make it:
How can a local variable pass its value to a global one?
Is it possible?
Thanks in advance.
Peace & Love
skitum
that'll work because PHP will change its cast from a currency to a
integery before adding.
Adam
On Thu, 12 Sep 2002, David Buerer wrote:
> OK y'all, go ahead and shoot me, but this is what I'd do:
>
> $mystring="enters $56.55 for example";
> $mynumber=$mystring+1-1;
>
>
As an fan of Homesite for many years I'm a little annoyed I can
no-longer purchase the product seperately, so am going to be
stuck with v5.0 as I don't fancy the idea of forking out
for Dreamweaver MX.
I'm looking for (hopefully) a GNU/GPL Open source product that
supports PHP syntax (and prefera
OK y'all, go ahead and shoot me, but this is what I'd do:
$mystring="enters $56.55 for example";
$mynumber=$mystring+1-1;
$mynumber now equals 56.55 If you want the . to go to, use the other
methods.
-Original Message-
From: Jason Caldwell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, Se
I think you need change permissions the file that holds configurations
settings for php-nuke.
Read the install instructions it's in there
chmod 665 config.ini
or whatever the name of the file is
Ryan A wrote:
>Hey guys,
>I just setup php nuke (damn,thats a big package) but the problem is that
Ryan A wrote:
> Hey guys,
> I just setup php nuke (damn,thats a big package) but the problem is
> that i cannot create a super user ,go the admin, or do anything
>
> when i go to index.php it tells me to create a super user by clicking
> the link,after i click that link i go to admin.php and when
Hey guys,
I just setup php nuke (damn,thats a big package) but the problem is that i cannot
create a super user ,go the admin, or do anything
when i go to index.php it tells me to create a super user by clicking the link,after i
click that link i go to admin.php and when i fill that form,it jus
Joseph Szobody wrote:
> Thanks Erwin, that helps but I'm still not getting it to work.
> Should I still use the
>
> Header("Content-type: application/pdf");
>
> line?
>
> I tried using readfile() keeping the header. When I click the link to
> the PHP script that should show me the PDF
> |Serie C2 Round 2|09.09.02|20.45|Sangiovannese|Florentia Viola
> |Serie C2 Round 2|09.09.02|20.45|Gualdo|Florentia Viola
>
> So for example, lets say I wanted to make another html form
> that has a form
> field for List team by: and and select either "home" or "away" ... by
> selecting "home",
Thanks Erwin, that helps but I'm still not getting it to work. Should I still use
the
Header("Content-type: application/pdf");
line?
I tried using readfile() keeping the header. When I click the link to the PHP script
that should show me the PDF, the IE status bar says something like
Joseph Szobody wrote:
> I've made a website for a real estate appraiser, who wants to put all
> his appraisals for his clients online. I have stored these PDF
> documents in a folder outside of the webserver folder, for security.
> When a client successfully logs in and clicks the link to biew the
Adam Williams wrote:
> make a directory called phptest and put a file, index.php in
> it...never
> tried it tho.
In that case you will have to call http://localhost/phptest/?id=22
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
Hi..
anyone know any function to convert numeric values to word..
something like this:
1252 --> one thousand two hundred and fifty two
Thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've made a website for a real estate appraiser, who wants to put all his appraisals
for his clients online. I have stored these PDF documents in a folder outside of the
webserver folder, for security. When a client successfully logs in and clicks the link
to biew the PDF, I have a PHP script t
Heh good so you're not a complete n00b then :P Luckily I had a fairly
decent grounding in html and css as well when I got going - I'm just
putting the finishing touches on my first serious project atm using OO
style php which made the learning curve about 10 times steeper as I had
no previous exp
make a directory called phptest and put a file, index.php in it...never
tried it tho.
On Thu, 12 Sep 2002, LI DONG wrote:
> Hello everyone,
>
> It is a question about .php file extension. Is there any way to access PHP4
> script in Apache 1.3.x without .php extension? For example, how to use
>
>
make a .htaccess file like this
ForceType application/x-httpd-php
ForceType application/x-httpd-php
ForceType application/x-httpd-php
This makes the file main boards read php files
What we do with it is make dynamic pages look like dirs for example
sportnetwork.net/main/s85.php would just
Hello everyone,
It is a question about .php file extension. Is there any way to access PHP4
script in Apache 1.3.x without .php extension? For example, how to use
http://localhost/phptest?id=22
instead of
http://localhost/phptest.php?id=22
Thanks a lot!
ld.
Html is something i do in my sleep :P thankfully I've been good enough with
it to make a decent living with it. What you mention is quite logical, as i
would find myself correcting the ppl coding the databases and/or scripts by
saying, stuff like "you realize that when the info is returned like th
That's an expansive reply! Cheers Peter
Since I had to alter the db (quite simply) to include this tweak, I thought
best to do it now in dev phase (and keep it as an option), that mess around
with it later when lots of data exists.
It's my own code, and benchmarks show it to perform fast. However
Hi all,
One of my customers needs to show magazine & newspapers reviews of his
work, which are scanned in such a low res due to a file size matter, that
the images are not quite readable. Can I convert large size images to pdf
with PHP in order to show them faster on-the-fly? Will this be better?
Heh - I know how you feel.
I'm an ex network tecchie fighting my way through a career change to web
developer - spent some time messing with various scripting tools and so
forth, but never really had any formal coding experience until I hit php
- if you want some advice on learning php mine is sp
Rick,
Someone had mentioned doing the following:
<<
$name = $_POST['name'];
$message = $_POST['message'];
at the top of your script to enable the variables.
>>
Or, you could try this at the top of every page:
global $HTTP_POST_VARS;
global $HTTP_GET_VARS;
and then use:
$_POST["field_name"]
If you can't do a exec or system call on your server, then look at the
many examples of whois scripts here:
http://www.hotscripts.com/PHP/Scripts_and_Programs/Networking_Tools/Whois/
some of which use sockets or other methods which might be allowed on your
server
Also for reference, www.hotscript
The detailed answer, I have no idea.
The simple answer, currently there compatibility is NOT stable, but will
be soon
~ Matthew
-Original Message-
From: Aaron Gould [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:35 AM
To: PHP-GENERAL
Subject: [PHP] PHP or Apache proble
I have no idea what that means, sorry :)
My point for wanting to do this isnt because I really want to make a list of
the home teams or whatnot. But obviously, at some point, I am going to have
to learn how to split different bits of information, how organize them in
certain ways, in certain orde
I have recently installed Apache 2.0.40 with PHP 4.2.3 on a development
server...
When I type the IP address of the server into my browser, all I see is PHP
code. However, when I type the IP address, with the "index.php", it works
perfectly! Why would one work and not the other?
192.168.1.
You can use PHP and file() to do with, along with the str functions, but
if I were you and you already know what the filename of the file is you
are working on (or can submit it via a form) I would use the unix command
cut to do the operations on the file. Use another exec() or system() and
have
Thanks for the reply :P
I found it actually. Now I have the apache and php running, and am able to
run my aforementioned test script locally. I am still looking through the
manual now for the syntaxes and such. I am also looking on the web for some
simple prewritten scripts to run and then try to
Have a php page that runs exec() or system() and does a whois query on the
domain you want and then have it output the text to a page. Very simple
to do, less then 2 minutes of coding.
Adam
On Thu, 12 Sep 2002, yasin inat wrote:
> please anyone can help me about
After being told off on the dev list I have posted this on this list (I
thought it was techie enough to go on that list but I was wrong)
I am running a large PHP/MySQL/Apache driven website and I am finding that
the apache Processes get larger and larger as the days go on. When I
stop/start a
[snip]
As far as Apache is concerned, I looked at the website, yet couldnt find the
exact server software, so if you could provide me with a direct link I'd
appreciate it. It would be to my benefit however, if I could not only serve
myself html pages as http:// but also as file:// as internet cost
Looking for this file, php_pgsql.dll
running php 4.1.2 on w2k.
anyone where i can find it.
Regards
Nyon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 135 matches
Mail list logo