Mark Sargent wrote:
Hi All,
keep getting this error with make on Fedora 3, home machine.
Successfully installed on work FC3 machine earlier today. I did make
twice, to no avail, and then redid the configure then another make,
with the same results.
collect2: ld returned 1 exit status
make
x27;t find
ClearModuleList anywhere. Cheers.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
whole
bunch of AddModules, put it at the bottom of that list.
Chris
Mark Sargent wrote:
Hi All,
what line number is the following on,
And in the AddModule section of httpd.conf, somewhere under the
ClearModuleList, add this:
For PHP 4:
AddModule mod_php4.c
For PHP 5:
g_common.php
<http://localhost/base-1.1/base_ag_common.php> 04-Apr-2005 05:26 3.5K
a listing of the dir, which, I guess, is not too good. What have I done
wrong here..?
Cheers.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
David Robley wrote:
Mark Sargent wrote:
Hi All,
typing localhost/bse-1.1 gives me access, but, in this format,
Index of /base-1.1
Icon Name <http://localhost/base-1.1/?C=N;O=D>Last
modified <http://localhost/base-1.1/?C=M;O=A> Size
<http://localhost/ba
Mark Sargent wrote:
David Robley wrote:
Mark Sargent wrote:
Hi All,
typing localhost/bse-1.1 gives me access, but, in this format,
Index of /base-1.1
Icon Name <http://localhost/base-1.1/?C=N;O=D>Last
modified <http://localhost/base-1.1/?C=M;O=A> Size
<h
test machine.
What should I look for to fix this..? Cheers.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mark Sargent wrote:
Hi All,
I've installed phpmyadmin and have a snort database in mysql, but, it
doesn't appear in phpmyadmin. I know it's there, because base is using
it to display info from snort on the machine. Why wouldn't it appear
in phpmyadmin. It appears with the sa
Eugene, your reply-to address is set
-Original Message-
From: Mark Rees
Sent: 15 April 2005 09:08
To: 'Eugene Voznesensky'
Subject: RE: [PHP] Reverse plural forms to singular for search
That sounds like a nightmare! Assuming you are talking about English,
you might be able to
Your best bet is to check that the data has not already been inserted
rather than try to fiddle with the post:
Don't know what db you are using but something like
IF NOT EXISTS (SELECT X FROM Y WHERE Z=1)
INSERT INTO Y VALUES X
Cheers
Mark
-Original Message-
From: Nieko Ma
Hi All,
I can access the database from the terminal on Fedora 3,
[EMAIL PROTECTED] bin]# ./mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.10a-standard
Type 'help;' or '\h' for help. Type '\
Marek Kilimajer wrote:
Mark Sargent wrote:
Hi All,
I can access the database from the terminal on Fedora 3,
[EMAIL PROTECTED] bin]# ./mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.10a
data in and reading it out, but it can be done. I recall
implementing a document storage system in SQL Server a few years ago -
you will see a lot of advice both ways but actually the filesystem and
the db are both suitable for this. It really depends on what your
requirements are.
Mark
like
DELETE FROM profile_visits
WHERE user='billy'
AND time_of_visit NOT IN (
Select time_of_visit
FROM
profile_visits
WHERE user='billy'
ORDER by time_of_visit DESC LIMIT 10
)
Should give you an idea.
Mark
-Original Message-
Why not try selecting both the short and the full values of loc1 from
the database? Then you can display them both in the html output.
Select loc1, left(loc1,3) as locx, etc
Have I missed your point here?
Mark
-Original Message-
From: Sugimoto [mailto:[EMAIL PROTECTED]
Sent: 20
You might consider using JavaScript to set the cookie, as that will
execute on the client and therefore use the client's time to make any
calculations regarding expiry. This may or may not suit your purpose.
Mark
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sen
Be very careful with timezones. If you have dedicated servers with full
control over each one, you can simplify this by setting them all to the
same timezone. If not, you have a lot of work to do.
Mark
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 08
#x27;t fit.
Mark
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 14:16
To: php-general@lists.php.net
Subject: RE: [PHP] image maps in PHP
> Hi!
> I need to create an image map on a country map, where people
> can click on any state and get some info
:34
To: Mark Rees
Subject: Re: [PHP] image maps in PHP
Mark Rees wrote:
> Yes, I once did this for all the states in Brazil. It took me a few
> hours to trace the states, but it looked beautiful when it was
> finished. This will already have been done for the states many times -
&g
Use a counter when iterating through the results
When counter % (modulus) 3=0 then write a new row
Mark
-Original Message-
From: Simon Allison [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 15:00
To: php-general@lists.php.net
Subject: [PHP] Repeat Accross, then down
Say for a photo
Look into the INFORMATION SCHEMA views in SQL Books Online for a
starting point.
Mark
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 15:51
To: PHP General
Subject: [PHP] MSSqlServer table/field information
Is there a way to programatically get
over what language is "better" than another to be
less than constructive anyway. Better to just do your work and let it
speak for itself.
Mark C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
onkey.wired.com/webmonkey/99/21/index3a.html
Cheers.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Drewcore wrote:
just put a @ symbol before the function calll, eg
while ($myrow = @mysql_fetch_row($result)) {
etc
On 4/25/05, Mark Sargent <[EMAIL PROTECTED]> wrote:
Hi All,
get the following error when calling data from mysql,
*Warning*: mysql_fetch_row(): supplied argument is not a
Hegedűs Balázs wrote:
Hi all,
ever tried to test if your connection to the database succeeded? maybe
that's why it shouted that "...not a valid result resource..." msg.
Balazs Hegedus
Mark Sargent wrote:
Drewcore wrote:
just put a @ symbol before the function calll, e
the left 1. Meaning
product_model_number is being displayed as product_name and so forth.
What is wrong with the code.? Cheers.
Mark Sargent.
$result = mysql_query("SELECT product_name, product_model_number,
23 product_serial_number FROM Products",$db);
24
25
26
27 echo "\n
te.Here is my second title.
What incredibly easy way to do this am I just missing? Thanks! :)
Hi All,
crikey, you'd think I woulda seen that myself. Forgot something so
fundamental...it's been a while since I played with programming..it
shows..cheers.
Mark Sargent.
--
PHP General Mailing
don't see what
it is. Anyone..? Cheers.
Mark Sargent.
*Parse error*: parse error, unexpected T_ELSE in
*/var/www/html/phpmysqltable.php* on line *41*
25 if ($myrow = mysql_fetch_array($result)); {
26
27 echo "\n";
28
29 echo "Product NameProduct Model
Numbe
inspiration. You have to go after it with a club."
-Jack London
Hi All,
yep, basics are good, hence my following the tut at webmonkey(so I can
learn the basics), which had the code like that. Cheers.
P.S. Some people are mailig me direct. That's great, but, I'd prefer you
reply
Mark Sargent wrote:
Ed Dorsch wrote:
Can PHP generate an array based on file names in a folder?
For example, if I have a folder called "photos" that includes three
files -- tree.jpg, house.jpg and boat.jpg -- can PHP "look" at the
file and generate a variable $photos= a
Prathaban Mookiah wrote:
Mark,
Back to basics budy!!
25 if ($myrow = mysql_fetch_array($result)); {
should be
25 if ($myrow = mysql_fetch_array($result)) {
Note that extra semicolon?
Prathap
-- Original Message ---
From: Mark Sargent <[EMAIL PROTECTED]&
-control and expiring pages than meets the eye, do a
search on it or read the rfc. Ultimately it is down to how user agents
interpret those commands, and there is no substitute for testing...
Mark
-Original Message-
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: 26 April 2005 09:55
To
Hello I have some questions:
1.How I can make a optional argument in function that if I dont mention
it in my code does not make problem?
Start here
http://www.php.net/manual/en/functions.arguments.php#functions.variable-
arg-list
2.How I can see apache or IIS headers? Thanks
http://www.google
instead of
the proudct's details being displayed, based on that id, I get the
original page, with the lnks. I've right clicked the links, and viewed
properties, where I see that the id=n is set. Why doesn't it pull the
record based on the id being passed..? Cheers.
Mark Sar
Petar Nedyalkov wrote:
On Wednesday 27 April 2005 08:54, Mark Sargent wrote:
Hi All,
this page,
http://webmonkey.wired.com/webmonkey/99/21/index3a_page3.html?tw=programmin
g
has code that is supposed to pass an id via the url string to the same
page, and display info of a particular product
pdate
query.
This way, you don't need to worry about what the browser does when the
user hits back, or which page it serves
Mark
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 06:03
To: Matthew Weier O'Phinney
Cc: php-general@lists.php.net
Su
Richard Lynch wrote:
http://php.net/register_globals
On Wed, April 27, 2005 12:20 am, Mark Sargent said:
Petar Nedyalkov wrote:
On Wednesday 27 April 2005 08:54, Mark Sargent wrote:
Hi All,
this page,
http://webmonkey.wired.com/webmonkey/99/21/index3a_page3.html?tw=programmin
g
has
that called the header in # 4 ? In
other words, I want the name of #1 to be reported in #4. If I use
$_SERVER["PHP_SELF"], that variable reports the name of #4. It gets a little
tricky because #3 is called from within a JavaScript tag.
Got any suggestions?
Mark Cain
cho array_key_exists('c', $a)? 'empty':'not empty';
Mark Cain
- Original Message -
From: "Gabriel Birke" <[EMAIL PROTECTED]>
To:
Sent: Sunday, May 01, 2005 4:47 PM
Subject: [PHP] empty function and array indices
> Hello!
>
> Suppos
thing like that.
Mark Cain
- Original Message -
From: "Thomas Bonham" <[EMAIL PROTECTED]>
To:
Sent: Sunday, May 01, 2005 10:39 PM
Subject: [PHP] Newbie Help
> Hello All,
>
> First of I'm new to this a hop I'm doing this right.
>
> If some one ca
first remove the space between GET and [
I think this keeps your script from find the variable "page"
secondly the variable "page" already has the php extension being passed to
it via the GET statement
make the include like:
{include($_GET['page']);}
try it and le
the variable -- resulting in main.php, links/index.php.php,
email/email.php.php and so forth.
Do it one place or the other -- but do it consistently.
Looks like you're close to getting it to work and I'm close to going to bed.
Mark Cain
> >>The code that I'm trying to
_data;
or a little more succinctly
$my_data = "foo bar";
$new_data = preg_replace('/(.*)(<\/.*>)$/i', '$1' . $my_data . '$2',
file_get_contents('./test.txt'));
echo $new_data;
Mark Cain
- Original Message -
From: "Jared Sherman&
-Original Message-
From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]
Sent: 03 May 2005 17:49
To: php-general@lists.php.net
Subject: [PHP] Check for doubleposts
Hi,
what is the easiest way to check if a person i registered twice in a
mysql-table. Lets assume that I only check if the l
_data;
or a little more succinctly
$my_data = "foo bar";
$new_data = preg_replace('/(.*)(<\/.*>)$/i', '$1' . $my_data . '$2',
file_get_contents('./test.txt'));
echo $new_data;
Mark Cain
- Original Message -
From: "Jared Sherman&
The following code was taken directly from
www.php.net/date
$dob_month || ($dob_month==$cur_month &&
$cur_day>=$dob_day) )
return $cur_year-$dob_year;
else
return $cur_year-$dob_year-1;
}
?>
Mark Cain`
- Original Message -
From: &q
Does this help?
Select
*
From
Projects
Order By
Relate,Title
If not, please provide more details on the output you want to see and
the structure of your table
Mark
-Original Message-
From: Ahmed Abdel-Aliem [mailto:[EMAIL PROTECTED]
Sent: 02 May 2005 21:49
To: php-general
you how many websites are on that server. I ran across one the other day
that had about 4.000 websites on it.
http://www.whois.sc/e-zekiel.com
Mark Cain
- Original Message -
From: "Computer Programmer" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 04, 2005 7:44 AM
Subjec
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 00:29
To: php-general@lists.php.net
Subject: [PHP] Tracking what has been changed
Here's the scenario...
I am building a site in which users will be able to create and then
later edit personal information. Wh
-Original Message-
From: Ross [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 10:16
To: php-general@lists.php.net
Subject: [PHP] insert not working
$query = "INSERT INTO sheet1 (title, fname, sname, job_title,
organisation,
street, postcode, city, telephone, mobile, fax, email, web, add_in
I strongly recommend that you convert the db column to the datetime datatype if
at all possible. However if you do wish to do it this way, read:
http://dev.mysql.com/doc/mysql/en/date-and-time-functions.html
And if you can't get it to work, bear in mind that STR_TO_DATE() is available
as of MyS
You could try this link. I know that you will find something there:
http://www.phpclasses.org/
Mark Cain
- Original Message -
From: "Bosky, Dave" <[EMAIL PROTECTED]>
To:
Sent: Friday, May 06, 2005 12:44 PM
Subject: [PHP] need class to send email w/attachments
Any rec
M. Sokolewicz wrote:
> Rory Browne wrote:
>
>> What might be more useful is stripping out comments, If you don't use
>> javascript it is simply a case of replacing all with
>> a blank space. If you do though it's more complicated since it is
>> considered good practice to place js inside blocks,
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: 08 May 2005 11:56
To: php-general@lists.php.net
Subject: [PHP] I'm having a blond moment with a while loop???
Hi guys,
I'm doing something dumb but I can't see it.
The basic premise is:
sql search of orders sort
-Original Message-
From: Francesco Casalena [mailto:[EMAIL PROTECTED]
Sent: 09 May 2005 10:18
To: php-general@lists.php.net
Subject: [PHP] need manual reload on Mac client
Hi,
I've a strange problem on this scenario:
-SERVER MacOs X server w/
Apache's httpd2, MySql Max, PHP5
-Original Message-
From: Mikey [mailto:[EMAIL PROTECTED]
Sent: 09 May 2005 15:40
To: php-general@lists.php.net
Subject: [PHP] Accessible HTML - OT
Hiya!
I have just come back from the client visit and one of the issues that
arose was over the use of accessible markup, more specifical
$db);
$myrow = mysql_fetch_array($result);
$num = mysql_num_rows($result);
?>
Product Type
$i=0;
while ($i < $num){
$product_type=mysql_result($result,$i,"product_type_detail");
echo ""
}
$i++
?>
I get the folowing error,
*Parse error*: parse error, unexp
Testing receipt of post..cheers.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Prathaban Mookiah wrote:
I guess it is the missing semicolon.
And you can write:
echo ""
as simply
echo "$product_type"
Prathap
-- Original Message ---
From: Mark Sargent <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Tue, 10 May 2005 13:23:51
Mary-Anne Nayler wrote:
oh, and the i++ should be inside the while loop and there is also a
missing semi colon after the echo, ie;
$i=0;
while ($i < $num){
$product_type=mysql_result($result,$i,"product_type_detail");
echo "";
$i++ ;
}
Mark Sargent wrote, On 10/05/05 02:2
In addition to the valid suggestions thus far, another option which may
suit your purpose is to display an image from webserver2 in the page on
webserver1. You can put a JavaScript redirection in the image's onload
event.
-Original Message-
From: Brent Baisley [mailto:[EMAIL PROTECTED]
Se
Hi All,
with wanting to show both product types(Switch, Router etc) and
Makers(Cisco, Avaya, etc) on the one page in select boxes, I was
wondering, do you use 2 seperate queries to the database or do you inner
join to get all in 1..? I have set up different tables with related id's
etc. So, to
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 11 May 2005 07:17
To: php-general@lists.php.net
Subject: [PHP] SQL Date guru in the house?
Hi All,
I have a small problem.
I have a project in which someone has got three integer fields for
holding the date
Hi All,
with wanting to show both product types(Switch, Router etc) and
Makers(Cisco, Avaya, etc) on the one page in select boxes, I was
wondering, do you use 2 seperate queries to the database or do you inner
join to get all in 1..? I have set up different tables with related id's
etc. So, to
Richard Lynch wrote:
>You could do all this...
>
>Or you could just move the files outside your web tree and change your
>include path. [shrug]
>
>
This is probably true, but I was thinking of a virtual hosting
environment where its easier to maintain the code when its all in a
sub-director
Mark Rees wrote:
Hi All,
with wanting to show both product types(Switch, Router etc) and
Makers(Cisco, Avaya, etc) on the one page in select boxes, I was
wondering, do you use 2 seperate queries to the database or do you inner
join to get all in 1..? I have set up different tables with related
you're looking for, you
need to describe what your goal is. You might also give more of your
table structure since you're asking about joins.
kgt
Mark Sargent wrote:
Hi All,
with wanting to show both product types(Switch, Router etc) and
Makers(Cisco, Avaya, etc) on the one pa
Richard Lynch wrote:
On Wed, May 11, 2005 10:19 pm, Mark Sargent said:
I'll try this differently(I hope). With the below code, variables are
named/set twice ($db, $num, $result, $myrow) etc. In ASP, from what I
remember, that would be a no no. Currently, this code only populates the
r_num; $i++){
$maker_myrow=mysql_fetch_array($maker_result);
$maker=mysql_result($maker_result,$i,"maker_detail");
$maker_id=mysql_result($maker_result,$i,"maker_id");
echo "$maker";
}
?>
*Warning*: mysql_num_rows(): supplied argument is not a valid MySQL
result resourc
Hi All,
is anyone else experiencing this.? Over an hour for my posts to be seen.
Happening from work and home. Cheers.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
On Thu, May 12, 2005 12:17 am, Mark Sargent said:
Hi All,
ok, this revised code produces the error below,
You took out the mysql_connect completely???
Don't do that.
mysql_select_db("status",$db);
$maker_result = mysql_query("SE
Richard Lynch wrote:
On Thu, May 12, 2005 12:17 am, Mark Sargent said:
Hi All,
ok, this revised code produces the error below,
You took out the mysql_connect completely???
Don't do that.
Sorry, was following what you suggested b4, no..?
$db = mysql_connect("localho
You could try sending all the data to the client at once then achieving
the delay effect with JavaScript perhaps? That way, you are not reliant
on external factors like connection speed.
On Thu, May 12, 2005 8:38 pm, James Williams said:
> I just tried a couple of output_buffering on a test script
-Original Message-
From: mayo [mailto:[EMAIL PROTECTED]
Sent: 16 May 2005 15:26
To: php
Subject: [PHP] Add to array problem
I'm having a little problem adding to an array. Each time I add to an
array it wipes what was previously added. I'm using array_push().
$items=array();
Looking at
FROM Customers WHERE
customer_username = $username AND customer_password = $password") or die
(mysql_error());
$myrow = mysql_fetch_row($result);
$customer_id = $myrow[0];
$_SESSION['customer_id'] = $customer_id;
?>
echo 'SQL Query: '.$result.'';
echo "Customer
I expect (indeed I sincerely hope) that customer_username AND
customer_password columns are character datatypes. So it would be a good
idea to put single quotes around the values you are trying to select
from them.
-Original Message-
From: Mark Sargent [mailto:[EMAIL PROTECTED]
Sent: 18
ions of JS CMS which
work wonderfully well on windows machine and appear broken on Macs.
Mark Cain
- Original Message -
From: "Dustin Krysak" <[EMAIL PROTECTED]>
To: "PHP"
Sent: Wednesday, May 18, 2005 6:02 PM
Subject: [PHP] html editor written in PHP
> Has anyo
You might find this interesting if you are working with hierarchies in
SQL
http://www.intelligententerprise.com/001020/celko.jhtml?_requestid=72430
3
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: 19 May 2005 07:35
To: Charles Kline
Cc: php-general@lists.php.net
S
mic site for my company, minus any bells and whistles interface
wise. Do I have to set something in php/apache for this.? Thanx.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ColourDescription VARCHAR
Mark
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 20 May 2005 00:12
To: php-general@lists.php.net
Subject: [PHP] OT - Table help needed~ PLEASE
Hi,
I am working on a program for a clothing manufacture and need some help
designing
This is a beginner's guide to SQL syntax, please review it
http://www.webdevelopersnotes.com/tutorials/sql/mysql_guide_querying_mys
ql_tables.php3?PHPSESSID=fb6c7c7a548b6a271a75d623ce04cc9c
The answer to your question (which someone has already given in a
previous reply to you) is
SELECT `User_n
(posted again with another syntax error corrected)
This is a beginner's guide to SQL syntax, please review it
http://www.webdevelopersnotes.com/tutorials/sql/mysql_guide_querying_mys
ql_tables.php3?PHPSESSID=fb6c7c7a548b6a271a75d623ce04cc9c
The answer to your question (which someone has already g
I'm not sure but I think it would depend on the programming language and
with php File I/O is slower then database (mySql anyway).
Where as Perl would probably be quicker with the text file.
I could be wrong though
Regards
Mark Cubitt
> -Original Message-
> From: Travis
to them since PHP doesn't have method signatures, meaning I
_don't_ know a priori what will be passed to them. Currently type checking
is mandatory if you want to avail yourself of a single method name.
Mark C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Debian testing system with a recent update to php-cgi 4.3.4.
I have been using the /usr/bin/php4 binary as a some.cgi with
a shbang line of "#!/usr/bin/php4" which worked fine up until
this recent 4.3.4 update. Now the new 4.3.4 php4 binary does
not produce a "Content-type: index/html\n\n" header
On Wed, 12 May 2004 08:41 pm, Jordi Canals wrote:
> A)$object = new MyClass;
> B)$object =& new MyClass;
> 1) In case A, PHP creates a new object and returns a Copy of this new
> object, so really I will have the object two instances for the object in
> memory ...
>
> 2) In case B, PHP cre
On Wed, 12 May 2004 09:42 pm, gowthaman ramasamy wrote:
> I have a problem in passing the value to another PHP script from the
> first one. can any one help me to debug it.
>
> ENCTYPE="text/plain">
> if(isset($_POST['submit']))
> {
> does many things
>
> $detail_file='testrun_hetero_srtdou
On Wed, 12 May 2004 10:43 pm, Lieve Vissenaeken wrote:
> Please ,could anybody help me ? I'm not so familiar with PHP.
>
> I've the following problem with my code when I try to make an object from
> the class "forum" with the code "$test=new forum()". I always get a
> warning on this: "Warning: M
On Wed, 12 May 2004 11:27 pm, Rudy Metzger wrote:
> On Wed, 2004-05-12 at 15:18, Mark Constable wrote:
> > You can at least make the below work by removing the first
> > forum() instance and using
> >
> > function forum($naam=NULL,$tijd=NULL,$tekst=NULL)
> >
&g
, referer: http://dinghy.homeip.net/upload.php
>
> Any thoughts?
If you are using apache, this might help:
http://httpd.apache.org/docs/mod/core.html#limitrequestbody
-Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Debian testing system with a recent update to php-cgi 4.3.4.
I have been using the /usr/bin/php4 binary as a some.cgi with
a shbang line of "#!/usr/bin/php4" which worked fine up until
this recent 4.3.4 update. Now the new 4.3.4 php4 binary does
not produce a "Content-type: index/html\n\n" header
9/30/2003# WHERE foo='bar';
or
UPDATE tablename SET date_field=NULL WHERE foo='bar';
if you want to make that field null. If it complains when you try to
set it NULL and you want it to be null, put 'No' for 'Required' for that
field in Design View.
-Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;, then I tried to pipe it to a
> program (the php interpreter) like this "|php /home/php-script.php"
> and that didn't work either.
try the full path:
|/usr/local/bin/php /home/php-script.php
or, if using qmail,
| /var/qmail/bin/preline /usr/local/bin/php /home/php-script.php
us
> From: Khan [mailto:[EMAIL PROTECTED]
> you have 'company_name' in SET and then again in WHERE. This looks fishy.
Very common, often required, and perfectly legal.
Mark C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cam
> list!!!
http://419eater.com/
This is way off topic, but still interesting...
-Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
except it isn't divided up (i.e. attachment is text)
Regards
Mark Cubitt
function send_mail($to, $from, $subject, $body, $attachment = '',
$attachmentDir = '')
{
$path_to_sendmail = "/usr/sbin/sendmail";
$fp = popen(&quo
reccomendations on what I could do to optimize, anyalyze etc. this?
Assistance appreciated.
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah, 4 will pass the is_int() test, '4' won't.
I prefere just to use if(ctype_digit($foo)){ ... }
On Tue, 29 Jun 2004 15:12:22 -0700 (PDT), Matthew Sims
<[EMAIL PROTECTED]> wrote:
> I recently purchased George Schlossnagle's Advanced PHP Programming and on
> page 85 in the Error Handling chapter
fined or undefined once they have been set'
'Constants may only evaluate to scalar values'
Unambiguous.
To paraphrase the comments from the old ANSI C group, "Any violation of the
rules may cause missles to fly from your nose".
Mark C.
--
PHP General Mailing List (http://ww
Is there any support for TGA images in PHP. I have been writing some code
to upload files, convert them to JPG and create thumbnails however I cannot
find any information on using TGA files as the source.
Can anybody help?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
1001 - 1100 of 1532 matches
Mail list logo