Mick
MICHAEL HALL Web Development Officer
Batchelor Institute of Indigenous Tertiary Education
W: [EMAIL PROTECTED](08) 8951 8352
H: [EMAIL PROTECTED](08) 8953 1442
--
PHP General Mailing List
ww.pepiedesigns.com
> Providing Solutions That Increase Productivity
>
> Web Developement. Database. Hosting. Multimedia.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
---
s. Read about
> inheritance of classes for more information. If you already knew the above
> and it doesn't help you, then just ignore it. I'm just trying to narrow
> down
> your problem. Good luck.
>
>
> > -Original Message-
> > From: Michael
s/object
functions, but have got nowhere yet.
Is this possible, and if so, does anyone have any pointers? Hope my description
of the problem makes sense.
TIA
Mick
MICHAEL HALL Web Development Officer
Batchelor Institute of
apart from attempting to add some kind of subjective "search
term" fields to the data, I can't see how else it can be done.
TIA
--------
MICHAEL HALL Web Development Officer
Batchelor Institute of Indigenous T
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
>
--
n i n t i . c o m
php-python-perl-mysql-postgresql
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> how can i grep out the line1,line2,line3 ??
> > do anyone out there have any idea ?
> >
>
>
>
>
--
n i n t i . c o m
php-python-perl-mysql-postgresql
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s a
Sablot-0.95.tar.gz package that won't untar which I guess is the source.
I found the directions about what packages I needed pretty confusing.
Any advice anyone?
I know I need to recompile PHP when Sablotron is installed.
TIA
--------
Michael Hall
s.
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
>
>
>
>
--
n i n t i . c o m
php-python-perl-mysql-postgresql
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Actually, there is Banother way and you should consider it.
Sensitive information like passwords should be kept in a file stored
outside the live web content directory (ie, outside DocumentRoot on
Apache). This file can then be included in your main file.
This way, you can be sure that a miscon
>
> Martin Clifford
> Homepage: http://www.completesource.net
> Developer's Forums: http://www.completesource.net/forums/
>
>
>
>
--
n i n t i . c o m
php-python-perl-mysql-postgresql
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tabase and populate variables accordingly
>}
> }
>
> My question is: will this work? does PHP OOP support more than one
> constructor? If my syntax is wrong, please let me know the correct syntax.
>
> Thanks
>
> David R
>
>
>
--
---
n i n t i . c o m
php-python-perl-mysql-postgresql
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t i . c o m
php-python-perl-mysql-postgresql
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
--
--------
n i n t i . c o m
php-python-perl-mysql-postgresql
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>THE DAILY PLANET
> >
> > SUPERMAN SAVES DESSERT!
> > Plans to "Eat it later"
> > */
> >
>
>
>
>
--
n i n t i . c o m
php-python-perl-mysql-postgresql
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nt opinion? Some of the archive messages
I read are quite old now.
--------
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s a specific user? I'm referring to a
DSO installation, where I assume that because PHP is 'part' of Apache, it
would be the same user as Apache.
--------
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (htt
{
> > > > ?>
> > > >
> > > > Denied!
> > > >
> > > > > > > }
> > > >
> > > > ?>
> > >
> > >
> > > --
> > > Jason Wong -> Gremlins Associates -> www.gremlins.com.h
e {
> > > ?>
> > >
> > > Denied!
> > >
> > > > > }
> > >
> > > ?>
> >
> >
> > --
> > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> > Open Source Software Systems Integrators
> > * W
doing things, but it does work.
> >
> > --
> > Tyler Longren
> > Captain Jack Communications
> > [EMAIL PROTECTED]
> > www.captainjack.com
> >
> >
> >
> > On Fri, 12 Jul 2002 10:02:40 +0930 (CST)
> > Michael Hall <[EMAIL PROTECTED]>
but the INSTALL file (or was it the message at the end of
the compile/make) was pretty clear about needing to provide a path if PHP
was going to share access to MySQL with things like mod_perl, mod_python,
etc.
I guess all will become clear when I unpack mod_python and have a go.
-----
;--enable-whatever" options be turned on/off in php.ini,
regardless of ./configure options?
Does the "-with-config-file-path" option set the expected path to php.ini
(I always thought it was to Apache)? How come PHP still works whether the
file is there or not?
TIA
---
pile PHP with a path to mysql:
--with-mysql=/somewhere/or/other/
1. Is this always the case?
2. Where would the path be likely to be on RedHat 7.2 with MySQL rpms?
TIA
--------
Michael Hall [EMAIL PROTECTED]
--
PHP Genera
; > tr -d "\r" htmlfile.htm
> >
> >
> >- Original Message -
> >From: "Michael Hall" <[EMAIL PROTECTED]>
> >To: "PHP List" <[EMAIL PROTECTED]>
> >Sent: Sunday, June 09, 2002 2:40 AM
> >Subject: [PHP] Removin
I am trying remove ^M characters (some kind of newline character) from an
HTML file. I've tried all sorts of ereg_replace and sed possibilities
but the
things just won't go away. Does anyone have a way of removing such
characters?
TIA
Mick
--
PHP General Mailing List (http://www.php.net/
The problem is that you haven't read the (mysql) manual. Either read the
> manual or search out (and read) the numerous tutorials that are available.
>
>
--
----
n i n t i . c o m
php-python-perl-mysql-postgresql
--
eck the
details there.
This assumes that you are on a Linux/UNIX server, and that PHP is an
Apache module, not a standalone CGI installation (where you could call
the script directly without using Lynx).
Michael Hall
On Mon, 3 Jun 2002, daniel cozzolino wrote:
> I want to have a php script pr
es un mensaje de Prueba con PHP"; %>
>
>
>
>
>
--
n i n t i . c o m
php-python-perl-mysql-postgresql
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lentless volume (of great, useful info).
TIA
----
Michael Hall [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 AM
> Subject: [PHP] HTML Checkboxes and PHP variables
>
>
> > Are HTML Checkbox values handled the same way as Select Multiple tags?
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
A couple of simple ones here ... the usual references don't appear to give
a straightforward answer on these:
Can arrays be passed to functions just like a simple variable?
Can arrays be passed as values in hidden form fields just like a
simple variable?
I've been playing around with these and
can use as front ends for these packages. I
>went to mysql.com
> and php.net and it seems that i can download both of these packages to my computer
>for free. Any
> help would be greatly appreciated.
>
> Thanks
> Indera
>
>
>
>
--
##
iguration -
> > if I use difference browser.
> >
> > IE :
> > 9ff68d81039d9ece3ba9840328b91488
> >
> > Opera :
> > 7aa4895172b5a4785c9fb754eaf792aa
> >
> > NN :
> > 1007630964
>
>
--
Michael Hall
ect DB");
>
> $get_image = "SELECT ImgType, ImgData FROM ImageTable WHERE PKey=$PKey";
>
> $get_image_result = mysql_query($get_image)
> or die ("Unable to get image.");
>
> $binary_junk = mysql_result($get_image_result,0,ImgData);
> $file_type = mysql_result($get_image_result,0,ImgType);
>
as opposed to mysql.
>
> are they different enough to cause any problems?
>
>
>
>
--
Michael Hall
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://openlearningcommunity.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
ated by the models produced by
> that manufacturer.
>
> I have two separate tables in a MySQL database, one for manufacturers
> and one for models with the latter containing a field for the
> manufacturer ID.
>
> Is this possible?
>
> Michael Egan
>
>
--
###
img,"../images/property/property_".$id.".jpeg");
Michael Hall
Web Development Manager / Sr. Programmer
Prairie Fire Internet Technologies
[EMAIL PROTECTED]
605.357.9700 ext. 14
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
ing that?
Mick
--
########
Michael Hall
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://openlearningcommunity.org
--
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 adminis
x27;$job_title', '$org_name',
> '$address1', '$address2', '$address3', '$address4', '$city', '$region',
> '$postal_code', '$country', '$email', '$mob_phone', '$
-
> Lars
> When mailing me, remember there is no truth in my mail!
>
>
>
>
--
####
Michael Hall
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://openlearningcommunity.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
be hard to hack one up.
Michael
On Mon, 26 Nov 2001, De Necker Henri wrote:
> I want to know where can i find a script that will allow a user to login
> every certain time period!
> I just cant get it right!
>
>
--
####
Michael Hall
[EMAIL PROTECTE
___
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>
--
Michael Hall
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://openlearningcommuntiy.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
I have tried starting a session in the main frameset file, then adding
to the URLs of the frame files, which sort of works but breaks where JavaScript
is used for buttons in one of the frames. JavaScript doesn't seem to cope with
the PHP tags.
Thanks
Michael
--
#####
I apologize for the only-vaguely-PHP-related nature of this, but I'm
endlessly impressed with the knowledge here.
I'm looking for a way to clamp down a network machine (we're on a T1) to
modem speeds (28 to 52 K) for testing purposes.
Is there software (preferably for Windows) that would do this
one have a solution.
Thanks.
Michael Hall
Lead Web Developer / Database Engineer
Prairie Fire Internet Technologies
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
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]
--
Michael Hall
mulga.com.au
[EMAIL PR
/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Michael Hall
mulga.com.au
[EMAIL PROTECTED]
ph/fax (+61 8) 8953 1442
ABN 94 885 174 814
--
PHP General Mailing List (htt
Alawi:
Generally speaking, this is a friendly list and people like to help if they can.
But it is not clear what you are asking for.
You need to give more detail or ask your question in another way.
Is this a PHP question?
Mick
On Sun, 05 Aug 2001, Alawi Albaity wrote:
> how can i to make m
Pty Ltd.
> The views expressed in this e-mail or attachments are the views of
> the author and not the views of Quillsoft Pty Ltd.
> You should only deal with the material contained in this e-mail if
> you are authorised to do so.
>
> This notice should not be removed.
>
>
st (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]
--
Michael Hall
mulga.com.au
[EMAIL PROTECTED]
ph/fax (+61 8) 8953 1442
ABN 94 885 174 814
--
PHP General
TECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Michael Hall
mulga.com.au
[EMAIL PROTECTED]
ph/fax (+61 8) 8953 1442
ABN 94 885 174 814
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
thing?
>
> Best regards,
>
> Jome
>
>
> --
> 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]
--
Mic
___
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To conta
gt;
> --
> Jason Murray
> [EMAIL PROTECTED]
> Web Developer, Melbourne IT
> "Work now, freak later!"
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
ow!
>
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e
Me too. I've never had a problem with Postfix. It just dropped in in Sendmail's
place and has worked wonderfully ever since. Great piece of software.
Mick
On Wed, 18 Jul 2001, Christopher Allen wrote:
> Also, postfix works fine for me...
>
>
> > On a side note, qmail has a wrapper that preten
This libmcal sounds like something I've been needing for another project.
Unfortunately, I'm on a Windows platform. Is there any way to get this
functionality on Win32?
I downloaded the tar.gz file with teh libmcal library in it, but I have no
idea what I would do next.
> -Original Messa
I am having a devil of a time getting any extensions to load on my Windows
machines.
I have the php.ini set up as follows:
[...]
extension_dir = C:\PHP\extensions
[...]
;extension=php_fdf.dll
extension=php_gd.dll
I'm trying to load the php_gd.dll, but I get the same problem with any of
the exte
On Sun, 8 Jul 2001, Ben Bleything wrote:
> Interesting method, with the lynx... I imagine that if you've only built
> the DSO, then that would be the way to do it.. if it worked. My guess
> would be, you would have to do lynx
> 'http://localhost/path/to/script/script.php' to force it to go thr
This looks like a good place for me to step in and maybe clear up
something I've been wondering about ...
With all the advice that has been offered so far, has it been assumed that
php is installed in the CGI rather than DSO manner? Can PHP as a DSO
interpret shell script-like files with a sheba
Do you restart Apache after making changes to httpd.conf?
You can use 'path/to/apache/bin/apachectl restart' to do this.
Just a thought.
Mick
On Mon, 25 Jun 2001, brent wrote:
> Trying a re-post from yesterday...
>
> My setup is as follows:
>
> RH Linux 7.0
> PHP 4.0.5
> Apache 1.3.20
>
>
> > Is postfix more efficient than sendmail?
I don't know about efficient but it is certainly more secure and *way*
easier to configure.
> > Can you give me the url which describes how to use it or write here ?
> www.google.com/linux >> "postfix"
> and you get:
> http://www.redhat.com/support/do
ot;\n";
}
Your solution is cleaner so I'll change it over. I'd written the whole
cart in one sitting up to then, and was fairly cross-eyed by that stage.
On Sat, 23 Jun 2001, Christopher Ostmo wrote:
> Michael Hall pressed the little lettered thingies in this order...
>
&
ds output to standard output and apparently won't store
output in a variable (unless I did something wrong)
fread needs a parameter for number of characters,
file adds tags
Anyway, any suggestions greatly appreciated.
Michael hall
--
PHP General Mailing List (http://www.php.net/)
To unsub
As I understand it, PHP's session management uses cookies anyway unless
they are turned off by the browser, in which case session info is attached
to the URL.
So I'd use sessions rather than cookies alone.
Mick
On Thu, 21 Jun 2001, Chris Anderson wrote:
> I am about to write a new admin syst
Hombre, necesitamos un poco mas de informacion para ayudarte. Cuales
versiones de PHP y IIS, por ejemplo, y cual version de Windows?
Como lo instalaste? Como modulo o como CGI?
La pagina de prueba, tiene todos los "tags" que necesita? (es decir, . Tiene el archivo la extension ".php"?
Como has
Use include();
Mick
On Mon, 30 Apr 2001, Andreas Pucko wrote:
> Hello,
>
> I am a newi in PHP. Currently I am creating my first site.
>
> I would like to programm it modularly. I tryed it, but I came to the point,
> that I have everything in one file with a huge amount of tables.
>
> What w
If you ever need to update the HTML, option 2 will be a lot easier.
Mick
On Sun, 29 Apr 2001, John Monfort wrote:
>
> Hello everyone,
>
> I'm curious. Which is the better practice?
>1) Insert the HTML page (...HTML code) in the database ?
>
>or
>
>2) Insert a URL in the dat
> i found this when surfing this morning
> http://www.phpsucks.net/
Looks like someone just spent a fortune on getting and learning M$
products then lost work to a PHP/open source alternative, or maybe they
just can't get Red Hat installed. Either way, who cares?
Mick
--
PHP General Mailing
I don't understand why you want to connect IPCHAINS to your PHP script.
Normally your IPCHAINS (or IPTABLES) firewall would be running anyway,
wouldn't it? Maybe I've missed something, but I don't see how the two are
linked.
I'd have the PHP script check username and password, and if valid, go
In other words ...
> $grab = eregi("wish(.*)numbers .");
>
> the (.*) is what you're grabbing.
You don't need to include the entire file up to 'wish' and beyond
'numbers', just enough to make a unique portion.
Mick
> > I'm trying to grab content from another web page. After hav
Something like this:
$grab = eregi("Some leading code(.*)Some trailing code");
the (.*) is what you're grabbing.
Mick
On Sun, 22 Apr 2001, Ed Lazor wrote:
> Hi =)
>
> I'm trying to grab content from another web page. After having browsed
> through the mailing list archives and such, it lo
Are you doing a bulk mail out or something like that?
Your script is timing out. The max_execution_time can be changed in
php.ini
Mick
On Thu, 12 Apr 2001, Jude Sanglitan wrote:
> Oops! How can I prevent this?
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> C:\Inetpub\wwwr
I did, but got Internal Server Errors for several different
command formats using = and " ".
In the end, this format appears to work (no error message anyway, and the
files upload) ...
php_value max_execution_time 60
Mick
> > Is it possible to override the maximum script execution time as set
GoEureka, one of Australia's biggest search engines, uses php on at least
part of its site:
see http://www.goeureka.com.au
Mick
On Tue, 10 Apr 2001, Phil Labonte wrote:
> Can anyone send me a list of large commercial web sites that use PHP?
>
> I am trying to move to PHP here at work but I n
ws doesn't work.
> > you have to enter a value in that field with value NOW()
> >
> > -elias
> > http://www.kameelah.org/eassoft
> >
> > "Michael Hall" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTE
Mumkin ya elias, ana ma afhamsh su'aalak mnih!
Not exactly sure what you mean elias.
TIMESTAMP in MySQL is a datatype more than a function, but I'm not
absolutely sure about that.
Mick
On Tue, 10 Apr 2001, elias wrote:
> Can a default field value in MySql be a function?
>
> Like default val
Yep ...
I unit
V 5
X 10
L 50
C 100
D 500
M 1000
no zero ... try doing maths with this system.
Mick
> I think L is 50.
>
> bill
>
> Kurth Bemis wrote:
>
> > what does the roman numeral L mean?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Create a field in your table called something like 'date' and make its
data type TIMESTAMP. MySQL will automatically add a timestamp with each
new entry ... assuming you're using UNIX, I don't know about windows.
Mick
> I know this has been brought up repeatedly but I couldn't find the archive
I've been trying to get to the annotated manual all afternoon but can't
get through to www.php.net. Anyone else have the same problem?
Mick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Is it possible to override the maximum script execution time as set in
php.ini using an Apache directive like this in an .htaccess file?:
php_value max_execution_time = 60
Thanks
Mick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
$query = mysql_query("some SQL here");
while ($row = mysql_fetch_array($query)) {
do stuff;
}
Mick
On Tue, 10 Apr 2001, Jacky wrote:
> Hi people
> I am more like ASP programmer and new to PHP, In ASP, when we want to take all
>records in dayabase to display. After we did do the query
Yes ... 100 entries or 100 x 100 entries! :-)
Mick
On Mon, 9 Apr 2001, george wrote:
>
> Will that work if I have for instance 100 entries, each entry recording
> the time it was made then I would be able to pull that info out of the db
> and display the record and time made at a later dat
Is the file on your win machine on C: or D: ? There seems to be some
confusion about that. Also, how are you using 'copy' to upload the file?
Are you using a form with a 'file' input type and
ENCTYPE="multipart/form-data" in the FORM tag, etc?
Just some ideas.
Mick
On Mon, 9 Apr 2001, HK Woo w
Lets try that again:
>
> if ($submit) {
> if (data already in db) {
reject data;
}
else {
> commit data to db;
> }
> }
> else {
> display form with submit button named 'submit';
> }
>
> ?>
>
>
A bit of a mud map ... hope it he
Here's what I'd do (pseudocode):
Mick
> how do I do this
>
> call form
> wait there until it is completed
> call check
> look for duplicate
>
> then if ok
> I then commit to database after entereing data
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
I'm wondering if there is any sure way for PHP to determine whether an
uploaded file is definitely an image file.
I have a script that checks for size and mime type ('image/png' or
'image/jpeg'). The script works fine, but I've heard that it is possible
to add those mime type headers to files th
I'm using the following expression to check input strings:
if (!ereg("^[[:alnum:]_-]+$", $string)) { get outta here! }
This works fine except for when a string has spaces, as in text. What do I
need to add to the expression to handle spaces (internal, not at the
beginning or end).
Thanks
Mick
I don't think this is possible. If you're using PHP, then data must be
sent to the server via a POST or GET method. As far as I know, that means
using a form with submit button.
Sounds like you might be thinking Javascript or something.
Mick
On Sat, 31 Mar 2001, LDL Enterprise wrote:
> Hi all
Use a mime_mail class. Have a look at the mail() function in the annotated
PHP manual. There are a few mime_mail classes mentioned there with links.
Mick
On Wed, 28 Mar 2001, Carfield Yim wrote:
> How to send attachment with email with php?
>
> --
> PHP General Mailing List (http://www.php.
date
Order by id
|;
Is there anything similar to this in PHP? I've been unable to find it if
there is.
Michael Hall
Prairie Fire Internet Technologies
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
I'm not sure about including them in the mail function as such, but it can
certainly be done using one of several mime_mail classes that are around.
I don't have one handy right now but you can find them by searching the
php archives
and/or the annotated php manual. I know the one by Schumann and
Yes it can.
Try serialize() and unserialize() functions.
Mick
On Fri, 23 Mar 2001, Jaxon wrote:
>
> can an array be stored in a database field?
> E.g. make a few runtime settings for a page, store the settings as an array
> in a field, and use that array to make some runtime settings?
>
> F
Something else to investigate could be whether you've passed the db name
to the script. If the the name of the db is different to $user, you'll
need to do something like
$dbname = "whatever";
mysql_select_db("$dbname",$db);
Mick
On Sat, 24 Mar 2001, YoBro wrote:
> What could I possibly be do
> abc.com?client_no=5
>
> Now even though if that person emails you that url, you won't gain
> access to it bascause of authentication that is needed, what can happen
> is an authorized user could change the 5 in the url to 8, and then see
> the information that is there which belongs to client
Petr:
I'm not exactly clear about what you want to do, but ...
PHP can process user data and save it to databases. This is probably what
PHP does best. Javascript has nothing to do with this process (but you
can use it in your PHP pages if you want).
All I know about ActiveX is that it is a M$
Yes you can. Include a field in your db called 'date' or whatever.
Generate the date in your script using:
$today = date("Y-m-d");
Then simply add the date to the db along with everything else.
There are lots of ways to format dates, too many to describe here.
Have a look at the PHP ma
I don't know a thing about IIS ... but the archives can be found at
http://www.php.net/support.php
Good Luck
Michael
On Sun, 4 Mar 2001, archana sharma wrote:
> Hi All,
>I am new in PHP world. I am trying to configure my php with IIS4. Here is
> the info what I downloaded and installed:
OK, sorry, I read your post in a hurry.
Something like this should work:
Do Something
On the next page you'd have:
$sql = "Do Something WHERE id = '$id'";
By the way, you don't necessarily have to go to a different page in the
sense of a different file ... all your 'pages' can
1 - 100 of 128 matches
Mail list logo