if you don't find anything from the php manual or from the php lists then
you wont find it from any book.so i say you stick to this list and php
manual.
Haseeb.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 28 March 2003 00:15, Alexis Antonakis wrote:
> I am trying to set up a system whereby users can send data, in a
> pre-determined format, to a specified email address. I would then like to
> import the contents within each email into a database.
>
> The trouble I'm having is not knowing r
> You really are taking advantage of people's
> generosity in answering your OT questions.
Why are you such a jerk Jason? I'm trying to install
php / mysql and I got some questions regarding error
messages I get.
An OT question would be me asking something like,
whats the best temp for cooking a
I have to agree with Jason Wong, this list if for PHP and PHP only. If
you want to discuss something else, do it somewhere else. The volume of
the list is high enough with legitimate questions...
Joseph Bannon wrote:
You really are taking advantage of people's
generosity in answering your OT
Not a PHP Question.
"updatedb" or "locate -u" should work on Linux systems.
Regards,
Nikunj Virani
- Original Message -
From: "Joseph Bannon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 29, 2003 12:44 PM
Subject: [PHP] locate
> How do you update the locate databas
On Fri, 28 Mar 2003 20:12:27 -0800, you wrote:
>I'm a total newbie to programming, but I picked up PHP last month and redesigned my
>website (I think it's great).
>
>What I want to do now, is create a price comparison engine of online bookstores using
>PHP and whatever web services the vendors s
Server Win2000 +ISS5 +PHP
Trying to get access to an access DB through COM but i wont work. there is
no results generated.
Can anyone help me
Here is the code
$rownum =0;
$conn = &ADONewConnection('access');
$conn->PConnect('webdb.mdb');
$result = &$conn->Execute('SELECT Produkt, Artikelnr, Pris,
I'm using ldap_read() to get the namingContexts from the LDAP
server.
- s n i p -
$sr = ldap_read($this->ldap_linkid, '', '(objectClass=*)', array('namingContexts'));
if(! $sr) die("Can't find base dn - ".ldap_error($this->ldap_linkid));
$entry = ldap_get_entries($this->ldap_linkid, $sr);
hi
how can i set the cookies life to non expireable
and what action should i take when the user signs out?
Regards.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.php.net/manual/en/function.setcookie.php
You can set the expire date to be far of into the
future.
--- Haseeb Iqbal <[EMAIL PROTECTED]> wrote:
> hi
> how can i set the cookies life to non expireable
> and what action should i take when the user signs
> out?
> Regards.
>
>
> --
> PHP
i think this site suits your question pretty well:
http://nutshells.oreilly.com/
:)
"John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Who is Tim O'Reilly? In a nutshell?
>
> http://www.oreilly.com/catalog/opensources/book/tim.html
> http://oreilly.com/oreilly/ab
I'm having problems with my post variables. Here's the page I use to submit
data:
Here's the test2.php page:
This is all very simple, and works on one of my webservers. However, on
another webserver with a practically identical configuration, if I post
"testing" the result that I get
Hello,
You will find our open source Krysalis platform interesting for PHP web
services.
http://www.interakt.ro/products/Krysalis/
We have just released the 2.4beta version with a lot of improvements.
You can also read my chapter for the Wrox (it's bancrupcy is a major
losss..) "Pro
Where can I find some information on storing a graphic file such as a JPG or
GIF into a MySQL database. I'm assuming I have to convert it to a binary
format and store it that way. Or maybe this isn't possible?
Thanks!
Here's a good start:
http://www.phpbuilder.com/columns/florian19991014.php3
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 7:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Storing a graphic file in a MySQL database
Where can I find some in
"Hardik Doshi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> During reading of XML+XSLT and Smarty, i have
> following two questions.
> Actually i dont know much about Advantages of XML+XSLT
> in web based application. What i know is Smarty's
> advantages. So if you have any idea t
Could use some help on trying to remove mime from an incoming email.
The emails (netscape or outlook) seem to clearly define...
Netscape
boundary="070304040709010903030405"
Outlook
boundary="=_NextPart_000_0015_01C2F52F.777F61A0"
Then remove the first occurence to the next..
Hi:
I would like to know if there is a way to know the size foan image when
uploading it from a form page on PHP.
I know the weight can be measured with $file_size but what Im looking for is
to be able to validate if an image is more than 220pixels width or of
height.
Thanks in advance
EJB
--
here is something for you from php manual
The getimagesize() function will determine the size of any GIF, JPG, PNG,
SWF, SWC, PSD, TIFF, BMP or IFF image file and return the dimensions along
with the file type and a height/width text string to be used inside a normal
HTML IMG tag.
Returns an arra
Hi I am wondering if any one can help me please:
I'm trying to validate a file when uploading it. I want only to accept .jpg
and .gif files so I'm trying to use.
If(($file_type = = " image/JPEG") || ($file_type = = "image/GIF"))
But it will not let through even the .jpg or .gif images.
i think the comparision is case sensitive. try strlower for image types and
compare with lower cases.
also note that for IE image type for jpg is pjpeg so include this to
Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030
--
PHP General Mailing List (
Hi Alexandru,
I have to sand and paint a rocking chair this afternoon. Can Krysalis
help me with that? Apparently it's the answer to almost every question
on this list, as I have to delete your advertising several times a day.
This may be the best program ever written, but can you lay off the
ad
Hello,
I see PHP5 news on /. , and noting about client side php support.
Does any one had any new news about client side PHP ? (not PHP+GTK)
Thanks.
--
Sancar Saran
Koytur Networks System Administrator
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
I bet the web server that works is not running Apache 2, is it? Either
way, it's an Apache2 and PHP bug. It's in the bug tracker somewhere...
Use Apache 1.3.27 or whatever the latest is...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://w
> > You really are taking advantage of people's
> > generosity in answering your OT questions.
>
>
> Why are you such a jerk Jason? I'm trying to install
> php / mysql and I got some questions regarding error
> messages I get.
Then learn how to ask a question. At least make an effort to relate i
> I see PHP5 news on /. , and noting about client side php support.
>
> Does any one had any new news about client side PHP ? (not PHP+GTK)
This was discussed on the list a while ago, but I think the general
consensus was that it's a bad idea. Why would you want to create another
client side lang
if you are on redhat check and make sure you have the php_mysql... rpm
installed.
Jim
- Original Message -
From: "CDitty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:07 PM
Subject: [PHP] Can't connect to mysql
> I just setup my home development server and I
All,
How do I combine the multi-dimensional arrays returned from the
parse_ini_file function on two different ini files? I tried:
$my_array = parse_ini_file('some_file', true);
$my_array[] = parse_ini_file['another_file', true);
Thanks
Dave
[EMAIL PROTECTED]
--
PHP General Mailing List (htt
some information from php manual
array_merge() merges the elements of two or more arrays together so that the
values of one are appended to the end of the previous one. It returns the
resulting array.
If the input arrays have the same string keys, then the later value for that
key will overwrite
MySql is not compiled into PHP
What does phpinfo say? (And not just the configure line)
- Original Message -
From: "Cditty" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 29, 2003 12:07 AM
Subject: Can't connect to mysql
> I just setup my home
Aside from SSL (which I wouldn't even know where to begin at this point). Is
there not a way to determine what gets sent with the headers or to block the
referring address from another site?
B.
- Original Message -
From: "Haseeb Iqbal" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTE
Wow, Joe!
You post to the wrong list, and your problem is sufficiently unusual (you
have no err log?) that we can't give quick supportive answers, and then you
whine at us.
Not too cool. Please use the appropriate list.
- Original Message -
From: "Joseph Bannon" <[EMAIL PROTECTED]>
Newsg
Saving Images in MySQL
http://www.weberdev.com/index.php3?GoTo=ViewArticle.php3?ArticleID=3
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29,
Sorry maybe I used the incorrect terms...
When outlook sends and email, even if HTML format is chosen, the source
of the email still contains these lines
This is a multi-part message in MIME format.
--=_NextPart_000_0015_01C2F52F.777F61A0
Content-Type: text/plain;
charset="iso-8859-1"
php-general Digest 29 Mar 2003 18:30:54 - Issue 1967
Topics (messages 141557 through 141600):
Re: possible?
141557 by: Mike Brum
141559 by: Maciek Ruckgaber Bielecki
Re: mysql ending at start up
141558 by: Don Read
141560 by: Joseph Bannon
141562 by:
http://www.editworkspro.com/index.php
I've not used it, and it requires IE - but the demo was impressive.
Miles
At 11:21 AM 3/28/2003 -0800, Daniel Guerrier wrote:
Does anyone know of an open source webeditor that I
can use to enter information into a text area field.
I have a custom CMS and I wou
Sofar I've found everything I needed from the manual, and other than the
"Install PHP Guide" on WebMonkey, I haven't used anything but the manual,
and scarsely this list...
And I do use the downloadable version of the manual, without the user
comments ...
But of course, I've programmed since I w
Dear groupmembers.
I am stuck on "executing" automaticaly
a URL-string to be sent to a perl-script.
Explanation:
I have a form with one textfield.
After submittung the form I get
the variable $indicprop from that field.
$indicprop should now be sent automaticaly
within a query string of the sort:
Hi,
I'm having a problem hopefully can be easily answered. I'm trying to
organize parts of my site into different directories so that they're all
not in the "main" folder so to speak; basically breaking out by what
part of the application it is. I also have an "include" folder for all
my main func
It seems I have found my problem. It has to do with the files I'm trying
to include. They also include other files and the directories it's
trying to include files from aren't working. I've found a workaround for
my situation for the time being. It's not pretty, but functional.
On Sat, 2003-03-29
I've seen some PHP books, and honestly, the only book I might buy would
be a printed copy of the PHP manual. It's more in-depth than most
books. Exactly what is your problem with it?
Beauford.2002 wrote:
My comment was that they do not use manuals, they use books written by
3rd parties. Why?
Hi,
> I have to sand and paint a rocking chair this afternoon. Can Krysalis
> help me with that? Apparently it's the answer to almost every question
> on this list, as I have to delete your advertising several times a day.
I apologize for the high rate of my postings. They can be considered
adv
I've considered that route, but an issue I have with that is I do most
of my development work on a machine that a different directory structure
than the production server (currently a Cobalt RaQ4), so the paths are
different. Accommodating both would be a time consuming project for me.
On Sat, 20
> > try using an absolute path.
>
> I've considered that route, but an issue I have with that is I do most
> of my development work on a machine that a different directory
structure
> than the production server (currently a Cobalt RaQ4), so the paths are
> different. Accommodating both would be a
Hello together!
I've got problems with opening some remote files, but I really don't
understand why this doesn't work (with mostly all it works)!
This is one of them the fopen-function don't open:
$fp = fopen("http://www.cornutopia.charitydays.co.uk/software/arcangel.xml";,
"r");
But is also don
Hello, can anyone help me with a php theme selector? I want it like when
the seletect a theme ?theme=green that it will go into a directory and
load green.php or somthing like that please help. Thankyou
- Tim Hoffmeyer
> Hello, can anyone help me with a php theme selector? I want it like when
> the seletect a theme ?theme=green that it will go into a directory and
> load green.php or somthing like that please help. Thankyou
I'd store your themes in stylesheets instead.
--
PHP General Mailing List (http://www.
Just off the top of my head ...
Install Spanish language suport on the Windows machine
What CodePage are you using?
Check the Microsoft KB.
Thinking about it a bit more, a plain ascii file may not handle Spanish
because (if I remember correctly) it's single byte and repres
http://www.killersoft.com/downloads/pafiledb.php?action=file&id=4
Justin
On 03/27/2003 03:44 AM, Philip J. Newman wrote:
> How would i check that an e-mail has the right parts in it. for example.
>
> username @ domain . ext
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Greetings all,
Using PHP 4.1.1 / Apache Server / MS Win 98 / IE 5.5
The following script is from Julie Meloni's book PHP Fast and Easy on page
170-174.
The first part is an html form in which the user browses and chooses a file
to be upoloaded to the server.
The script works fine in that when I
there is no indication what exactly you want to know , its too ambiguous , but
all i can say this book sounds like a dud, terrible explanation on file
uploads, check out this pear package, it helped a great deal ,although i had
to mod it to also do a check for mimetypes , as say i allowed only t
I'm kind of confused right now... when I call preg_replace_callback with a
regular expression with brackets, sometimes I get an array back with multiple
elements like
array(3) {
[0]=>
string(19) "http://www.aol.com
"
[1]=>
string(0) ""
[2]=>
string(19) "http://www.aol.com
"
}
and I
Yes, the webserver that works is running apache2, however it's 2.0.44
instead of 2.0.43... I'm upgrading the broken one now to see if that fixes
the problem.
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 10:50 AM
To: 'Mark Douglas'; [EMAIL
Sounds like a Windows configuration issue and not a php issue. There's an
'open using' (or some such) option buried in the windows file menu that will
let you change this.
Hugh
- Original Message -
From: "Anthony Ritter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 29,
Here's another that was posted recently. looks cool.
http://www.interactivetools.com/products/htmlarea
--- Miles Thompson <[EMAIL PROTECTED]>
wrote:
>
> http://www.editworkspro.com/index.php
>
> I've not used it, and it requires IE - but the demo
> was impressive.
> Miles
>
>
> At 11:21 AM 3
Hi,
I am using the following code to query a database and build an HTML table.
SQL Connect
/* Performing SQL query */
$query = "SELECT * FROM staff";
$result = mysql_query($query) or die("Query failed");
/* Printing results in HTML */
print "\n";
while ($line =
hi guys this seems to return on the first letter of the table name ?? return
@mysql_field_table($this->result,0); what could bne the problem ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
here is a version i did which is a heavily modified version ,
http://www.electroteque.org/demo/wysiwyg/ , i think the editworks uses the new
mshtml style of the dhtml editor , the buggy ativex versions are now non
compliant so i should do some upgrading :D
>= Original Message From olinux <[
ok i worked out the problem possible bug ??
SELECT f.filmID, f.programID, prg.name FROM films f LEFT JOIN EPG.TblProgram
prg ON f.programID=prg.programID WHERE f.alive=1 AND ((NOW()>=f.start_date)
AND (NOW() <= f.end_date))
the mysql_field_table wont show up properly on a join or even when sele
Just an FYI, 2.0.44 still isn't working on this server, while it does on
another... I don't know what to do now, so I'm just going to write code to
deal with this bug.
-Original Message-
From: Mark Douglas [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 10:38 PM
To: '[EMAIL PROTEC
There is a second edition of MySQL and PHP, the first edition was a very
good book but was written before the super globals were introduced.
I would recommend going on Amazon and bn.com and reading the reviews.
There is a lot you can learn from the PHP Manual but if you are truly a
beginner yo
i can honestly say when i was a newbie , browsing other peoples code , and
also especially the pear packages helped me formulate my own style , in
particular , the pear packages helped alot to understand the structure and how
to build classes properly , and phpdocs helped to understand a standar
php-general Digest 30 Mar 2003 06:56:16 - Issue 1968
Topics (messages 141601 through 141627):
Re: webeditor
141601 by: Miles Thompson
141620 by: olinux
141623 by: daniel
Re: Is there a PHP for Dummies?
141602 by: -{ Rene Brehmer }-
141606 by: Leif K-B
On 30-Mar-2003 Scott Thompson wrote:
> Hi,
>
> I am using the following code to query a database and build an HTML
> table.
>
> /* Printing results in HTML */
> print "\n";
> while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
$line['email'] =
'' .$line['email'].'';
>
64 matches
Mail list logo