on how to do this?
Thanks in Advanced Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm running PHP as CGI instead of as an apache module because my hosting
1) suggests it and 2) this way I can compile my own PHP with whatever
options I want, including a custom php.ini.
Works great except when I load a page that doesn't exist, such as
foo.php, I get No input file specified.
I need to know how to be able to eliminate the querysting portion of the
URL that is displayed on the users browser. I don't want it possible to
click refresh and reenter in the same querystring that was used previously
(eg. php runs a mysql query of INSERT based on the querystring which only
I've been looking through the manual but I keep on missing the function or
it doesn't exist.
I need to know if there is a way to get a specified HTML page (as if you
were to go to the page by typing in the url in your browser) and either
turn it into a string or array or something that I would be
I need to retrive all column information from a DISTINCT query. But so
far, I only can get one column to show by using this:
SELECT DISTINCT my_column FROM my_table;
which then gives me a list of my_column information and is correct, but I
need all information from all columns. Querying this:
This might be what you need.
http://www.php.net/manual/en/function.eval.php
-Jared
-Original Message-
From: Jean-Rene Cormier [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP code in a database
I'm trying to make a script that'll
I had this exact need but I was solved partially by my cell phone provider.
I have verizon and verizon actaully assigns each phone an email address if
you have text messenging.
So all i had to do was send an email to that address and it would go to my
phone in about 30 seconds or so.
-Jared
You might consider using output buffering in order to accomplish that goal.
http://www.php.net/manual/en/ref.outcontrol.php
You could buffer the entire page and store the buffer into the DB at the end
of the page load.
-Jared
-Original Message-
From: W. Enserink [mailto:[EMAIL
20% represents a space.
-Jared
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 9:01 AM
To: php
Subject: [PHP] forcing file downloads
I know this has been discussed many times, but I've been hunting through the
archives with very little
Here are the functions you need:
http://www.php.net/manual/en/ref.exec.php
-Jared
-Original Message-
From: Roman Duriancik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 9:30 AM
To: PHP-General
Subject: [PHP] shell command
How to execute dos\winnt command in php script, i
I would imagine that you could use fsockopen to open a socket connection on
that port in order to test it.
-Jared
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 8:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SQL Server test tool
Has
= localhost;
the server has its own smtp service running on it
I also tried:
SMTP = mail.mydomain.com;
This genereated the same problem.
I have been using PHP with Apache forever but I rarely use it on Windows so
any insight into this problem would be great.
Thanks in advance,
-Jared
--
PHP
/null
I have never had a problem with this method, although I am sure it has a
higher overhead than compiling as a binary and directly calling php.
-Jared
-Original Message-
From: Henry Grech-Cini [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 6:12 AM
To: [EMAIL PROTECTED]
Subject
This is the one my company uses:
http://nocc.sourceforge.net/
I found it very easy to modify, and it fully supports attachments as well as
the related RFCs.
-Jared
-Original Message-
From: Craig [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 4:46 AM
To: [EMAIL PROTECTED
. and .. directories just
uncomment those two lines.
-Jared
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 8:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Listing the contents of a directory in an array
I am a newbie so be kind
I
getenv(HTTP_HOST);
Then parse the data as you need to to get to the root of the domain.
-Jared
-Original Message-
From: Adrian Murphy [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 9:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] apache redirect and request
Hi,
my isp has set up
their are like 10 headers but none of them are ended properly
with CRLF.
Hope this helps
-Jared
-Original Message-
From: Paul Cuthbertson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 11:49 AM
To: Tyler Longren; [EMAIL PROTECTED]
Subject: Re: [PHP] Server error when executing mail
; // in seconds
That will do it but you could simplfy it with some more advanced techniques.
-Jared
-Original Message-
From: Jeroen Timmers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 2:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Dates
i have two dates
for example
2002-10-9
want to access.
Thanks
-Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The CHM version of the help file can be downloaded here:
http://www.php.net/download-docs.php
-Jared
-Original Message-
From: Jason Teagle [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 12:16 PM
To: php list
Subject: [PHP] CHM Form Of PHP Manual? (Was: [PHP] Question regarding
it is
useful to refer to functions and variables... This lead me to believe that
you could directly access VARIABLES as well as functions. I guess i was
wrong. Oh well, it just means more typing for me, which means more hours,
which means more $.
-Jared
-Original Message-
From: Tobyn Baugher
This may be a dumb question but, how can you be sure that the $this- is
referring to the parent classes' property and not the current class. On
that note, does it really matter of which one it refers?
-Jared
-Original Message-
From: Tobyn Baugher [mailto:[EMAIL PROTECTED]]
Sent: Monday
That is exactly what I thought, I was just looking for some reassurance. I
have been working with C# lately and the syntax for classes is a lot more
explicit. I wanted to make sure I wasn't making a mistake on what PHP
implcitly does.
Thanks
-Jared
-Original Message-
From: Tobyn
-Username and child-Username.
Thanks
-Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
The HTML standard defines the set of characters that are valid in form
element names. It does not include [ or ] and yet this seems to be the only
way to get a set of form elements grouped into an array for server side
processing.
Why doesnt PHP do (Perl/ASP) automatically create an
...
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 12:43
To: 'Jared Williams'; [EMAIL PROTECTED]
Subject: RE: [PHP] Illegal characters in HTML form element names.
-Original Message-
From: Jared Williams [mailto:[EMAIL PROTECTED]]
Sent: 11
I'm not really sure what I should be looking for in the MySQL manual. I
basically want to make a column that will do math to other columns, like in
a spreadsheet program. Is it possible? And if so, what do I look for?
And if you can give me an example that would be great.
--
PHP General
to format it into a
readable date using either PHP or MySql?
Thanks
Jared
--
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]
?
Example.
Data Data
Data
Data
Data
Data1Data1
Data1
Data2Data2
Data2
Data2
Data2
Thanks for any advice.
Jared
--
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
in the first drop-down list.
I have fill that I'm going in the right direction, but have run into a
wall. Can anyone give me some advice in doing this miraculous feat?
Thanks,
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
PM
To: Jared Mashburn; PHP Users
Subject: Re: [PHP] Dynamic Form
PHP does not know what the user has selected in the first drop down.
You can either reload the page with the new value once the user has
selected the value for the first drop down list, and go from there, or
use Javascript
date("Ymd", mktime(0,0,0,date("d"),date("m")-14,date("Y")));
At 03:57 PM 2/13/01 -0500, Don wrote:
Does someone have a snippet of code that retrieves today's date,
subtracts 14 days and converts the result to a string in the form
"MMDD"?
If possible, please reply to my email.
Thanks,
Don
The following should work okay for you:
?php
if ((!$username) || (!$password)) {
header("Location: blah");
exit;
}
$userc = @mysql_connect("blah", "bleck", "bleep") or die("No DB Connection");
@mysql_select_db("notgonnadoit", $userc) or die("No DB Select");
if (($userq =
doff, I knew there had to be a simple answer. Works great, thanks.
At 02:26 PM 2/21/01 +1300, Simon Garner wrote:
From: "Jared Howard" [EMAIL PROTECTED]
I'm make an object or an array from the results of a query to my MySQL
database. The value returned is entered in options and an
I'm having trouble establishing MySQL sessions when the client is running
from behind a remote firewall. (I.e., the MySQL server has a static
internet IP, but the remote client which is accessing, or better said,
attempting to access the MySQL database via PHP in their browser can't seem
to
I have a page with multiple form submit buttons that carry different values
to do different functions and such.
form name="bidfile" method=post action="?=$ME?"
input type=submit name="mode" value="Edit Contacts"
input type=submit name="mode" value="Add Products"
input type=text name="something"
speaks Italian.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
version of a resource name alias.
If, after determing that Apache is running with the right permissions for
the owned processes to connect to and use a network shared resource, then
it's probably an Apache UID conflict (is PHP in safe mode?).
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
on the list, is it accurate to characterize PHP
as relying on Apache for file manipulation? Is it accurately described as:
Process Request-PHP-Apache-[File System Poof!]-Apache-PHP-Process
??? Just making sure I have this characterization correct.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
implement your
sanitization once and use it for all database interactions.
Google: http://www.google.com/search?q=php+sanitize+sql+statement
PHP.net: http://www.php.net/manual/en/security.database.sql-injection.php
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool
, maybe you manage that...
On 5/24/07, Jared Farrish [EMAIL PROTECTED] wrote:
I'm not sure exactly what kind of sanitization you think you're doing, but
if all you do is check to see if it's empty (empty() implements isset(),
empty() checks to see if it's set, then if it evaluates to an empty
Inman is a modestly-famous web designer/developer who uses MediaTemple
for his website:
http://www.shauninman.com/
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
://news.php.net/php.general/255542
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
/
This will give you most of what you're looking for. Think XAMPP for a
localhost install to run tests, and MySQL for a database backend (part of
XAMPP):
http://www.apachefriends.org/en/xampp.html
It will take time. Good luck!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow
processes (such as Apache using an executable)... The whole apache GUID mess
seems like cryptic middle ages eye gouging...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
.: Could you use descriptive subjects; include doesn't really say
much...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
superficially can help later.
What I suspect you need is a book on LAMP (www.oreilly.com).
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
script upload file mysql database
You can thank me later.
*snap*
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
got a chuckle. :D
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
with a more appropriate title.
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
multiple people at one time :) But I'm still learning about that.
I sure hope you're testing on test data, and not live data...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
. This way, the data is rebuilt each go around, but the
overhead is pushed to another machine, similar to a SOAP service (which is
another...). Pass a variable id to the CLI script...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend
a href=download.php?id=?=$id;??=$name;?/a br
Is there a valid $id being passed through a query ($_GET) variable, like
so?:
http://www.filecircus.com/somewhere/outthere/gimme.php?id=badphoto103
What happens when you click on that?
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
/lem.json.js
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
be the
best
for me
WAMPP makes apache and php installation stupid easy (MySQL too, but you
don't seem to need it). Maybe, you might install WAMPP, uninstall MySQL, and
install PostgreSQL... Never done it, but with some fiddling, it should work.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
to do what is done above (such as replacing the last foreach loop with
an implode() call). There are some strictly unnecessary things done above,
in other words, but I left them in to show what really is happening (and
needs to be done).
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
this ?
This is called pagination, and is well-discussed and documented on the web:
http://www.google.com/search?q=php+pagination
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
, eg, 'item','item2'
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
to an instantiated object should
work), and/or make it work entirely on it's own without $this.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
). What you want is access to their redirect
page log.
You also might look into Urchin and the ISP's that support it.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
Does any have any references or an example to show me?
Well, I think we need a description of the error or the invalid response
you're having. It could be a file-size issue (your php.ini configuration
won't allow file sizes 8mb's, for instance).
Have you googled it?
--
Jared Farrish
(consumeFormChecks($_POST['form']['checks']));
}else {
echo('h4Please select some random checkboxes above' .
' and submit the form/h4');
}
?
/pre
/code
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
On 5/28/07, Jared Farrish [EMAIL PROTECTED] wrote:
$tr = $i % 5 === 0 ? Array('','') : Array('tr','/tr');
Ignore this line, it was from an earlier iteration of that function.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have
, keep in
mind PHP is quite a bit different from other languages (such as C#) in the
way it implements some details of objects, and that PHP4 and PHP5 are quite
significantly different versions, vis-a-vis objects and classes.
Good luck!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham
is destroyed and the temp file where it is stored is
deleted from the harddrive. Do not store sensitive information or use a
SESSION id to authenticate a user.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem
hash key that can be used
to validate the actual key against a footprint for a visitor (from
$_SERVER). Salt in a date/timestamp and SHA1 or other, and I feel like
that's a pretty good way to check against a visitor. I just think it feels
flimsy to validate a user on a SESSION key only.
--
Jared
out there would have done it, including PHP?
I certainly don't think you're implying I thought I had given some new,
better way of doing sessions that nobody had given before? Curious
statement.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have
with security, there's some known
benefit to discussing it!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool
That's not what I'm saying. My basic question is why send the secondary
hash key to the client when it doesn't need it? Use the authentication
key to identify the users data, then get the secondary hash key from
that data. The browser never needs to see the hash, and from a purist
security point
On 5/29/07, Jared Farrish [EMAIL PROTECTED] wrote:
I do think the stated best practice of SESSIONS, at this point, probably
does need to be described to be further useful as a topic of discussion.
I've been a little unclear in some things, so I get the feeling we've got
the same point of view
when that history occurred...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
== '' == ??). This makes a
whole lot more sense in C++ or something other strong-typed language.
Thus, code to what you need, but have high standards (by knowing what you
need)!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
the call, though.
http://en.wikipedia.org/wiki/Lynx_(web_browser)
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
Hi Jared,
Hi Rich!
If you do put a return; at the end of all of your functions, I'm
curious as to why? If a function doesn't actually return a value
(which is highly possible) then it isn't /required/, but that doesn't
stop me from doing it. I *do* put 'return;' at the end of all
functions
. Depends on
coding style, preference, and the situational need.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
-php).
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
On 5/30/07, Richard Lynch [EMAIL PROTECTED] wrote: If they can get the first
cookie, they can get the second just as easily.
I thought this said just as weasily at first, and I thought, Ain't that
the truth...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only
On 5/30/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Wed, May 30, 2007 12:33 pm, Jared Farrish wrote:
preg_match(^ldap(s)?://[a-zA-Z0-9-]+\.[a-zA-Z.]{2,5}$,$this-server)
You are missing the start/end delimiters is your first problem...
Which ones? I've got the starter ^ and the closer
not printing a zero,
shouldn't that mean it's returning false?
preg_match(/^ldap(s)?:\/\/([a-zA-Z0-9-])+\.[a-zA-Z.]{2,5}$/,$this-server)
Now when I add the slashes, I get zero, even though I give it a real value
that should return 1. *sigh*
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
on
a way to LIMIT the matches effectively. If that doesn't work, hey, this is a
PHP list...
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
On 5/30/07, Jared Farrish [EMAIL PROTECTED] wrote:
$lastname = strpos('Rogers',0,2);
$firstname = strpos('Timothy',0,2);
$select = SELECT `uid`,`LastName`,`FirstName`
FROM `users`
WHERE LastName='$lastname%'
AND FirstName='$firstname%';
Strike
interesting. I'll have to check
it out.
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
the email address existed (although
it doesn't mean it isn't someone in the database that isn't already in
there).
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
allow them?
I hadn't gotten far enough to strtolower(), but that's a good point, I
hadn't actually considered it yet.
Just my thoughts
Hey, I appreciate it!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem
On 5/30/07, Afan Pasalic [EMAIL PROTECTED] wrote:
email has to match in total. [EMAIL PROTECTED] and [EMAIL PROTECTED]
are NOT the same in my case.
thanks jared,
If you can match a person by their email, why not just SELECT by email only
(and return the persons information)?
Consider
if my regex is going to be that great in
practice.
This would be in addition to the program Richard alluded to in the code
checker.
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
, ie, practical usage.
Does it mean match anything that, say, *starts* with a pattern but ends with
whatever (.)???
Thanks!
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
it:
- http://us2.php.net/manual/en/features.persistent-connections.php
- http://us2.php.net/manual/en/function.mysql-connect.php
- http://us2.php.net/manual/en/function.mysql-query.php
- http://us2.php.net/manual/en/function.is-resource.php
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
to a Brit or someone who understands Commonwealth English would know
(I was aware of what it meant in CE, I just woudn't have imagined to apply
it here, since it looks to be descriptive).
Kind've like an elephant trainer calling her elephant's trunk a boot.
--
Jared Farrish
Intermediate Web Developer
things.
--
Jared Farrish
Intermediate Web Developer
Denton, Tx
Abraham Maslow: If the only tool you have is a hammer, you tend to see
every problem as a nail. $$
On 6/6/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Wed, 2007-06-06 at 17:21 -0500, Jared Farrish wrote:
I feel ya brotha! I think Stut might be having a bad day...
Bad day?? Did you read the same posts I read?
Cheers,
Rob.
Sure I did. Let's not take this too seriously, ok?
--
Jared
On 6/6/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Wed, 2007-06-06 at 20:26 -0500, Jared Farrish wrote:
On 6/6/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Wed, 2007-06-06 at 17:21 -0500, Jared Farrish wrote:
I feel ya brotha! I think Stut might be having a bad day...
Bad day
and the PUT method. There is a PHP implementation of a
WebDAV server in PEAR. Its not form based, but would
make it somewhat more easier to upload than using FTP atleast. I believe WinXP
can attach directly to them, or use Novells' NetDrive
to map a drive letter to the WebDAV server.
Jared
--
PHP
I guess it is the missing semicolon.
And you can write:
echo trtd? echo $product_type ?/td/tr
as simply
echo trtd$product_type/td/tr
I prefer
echo 'trtd', $product_type, '/td/tr';
No string concatenation, or variable replacement required.
Jared
--
PHP General Mailing List
Using libxslt and DOM to load up an xml file and display
within another file via 'include'.. Something is adding in
'?xml version=1.0?' is there a switch or something that
turns this off?
xsl:output omit-xml-declaration=yes / in the xsl stylesheet?
Jared
--
PHP General Mailing List
more...
Use $document-doctype, its DOMDocumentType object..
http://php.net/dom#dom.class.domdocumenttype
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 2005-05-14 at 07:57, Jared Williams wrote:
Hi,
I've used loadHTML() to read a HTML file to DOM. This file starts
with a string like !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
Transitional//EN
Do someone know how I can access this string? By reading
the doctype
Hey,
Can anyone suggest a few places where i can get some decent
tech/programming/php news feeds?
I presently have the PHP.net feed (but its not too good
because the news does not change much in days) and I am using
yahoo's feeds for software, digital music and internet.
I was
please try to refrain from posting your own feed unless you
think it would really help me.
Also cc the list your answer coz it would help if not
everyone told me to check out site x
:-),
i'll reply to the list and you.
Er
www.planet-php.net even :)
Jared
--
PHP General Mailing List
);
file_get_contents('http://localhost/headersave.php', FALSE, $content);
headersave.php
file_put_contents('headers.txt', var_export($_SERVER, TRUE));
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])
{
header('HTTP/1.0 304 Not Modified');
exit;
}
Jared
--
PHP General Mailing
1 - 100 of 172 matches
Mail list logo