> -Original Message-
> From: Ing. Raúl González Rodríguez [mailto:[EMAIL PROTECTED]]
>
> I need to know if it's possible generate a wav, mid or mp3 file
> from php.
You could write a custom interface to _generate_ the file (MIDI is _very_
different than the other two types; are you sure yo
On Thu, 19 Dec 2002, Max Clark wrote:
> Hi-
>
> I was wondering if php had a case function?
>
> Instead of building a large if/elseif/else block I would like to do a case
> $page in (list).
The documentation and search capabilities at http://www.php.net are your
frientd. It would behhove you
In almost all cases the number of mail messages/time unit sent is a function
of bandwidth, not CPU; my Pentium II 250Mhz machine saturates a 768K SDSL
line no problem at all.
Mark C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> From: Gerard Samuel [mailto:[EMAIL PROTECTED]
>
> I was wondering, if for example, an AOL user browses your site that uses
> php sessions,
> do the session ids change when they hop ip addresses?
No. Sessions are not (or should not be!) tied to IP numbers.
> Im looking for a better way to coun
The first line of the script had the magic incantation:
#!/usr/local/bin/perl
(or something very similar) which makes the leading 'perl' superfluous.
PHP scripts can be made into "self executing" scripts in a similar fashion
if the 1st line looks like:
#!/path/to/the/php/command/line/executable
And which database are you using?? (hint - mysql_select_db() might be a good
idea ...)
> -Original Message-
> From: Phil Powell [mailto:[EMAIL PROTECTED]]
> > Anyone know why this is happening? I have mySQL on Win2000
> Server with IIS
> > and PHP:
>>
--
PHP General Mailing List (http:/
You know, if you actually looked at the link you've created you'd find your
answer ...
> -Original Message-
> From: D.M. van Gladbach [mailto:[EMAIL PROTECTED]]
>
> There not much in there because I strip it for testing.
>
> test1.php
> $org["index-A"]=1701;
> $org["index-B"]=1209
make sure you use:
ImageCreateTrueColor()
to create the thumbnail image and
ImageCopyResampled()
when you copy the image.
Mark C.
> -Original Message-
> From: Victor [mailto:[EMAIL PROTECTED]]
> I have a script that takes uploaded images (jpeg only) and makes
> proportionate thumbnail
It is incredibly easy to write a short little php script that edits a
template and submits it directly to qmail-inject; if you're using qmail
already php mail()/sendmail is just a wrapper to qmail-inject. I use
qmail-inject directly because it allows me to write my own VERP and process
bounces agai
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]]
> > 2. $tempQuery1 = "
> > SELECT @most_recent:=MAX(date) from presenters";
> > $tempQuery2 = "
> > SELECT @recent_presenter:=presenter FROM presenters WHERE
> > date=@most_recent;
> > $pre
> -Original Message-
> From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
> That number of messages is small and with today's servers you can queue
> that volume of personalized is less than a minute. Your problems will
> start as you enter in the tens of thousands of recipients, not because
> q
> -Original Message-
> From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
> On 01/26/2003 08:22 PM, Mark Charette wrote:
> >>-Original Message-
> >>From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
> >>That number of messages is small and with today
All arrays in PHP are associative; we sometimes use integers to refer to
them, but the order of the array internally is not necessarily the same as
the integers; indeed, any array can have "holes" in them. So the question is
moot.
"There are no different indexed and associative array types in PHP,
> -Original Message-
> If it worked before then obviously the path is fine,
> unless something has changed.
Obviously something changed if it worked on 2 other servers. Check all your
logs.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
On Wed, 19 Feb 2003, Larry Brown wrote:
> How do you determine whether or not it is faster/more efficient to run a
> complicated query or to run multiple simple queries and join / manipulate
> the results with PHP?
By empirical methods ...
--
PHP General Mailing List (http://www.php.net/)
To
Check the manual:
switch($foo)
{
case "fee":
case "fie":
...
break;
case "fo":
...
case "fum":
...
break;
}
fee & fie are tied together, fie will also run the code presented by fum ...
Duh. make that
"fo" will also run the code presented by "fum" ...
> -Original Message-
> From: Mark Charette [mailto:[EMAIL PROTECTED]
>
> switch($foo)
> {
> case "fee":
> case "fie"
Apache 2.x.x IS a production quality server, just not with PHP. Works great
with Tomcat, mod_jk2, Struts, etc.
- Original Message -
From: "Shena Delian O'Brien" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 03, 2003 8:04 PM
Subject: Re: [PHP] Re: Red Hat 9, Apache 2, an
> From: Beauford.2005 [mailto:[EMAIL PROTECTED]
> It's obvious though that PHP can not handle it.
Since thousands of people and websites use the header() function without
your problems ...
It's obvious at this point you've got a bug and can't figure out how to fix
it, even though you've been gi
> -Original Message-
> From: Corey Edwards @ Dreamstar Computer Software
>
> I finally set up an Apache Web Server. I didn't realize you needed that to
> run php until now.
That's only true if you need to serve Web pages; php runs fine from the
command line ...
--
PHP General Mailing
> -Original Message-
> From: thomas [mailto:[EMAIL PROTECTED]
>
> $_SERVER["REMOTE_ADDR"]
>
> If the user have a proxy the real IP is:
> $_SERVER["HTTP_X_FORWARDED_FOR"]
Maybe. If it's set and is set correctly. Even then:
How are 127.0.0.1 or 192.168.1.1 going to help you, supposing that
> -Original Message-
> From: Neil Freeman [mailto:[EMAIL PROTECTED]
> Is there any way that I can do a PHP Header() statement that does the
> equivalent of JavaScript's
> window.self.location.replace("http://www.mysite.com/mypage.php";)?
No. JavaScript (if turned on) is your only choic
>From the man page:
Note: The second parameter was added in PHP 4.1.0
-Original Message-
From: Monty [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 27, 2002 7:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] RTRIM() - Won't accept 2nd Param
When I issue this command to remove any commas at
Or, of course, a selection of fields as a unique key. The insert will fail
if there is an exisiting record with that key; you can interrogate the error
and report on the exisitence of a duplicate record.
The select/lock method is used for update purposes ('select for update' et
al.), not to keep
Ahem. Why not check out the MySQL docs for reserved words (they _are_ right
there ...):
http://www.mysql.com/doc/en/Reserved_words.html
PHP Docs are for PHP. MySQL Docs are for MySQL. PHP != MySQL.
-Original Message-
From: victor [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 31, 200
y filed that those words might
interfere with...
- Victor > www.argilent.com
-Original Message-
From: Mark Charette [mailto:[EMAIL PROTECTED]]
hem. Why not check out the MySQL docs for reserved words (they _are_
right
there ...):
http://www.mysql.com/doc/en/Reserved_words.html
PHP Doc
No, only one db at a time may be updated. The "where" clauses can contain
multiple db.
-Original Message-
From: Sascha Braun [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 31, 2002 7:04 PM
To: PHP Mailingliste
Subject: [PHP] UPDATE Query
I want to know if its possible to update two d
Hey, Jason, since you really need this BUG fixed, and the PHP developers
would welcome good, well-documented, and tested code ...
Why not devote some of your precious time to helping them along? If _you_
write, document, and test the code, and then pass the code to the
development team you'll sta
Images don't have a resolution per se; display devices have a resolution.
Images (the formats you're talking about, anyway) are measured in pixel
width and height. The height and width in any units other than pixels of
course necessitates conversion - for an easy example, a 300x300 image on a
1200
select count(*) as n from ... where ...
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Can someone point me in the right direction to find out how i can return the
amount of records in a mysql databace ?
--
PHP General Mailing List (http://www.php.net/)
To unsubs
I've had no problems using qmail-inject and MySQL to send over 100K emails
in a day. I doubt it's an MySQL problem unless you've done something
drastically wrong; perhaps you're bandwidth limited?
-Original Message-
From: Research and Development [mailto:[EMAIL PROTECTED]]
Hello. I wrote
Just how are you going to decrypt it? Password encryption is ordinarily
one-way - you have no choice. You have to compare encrypted passwords.
-Original Message-
From: Tom Ray [mailto:[EMAIL PROTECTED]]
SI want to compare a password to a encrypted password stored in my mySQL
database usin
This comes up so very often ...
The answer is - you may be able to get _an_ IP number for a machine that
accesssed your site. It is meaningless as a means of identification:
Proxies use 1 IP for a number of users.
-Original Message-
From: Anil Garg [mailto:[EMAIL PROTECTED]]
hi,
Can i
In this context it makes no difference whether or not " or ' is used ("
allows variable substitution within the quoted string, ' does not) since
there's no substitution taking place.
Insert a phpinfo() in the top of your code to see all the variables that
_are_ being set.
-Original Message--
I'm storing somewhere over 100,000 separate articles on my site, using
ht://dig to index them. They're organized as //MM/nn. No performance
problems to speak of on a pretty popular non-commercial site (2-3
pageviews/sec, 24x7) whether they just browse through the directories or or
use ht://
There are times, especially in highly dynamic situations, where backing up
and restoring of images and metadata from a database or for security
reasons, where storing the images within a database makes real sense.
Separating the physical storage areas for the two types of data (metadata &
images) a
-Original Message-
From: David Robley [mailto:robleyd@;paradise.net.nz]
I'm going to stick my neck out here - as I understand it, this is not an
omission in php, rather it is a restriction of the underlying OS/file
system. To the best of my knowledge, neither the FAT
based system of M$DOS
There's nothing to "solve"; without the complete XML doc & the XSL
stylesheet, there's no way to know if in fact everything is being parsed as
expected. I don't know if it's CDATA, xsl:text, a strip-spaces directive,
etc. And ... I'd expect anyone using XML & XSL to double check and
re-reference al
> -Original Message-
> From: Mako Shark [mailto:phpman2000@;yahoo.com]
> do I have to do a
> readdir() and read the filename of every file until I find an
> HTML or until all files have been read.
This is what the shell expression supplied by Marco Tabini actually does;
doing it in PHP (re
You gotta be kidding me, no? When did you learn decimals? I think I started
by 3rd or 4th grade ...
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 16, 2002 1:36 PM
To: PHP List
Subject: [PHP] Fractions
I'm wanting to make a simple PHP scri
Well, seeing as you're in the 7th or 8th grade (at least according to your
Website) - my sincere apologies ...
Just use 5.0/9.0 in your formula.
Mark C.
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 16, 2002 1:36 PM
To: PHP List
Subject: [P
On Wed, 20 Nov 2002, JohnMeyer wrote:
> Does unlink work with wildcards e.g unlink("somefile*.*");
No.
unlink() is a thin veneer on the system unlink() call.
Wildcard expansion like you have it is done by a shell glob function. You
would need to replicate what the shell does - use it as a regul
> From: Noodle Snacks [mailto:[EMAIL PROTECTED]]
> the reason I ask is because it is alot more efficient space wise
> in a db to
> be storing a 32bit number rather that a char or varchar field.
While it is more efficient space-wise (4 bytes vs. 12 bytes), the price of
the additional disk storage
What exactly are you measuring and how?
-Original Message-
From: James Drabb [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 23, 2002 9:09 AM
To: php-general
Subject: [PHP] output_buffering
I was running some speed tests on a page that returns 1000 records from
a db and spits them into a
This is a common question, related to the lack of understanding of
client/server architectures I believe.
PHP is all server side - a browser is all client side.
Servers can send data only to the browser, nothing else. The server can
inquire and gather data from text files and databases, but it w
Or setting a cookie in JavaScript. It will be transmitted on the next page
request.
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 3:30 PM
To: 'Jed Verity'; [EMAIL PROTECTED]
Subject: RE: [PHP] Javascript to PHP?
Not possible. You must refr
LIMIT was not included in the SQL92 SQL standards and very few vendors
implement all of SQL99; the use of ANSI standards to promote "portable"
programs has always been beset by this kind of problems.
Mark Charette
Former ANSI X3H3.1 member
-Original Message-
From: Alberto Ser
Or, even easier and "no tech", I get a low-paying job in some convenience
store, and make copies of the credit card receipts.
Game Over.
Using a credit card anywhere involves trust. Period. End of story.
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
How about an eve
Of course not on an open list that's crossed to the newsgroups ...
However, there's a "deny" list on ezmlm that the moderator can add addresses
to. As a manager of a number of ezmlm mailing lists I've done that - which
really infuriates the "spammers" - they still get the posts until they
unsubsc
> From: Nicole [mailto:[EMAIL PROTECTED]
>
> Thanks. The cookie sets fine using the redirect. The problem is accessing
> the cookie when the script is called via the image tag. If the script is
> called directly, the cookie is accessible.
Images have their own connection (which is why you can see
On Mon, 6 Oct 2003, Martin Straka wrote:
>
> Is somewhere documented that everything after NULL (0x00 %00) character
> is ignored for example in functions include, fopen etc?
Interestingly, no, it's not documented in the manual (at least I couldn't
find any official documentation on NULL terminate
On 6 Oct 2003, Robert Cummings wrote:
>
> Strings in PHP are binary safe and thus do not rely on null temrination.
You are, of course, right (just a brainfart on my part ...).
There are a number of functions that depend on null termination of
strings; handing a string with embedded nulls in it t
On Fri, 21 Nov 2003, Scott Fletcher wrote:
> Well, I seem to have problem understanding the word, 'offset' to the
> strpos() function because it is a bad choice of word
strpos() and the word "offset" used with it is probably older than you ...
:)
--
PHP General Mailing List (http://www.php.ne
> -Original Message-
> From: Andy Higgins [mailto:[EMAIL PROTECTED]
> Can anyone confirm whether
> AOL (or any
> other ISPs for that matter) change a user's IP address as seen by the web
> server (for eample through a proxy) within the same session?
It's been pointed out and confirmed many
If you read through the archives you'll find it isn't so much that PHP is
the problem per se, but many of the PHP modules. If you use the
multi-threading model of Apache 2 (the raison d'etre for using Apache 2 for
most people) then all the modules have to be thread-safe, and that's a
non-trivial ma
> -Original Message-
> From: Hamid Hossain [mailto:[EMAIL PROTECTED]
> As a ColdFusion Certified Developer I can say: You are right!
>
> In CF you can fire a sql statment and store its result in a
> variable which
> is not going to be removed from the server's memory after
> responding to
On Sat, 24 Jan 2004, Marlon Moyer wrote:
> Like Hamid Said, if the ColdFusion server has the query already in memory.
> It doesn't need to send traffic to another server to get the information
> again. Most systems I've worked on have the db and the web server on
> different areas of a firewall,
On Sat, 24 Jan 2004, pehepe php wrote:
> Can we make .exe programs with php? for example we can do it with delphi,
> vbasic.but can we do with php?
No (and .exe is a convention that isn't universal, btw). PHP is an
interpreted language, not a compiled one.
--
"Half the people know what they're
On Sat, 24 Jan 2004, Galen wrote:
> Hi,
>
> This may be completely crazy, but let me tell you what I want to do:
> thread PHP.
Can you set processor affinity on your system? If so, you can "pseudo
thread" by assigning processes to different CPUs; e.g., run your main
Webserver on one processo
f stock, etc.
>
> [Marlon Moyer]
> This isn't a situation that you would use a cached query. You
> would only use
> it when something doesn't change that often, or you have control
> of when it
> changes.
Hell, I have stuff like that - it's called generate an include file with a
cron job. Trivial.
On Sun, 25 Jan 2004, Galen wrote:
> I'm not 100% sure what you're talking about, to be honest. I think I'm
> in the second half of the people... :)
>
> As far as I can tell, Apache runs as many processes (httpd) as needed
> on my local machine. As far as my server, I haven't seen this behavior,
From: "Shaun Thomas" <[EMAIL PROTECTED]>
> The point about Oracle is that it *lets* you do all of those
> optimizations, and if you're good at it, it will outperform almost any
> other database you throw at it. Trust me on this one.
I'm sorry, I can't trust you very much on this. Having worked a
Personally I'd perform a query into MySQL and get what _it_ thinks the
values should be ... before doing anything else. It allows generality in
your error checking code.
Look at mysql_list_fields() et al.
mark C.
- Original Message -
From: "phpman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
> > What's the best way of finding out if a specific array key is in an
array?
> > I have an associative array which *may* look like
> > (car =>saab, house => mansion, countyW=> A) but can equally well look
like
> >
> > (boat => daycruiser, house => flat, county => B).
> >
> > I want to find out
Considering Websphere/EJB was mentioned ...
Where's the BEA Weblogics review
--
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]
Reading the MySQL manual on the UPDATE statement (my, what a concept -
actually looking at a manual, especially when you have no clue ...) would
show you that your statement is invalid and why. Something about using a
"set column-name=data" rather than an invalid "values()" statement.
Mark C.
---
> -Original Message-
> From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 26, 2001 11:16 PM
> To: Ben Clumeck
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Mailling Lists
>
>
> I'm really unable to discuss the mailing-list topic because I
> have nil expertise
>
> From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
> Unlike PEAR-DB and PHPlib, Metabase provides true database independence
> to your applications.
Actually - no. Querys/conformance to specs/sequences/stored procs and more
are different from DB to DB. While the abstration layers help a little, th
> -Original Message-
> From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
> Before somebody decides to repress my opinion again,
Hah! That's got to be one of the funniest things I've ever read!
Downloads do not imply usage, only curiosity. I've downloaded a large number
of PHP class libraries
From: "Michael Kimsal" <[EMAIL PROTECTED]>
> Philip J. Newman wrote:
>
> > Don't know is this is a Mysql problem or PHP, but I have a table with
100 records in it. One of the field names is $iName.
> >
> > When listing all the records I want only the 1st Uneak value to be
displayed.
> >
> > For
> How to convert string in windows-1250 to asci, I need convert special
> national characters
> to standard english characters.
Discard all characters with a value over 127 (high bit set). ASCII is only
defined for 7 bit encoding.
Mark Charette
--
PHP General Mailing L
Hehehe. And I thought the OTBSW (One True Brace Style Wars) had passed into
memory back some 10 or 15 years ago! Lo! They resurface yet again! 30 years
in this business and still I hear them argue.
Perhaps a cb style program for PHP so people can write any blasted style
they feel like and then ha
> From: Randum Ian [mailto:[EMAIL PROTECTED]]
>
> Control Panel
> -Add User
> -Delete User
> -Validate Email
> -Send Mail (HTML/Text)
> -Archive Mail
>
> HTML Generator
> -Subscription Box
> -Unsubscribe Box
> -Statistics
Let's see. Double opt-in with cryptographic/time security, automatic boun
Just about all of them can have/do have simple HTML interfaces that can send
data to them. I built one for ezmlm in about 20 minutes ... and then found a
number of them already available.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>
> On Sun, 21 Apr 2002 20
"find" is your friend ...
Go to the install directory and type
find mysqladmin
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 2:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL and RH 7.2
I am completely new to MySQL and I just installed it
You've just pointed out that you're a clueless newbie, that's' all, and
can't read a spec worth a whit.
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 4:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] setcookie()
Rasmus
server-side / client-si
Or read the man page on mysql_pconnect/mysql_connect ?
-Original Message-
From: Jochem [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 9:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Is This Possible? (Database - PHP)
Why don't you install Mysql on your local machine and do your
If it ain't foolproof then only a fool would use it ...
IP addresses are just about the worst way to identify anyone.
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 8:17 PM
To: 'Rasmus Lerdorf'; Matthew Walker
Cc: [EMAIL PROTECTED]
Subject:
From: Jason Wong [mailto:[EMAIL PROTECTED]]
>Try comparing reading 10K rows from a DB using Perl and PHP would be a more
>useful benchmark.
---
When's the last time you wrote a Web page that needed 10K rows displayed?
Writing good _and relevant_ benchmarks is one of the more difficult things
to d
Since you get width & height the ratio is trivial.
mark C.
> -Original Message-
> From: Vins [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 13, 2002 3:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] IMAGING WITH PHP
>
>
> There is nothing in there about image ratios
> but let me
Don't bother with doing it in PHP, do it in MySQL with a functional
ordering:
Select Make from your_db order by if(left(Make,7)='no make','',Make)
-Original Message-
From: Tom Beidler [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 11:53 AM
To: php list
Subject: [PHP] h
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Richard) wrote:
>
> > Hi, I want to validate that a variable only contains numbers. I
> came up with
> > this code
>
I came up with this code:
is_numeric($var)
mark C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
If you have access to the Apache server why not set up auth-mysql as the
authentication method? It checks for authentication login/password pairs out
of MySQL.
mark C.
> -Original Message-
> From: Miles Thompson [mailto:[EMAIL PROTECTED]]
> Sebastian,
>
> I believe I have to do what you
> -Original Message-
> From: ~~~i LeoNid~~ [mailto:[EMAIL PROTECTED]]
> It could be stated on the site, or (and) tar could be re-moved. As far as
> I am concerned, as soon as something is placed on the web, you have no
> control over reference to it.. And access you can regulate of c0u
Yes, I have PHP running just fine under 7.2 (source compile).
PHP doesn't care one whit about your browser; however, Netscape is picky
(as it should be) about end tags. The most common problem when pages display
under IE but not under Netscape is the lask of a or tag.
Mark C.
-Original M
From: Jose [mailto:[EMAIL PROTECTED]]
$temp[]=file($y); \\ To load the file into the array.
---
file() returns an array! So, you ended up with an array ($temp) with element
0 an array (returned from file() ). Read the manual very carefully ...
You probably meant to say
$temp=fil
I cheat and just include the original form on error ...
Almost all my input values are set to PHP variables in the form. The 1st
time through none are set, so the values are blank. After submitting the
form, I check for validity. If there are errors I mark the errors, generate
an error string, an
I would use "target="_blank" in the anchor tag so it would work just fine
_without_ javascript ...
Mark C.
-Original Message-
From: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]]
I would use javascript for that.
--- Brandon Orther <[EMAIL PROTECTED]> wrote:
> Does anyone know how I cou
arget browser
> properties using html?
> Lise the Location bar, or the toolbar?
> I was actually using little popups with jscript. If I can
> get rid of JS that would be great.
> --- Mark Charette <[EMAIL PROTECTED]> wrote:
> > I would use "target="_blank" in th
> -Original Message-
> From: Ray Gaylog [mailto:[EMAIL PROTECTED]]
> I've been using PHP for just a little while, however I have
> noticed somthing.
>
> In the doc's I've noticed you can do this:
> printf("line1 \n line2 \n");
>
> Now..this should (like C) print two seperate lines..however
From: "Leonardo Dias" <[EMAIL PROTECTED]>
> Anyways, has anyone experienced it with Sablotron?
Yes.
> How did you like it?
Worked as advertised. Which is a bear sometimes - but that's due to XML
limitations, not Sablotron's fault.
> Was it any good?
Yup.
> Is it fast enough for big websites?
Hmmm ...
If I didn't know something like that I'd probably do something stupid like
go to http://www.php.net, type in "string" or "length" for a keyword in the
Search box, look at what came back (including the function "strlen") and
explore the other calls nearby, too.
Mark C.
- Original Me
How does this _not_ work (as long as you supply the path to mysql, the
username, and the password
mark C.
- Original Message -
From: "Chris Anderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 2001 3:25 PM
Subject: [PHP] Restoring a Dump File With PHP
I cr
Start at ftp://sepftp.stanford.edu/pub/World_Map/ which is a copy of the CIA
world data. http://hjem.get2net.dk/bnielsen/ciaworld.html gives some info
for conversion of the cbd format to lat/long.
Projections (a science unto itself) is best left to the interested reader.
It ain't as simpla as it
$newarray=array_flip($myarray)
$newarray will have unique key values made up of the second element of
$myarray.
Mark C.
- Original Message -
From: "Aaron Bennett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 08, 2001 12:51 AM
Subject: [PHP] Getting any possible value in
This is probably "not a good idea" if the data is mostly static. There's no
real reason to use the power of a db engine for something this trivial, and
static serving will be faster than a DB system.
Mark C.
- Original Message -
From: "Ben Bleything" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
> I dislike the GLOBAL statement in that many of the bugs that get me
> scratching my
> head are to do with when I have forgotten to use it.
Then you're probably using it way too often.
Global scope variable are inherently dangerous and cause more problems than
they're worth. I've been in this b
On Sunday 08 July 2001 21:48, [EMAIL PROTECTED] wrote:
> Since I first made the tables for my site I've had to modify them quite a
> bit. I always keep a copy of the commands I used to make the tables in case
> I need to move a site. Is there a way to ask mysql to list the create table
> commands?
To download a file from the server needs no special magic - just a link to
the file.
Mark C.
- Original Message -
From: "Mark Lo" <[EMAIL PROTECTED]>
To: "php general" <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 9:36 AM
Subject: [PHP] Download function for php
> Hi,
>
> Is the
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 1:05 AM
Subject: RE: [PHP] stripping white space?
> I think it IS a good practice
> if you only practicing HTML to be outputted by PHP.
Why, if you know that it's illegal XHTML a
1 - 100 of 140 matches
Mail list logo