[PHP] Re: get the month's last day

2004-07-09 Thread Sheawh
I've found the date() function with "t" returns the correct result thanks all so check this out for more reference if anybody got same problem too! http://hk2.php.net/manual/en/function.date.php "Sheawh" <[EMAIL PROTECTED]> ¦b¶l¥ó news:[EMAIL PROTECTED] ¤¤¼¶¼g... > how can i retrieve the last da

Re: [PHP] SOLVED: ImageCopyResized works on JPG but not PNG?

2004-07-09 Thread Jough P
yup, you were right. I was naming the image "image.png.png". DOH! been a long week Thanks!! On Jul 9, 2004, at 6:42 PM, Jason Wong wrote: On Saturday 10 July 2004 06:38, Jough P wrote: Greetings all, I have a real simple function. I works well on JPG images but ImageCopyResized(), or Imag

Re: [PHP] get the month's last day

2004-07-09 Thread John W. Holmes
Sheawh wrote: how can i retrieve the last day of the month? like 31 - Jul, 30 - Jun , 28 - Feb $lastdayofmonth = mktime(12,0,0,$month+1,0,$year); ?> -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -

[PHP] get the month's last day

2004-07-09 Thread Sheawh
how can i retrieve the last day of the month? like 31 - Jul, 30 - Jun , 28 - Feb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Hosting

2004-07-09 Thread Cornelius Engelbrecht
I have been using Zentrifugal.com for quite some time and it works great for me. They are quite inexpensive too - only $99 per year. I have no affiliation with them, just a satisfied customer. Cornelius -Original Message- From: Ed Lazor [mailto:[EMAIL PROTECTED] Sent: Friday, July 09,

RE: [PHP] search string / query format

2004-07-09 Thread Ed Lazor
> -Original Message- > > I'm going to create a search page that accepts input similar to places > like > > Yahoo and Google. > [snip] > > Also, I've heard that MySQL's indexing can > > support some of this, but I'm not sure how much. > > Using a FULLTEXT index and searching in BOOLEAN m

Re: [PHP] search string / query format

2004-07-09 Thread John Taylor-Johnston
>>Keyword AND keyword2 >>"keyword keyword2" -keyword3 It doesn't support AND or OR but it does use - + * and others. >Consult thine manual!! (The MySQL one) ;) http://dev.mysql.com/doc/mysql/en/Fulltext_Search.html The problem is getting a FULLTEXT to sort by relevancy. This was a real pain, un

Re: [PHP] search string / query format

2004-07-09 Thread John W. Holmes
Ed Lazor wrote: I'm going to create a search page that accepts input similar to places like Yahoo and Google. [snip] > Also, I've heard that MySQL's indexing can support some of this, but I'm not sure how much. Using a FULLTEXT index and searching in BOOLEAN mode supports the type of search stri

[PHP] search string / query format

2004-07-09 Thread Ed Lazor
I'm going to create a search page that accepts input similar to places like Yahoo and Google. Example input would be: Keyword AND keyword2 Keyword -keyword2 +keyword3 "keyword keyword2" -keyword3 Rather than reinvent things though, I'm wondering if anyone here happens to have a script o

Re: [PHP] eregi_replace()

2004-07-09 Thread John Taylor-Johnston
Sorry. I have it working. My fault. I had a previous line: $mydata->ST = eregi_replace($searchenquiry, "".$searchenquiry."", $mydata->ST); THANKS! John "Matt M." wrote: > > $searchenquiry = "Never cry Wolfe" > > and > > $mydata->ST contains "... Never Cry Wolfe ..." > > > > This code echos: > > "

Re: [PHP] eregi_replace()

2004-07-09 Thread John Taylor-Johnston
>isnt that what you want? I don't see anything in the manual that says it can't? http://ca3.php.net/manual/en/function.preg-replace.php Thanks for trying. John > > $searchenquiry = "Never cry Wolfe" > > and > > $mydata->ST contains "... Never Cry Wolfe ..." > > > > This code echos: > > ".preg_re

Re: [PHP] eregi_replace()

2004-07-09 Thread John Taylor-Johnston
>isnt that what you want? Hmm? Yes. But it doesn't work for me? It cannot be a php verison thing, can it? I have phpversion() 4.1.2. I don't get it? :) Compare with: http://compcanlit.usherbrooke.ca/new1/db/index.php?searchenquiry=Never%20Cry%20Wolfe and then: http://compcanlit.usherbrooke.ca/new1

Re: [PHP] ImageCopyResized works on JPG but not PNG?

2004-07-09 Thread Jason Wong
On Saturday 10 July 2004 06:38, Jough P wrote: > Greetings all, I have a real simple function. I works well on JPG > images but ImageCopyResized(), or ImagePNG() doesn't seem to be > working. When I view the uploaded file it is still it's original size. > Here is the function. I hope someone c

[PHP] Re: breadcrumb app...

2004-07-09 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, Bruce wrote: > has anybody seen a reasonably good/basic breadcrumb app that works... new > pages are displayed to the user based upon the user's menu selection... The best approach i've seen untill now is to keep a stack with pages that have been visited. And each t

[PHP] ImageCopyResized works on JPG but not PNG?

2004-07-09 Thread Jough P
Greetings all, I have a real simple function. I works well on JPG images but ImageCopyResized(), or ImagePNG() doesn't seem to be working. When I view the uploaded file it is still it's original size. Here is the function. I hope someone can help me, I'm pretty stumped. function transfor

Re: [PHP] eregi_replace()

2004-07-09 Thread Matt M.
> $searchenquiry = "Never cry Wolfe" > and > $mydata->ST contains "... Never Cry Wolfe ..." > > This code echos: > ".preg_replace ('/('.$searchenquiry.')/i' , "$1", > $mydata->ST)."  > > ... Never cry Wolfe ... > > But I want it to use the original text and echo: > > ... Never Cry Wolfe ... I

Re: [PHP] eregi_replace driving me nuts

2004-07-09 Thread Matt M.
> What I'm trying to do: > > I'm trying to have the proper variables for the eregi_replace so that each > word in the $dico array is replaced by a link to its definition respecting > the following rules : > -only exact match makes a link to the definition, for example : > - "abaisseraient" do

[PHP] breadcrumb app...

2004-07-09 Thread bruce
hi... has anybody seen a reasonably good/basic breadcrumb app that works... new pages are displayed to the user based upon the user's menu selection... i'd like to be able to provide a trail at the top of the page, kind of like.. home -> food -> fruit -> squash were the user could then select on

Re: [PHP] eregi_replace()

2004-07-09 Thread John Taylor-Johnston
$searchenquiry = "Never cry Wolfe" and $mydata->ST contains "... Never Cry Wolfe ..." This code echos: ".preg_replace ('/('.$searchenquiry.')/i' , "$1", $mydata->ST)."  ... Never cry Wolfe ... But I want it to use the original text and echo: ... Never Cry Wolfe ... Do-able? > try this > echo

Re: [PHP] after suubmitting, working with data on same page

2004-07-09 Thread Marek Kilimajer
Your s are outside of the And use $_POST['zwords'] instead of just $zwords in case register_globals is off. Hull, Douglas D wrote: Sorry about that. It did execute my if but shows nothing for $zwords. So my echo shows: xx after entering "cat" and pressing my calc your entry. How do I ge

RE: [PHP] after suubmitting, working with data on same page

2004-07-09 Thread Hull, Douglas D
Sorry about that. It did execute my if but shows nothing for $zwords. So my echo shows: xx after entering "cat" and pressing my calc your entry. How do I get my value(s) I entered in to work with? Thanks > -- > From: Marek Kilimajer > Sent: Friday, July 9, 2004 1:4

Re: [PHP] after suubmitting, working with data on same page

2004-07-09 Thread Marek Kilimajer
if ($_POST['calcentry'] == "Calc Your Entry") { Hull, Douglas D wrote: Just to make it simple this is my whole page for now, when putting words in the textarea "zwords" and hitting "calc your entry" it never goes into my if statement: if ($_POST['$calcentry'] == "Calc Your Entry") { echo 'xxx'

[PHP] after suubmitting, working with data on same page

2004-07-09 Thread Hull, Douglas D
Just to make it simple this is my whole page for now, when putting words in the textarea "zwords" and hitting "calc your entry" it never goes into my if statement: Thanks, Doug -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

RE: [PHP] Any suggestion for my php project?

2004-07-09 Thread Ed Lazor
Track activity using a web log analyzer rather than trying to integrate something with the site. Try webtrends.com for an example. > hi, all: > We have a bioinformatic website that focus on experiment submission and > data analysis. The old site was written in PHP. Now, we try to > re-organize

Re: [PHP] after submitting, working with data on same page

2004-07-09 Thread Matt M.
>:if ($calcentry) {...}part of my code and do some calculations with php and mysql >and put my output into textarea2. if ($_POST['calcentry'] == 'Calc Your Entry') { } is one way to do it >So my first question is how do I keep the data in textarea1 so when I perform my >submit I can do some calc

Re: [PHP] eregi_replace()

2004-07-09 Thread Matt M.
> The problem is $searchenquiry would be contained inside $mydata->JR so I would need > to see if it exists and then put ... around it, without changing the original > case. what do you have in $searchenquiry? try this echo preg_replace ('/('.$searchenquiry.')/i' , "$1", $mydata->JR); -- PH

Re: [PHP] after submitting, working with data on same page

2004-07-09 Thread Daniel Guerrier
You have the data in the $_POST global. So submit it to _self as you already have and if $_POST['calcentry'] is present and not null then do your calculation then set the value of the sencond textarea to the result. --- "Hull, Douglas D" <[EMAIL PROTECTED]> wrote: > I have my two html textarea fi

[PHP] Any suggestion for my php project?

2004-07-09 Thread xin
hi, all: We have a bioinformatic website that focus on experiment submission and data analysis. The old site was written in PHP. Now, we try to re-organize the website to make it easier to browser. One of the chanllenges is tracking the logged-in user's activity so that we can show which experi

[PHP] after submitting, working with data on same page

2004-07-09 Thread Hull, Douglas D
I have my two html textarea fields followed by these two buttons. I have textarea1 to type words into. I have textarea2 for my results. I have people type words in textarea1 and after hitting the "calcentry" button I want to reload the same page, go into my: if ($calcen

Re: [PHP] eregi_replace()

2004-07-09 Thread John Taylor-Johnston
>if (strtoupper($searchenquiry) == strtoupper($mydata->JR) ) The problem is $searchenquiry would be contained inside $mydata->JR so I would need to see if it exists and then put ... around it, without changing the original case. Thanks, J "Matt M." wrote: > > $mydata->JR = eregi_replace($sear

Re: [PHP] eregi_replace()

2004-07-09 Thread Matt M.
> $mydata->JR = eregi_replace($searchenquiry, "".$searchenquiry."", > $mydata->JR); > echo $searchenquiry; > > What I should display is if $searchenquiry = $mydata->JR in a case insensitive way > then > echo "".$searchenquiry.""; > > Do I use if (x =~ b) {} or some sort of string compare or ...

[PHP] Re: problem with downloading some pdf's

2004-07-09 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, Scott Taylor wrote: > "I have tried twice, both times its starts to download but stops about > half way or three-quarters the way complete. I get a error message that > the download was not completed. When I go to look at the message there > is just numbers. I hav

[PHP] Re: PHP Include not Working Correctly

2004-07-09 Thread Thomas Seifert
Harlequin wrote: Brings in the correct file but not an images referenced in the CSS file, just the background and formatting. Has anyone come across this before...? Huh? The include-statement just includes code/html, it doesn't correct any links or such. probably the link in your css-file is wro

[PHP] PHP Include not Working Correctly

2004-07-09 Thread Harlequin
Hi all. in a desperate effort to whittle down my code I decided to use an include statement in my webpage: http://www.arrasresources.co.uk But the include statement: Brings in the correct file but not an images referenced in the CSS file, just the background and formatting. Has anyone come a

[PHP] eregi_replace()

2004-07-09 Thread John Taylor-Johnston
I'm using this, but it is wrong. $mydata->JR = eregi_replace($searchenquiry, "".$searchenquiry."", $mydata->JR); echo $searchenquiry; What I should display is if $searchenquiry = $mydata->JR in a case insensitive way then echo "".$searchenquiry.""; Do I use if (x =~ b) {} or some sort of string

RE: [PHP] basic web based test code needed to test database tables!!!!!

2004-07-09 Thread bruce
for clarification i'm not looking to edit the database... i'm looking for an app that i can use to test that the tables/relationships are properly implemented.. the best/fastest way to do this is to implement a fast/dirty app that will display the top level table as a list of items... i want

Re: [PHP] problem with downloading some pdf's

2004-07-09 Thread Justin Patrin
I've had a similar problem. The issue was that Norton Personal Firewall was corrupting the download...I have no idea why. To make it work, I had to use mod_rewrite to make the URL look like a normal file URL, then I found out that it would only work over HTTPS.again, no idea why. If the user ha

Re: [PHP] Emulating sprintf???

2004-07-09 Thread Gerard Samuel
On Thursday 08 July 2004 10:12 pm, Michal Migurski wrote: > Much easier recommendation: use provided sprintf, but parse out any > unwanted placeholders first, using preg_replace. > After some thought, I think I'll follow this recommendation. With the frequency that I would have to execute this cod

[PHP] problem with downloading some pdf's

2004-07-09 Thread Scott Taylor
<> I've gotten this one report of having a problem downloading a PDF: "I have tried twice, both times its starts to download but stops about half way or three-quarters the way complete. I get a error message that the download was not completed. When I go to look at the message there is just numb

Re: [PHP] basic web based test code needed to test database tables!!!!!

2004-07-09 Thread Justin Patrin
On Fri, 9 Jul 2004 10:09:55 -0700, bruce <[EMAIL PROTECTED]> wrote: > hi... > > i'm in need of some basic test code that will allow me to iterate through > some tables in a database that i'm creating... > > basically, i have a number of tables, where each table has a name/id. each > table also ha

[PHP] basic web based test code needed to test database tables!!!!!

2004-07-09 Thread bruce
hi... i'm in need of some basic test code that will allow me to iterate through some tables in a database that i'm creating... basically, i have a number of tables, where each table has a name/id. each table also has a parent, and a child table, where the connection is the id of the table. i'm l

Re: [PHP] fopen with login credentials being an email address

2004-07-09 Thread raditha dissanayake
Gunter Sammet wrote: Yes I had quotes. And you're right the interpretation of the URL is as you laid it out. Unfortunatelly I don't have control on the login credentials. Tried %40 to replace the @ but then it won't be accepted as a login. Thanks for your reply! You need to use CHAP authenticati

Re: [PHP] fopen with login credentials being an email address

2004-07-09 Thread Justin Patrin
Is your login page a real HTML page? In that case you could use PEAR's HTTP_Client package to do the login and move on. http://pear.php.net/package/HTTP_Client On Fri, 9 Jul 2004 10:17:25 -0600, Gunter Sammet <[EMAIL PROTECTED]> wrote: > I tried that before manually with %40 and it didn't work. I

Re: [PHP] fopen with login credentials being an email address

2004-07-09 Thread Gunter Sammet
Yes I had quotes. And you're right the interpretation of the URL is as you laid it out. Unfortunatelly I don't have control on the login credentials. Tried %40 to replace the @ but then it won't be accepted as a login. Thanks for your reply! G. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in messa

Re: [PHP] fopen with login credentials being an email address

2004-07-09 Thread Gunter Sammet
I tried that before manually with %40 and it didn't work. It's now valid but Apache seems to not recognize the login credentials and sends me to the login page. And that's the one I need to skip. Thanks! G. "Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Try using

[PHP] eregi_replace driving me nuts

2004-07-09 Thread Michael . Thanry
Hi, Considering the following script : "def.php?id=9", "singer" => "def.php?id=9" ); $texte = "Abaisser Vous abaisserez la pate, abaisser.Singer"; while(list($mot,$def) = each($dico)) { $pattern = "(".$mot.")[^[:alpha:]]"; ech

Re: [PHP] gzip compression verification

2004-07-09 Thread Jason Wong
On Friday 09 July 2004 23:12, Daniel Guerrier wrote: > I've enabled gzip compression of pages on my site. > The question is, how do I check the size of the page > being sent to verify that the page is being > compressed. You can use an old version of Netscape (4.7X). If you view source of a compr

Re: [PHP] Retrieving Database Data For Users To Edit

2004-07-09 Thread Justin Patrin
On Fri, 9 Jul 2004 11:04:05 +0100, Harlequin <[EMAIL PROTECTED]> wrote: > Hi again. > > I'm currently trawling through PHP and MySQL forums and web pages trying to > find some starting point for the above. > > In essence what I want to do is once a user is logged in (which I have > cracked) displ

Re: [PHP] Re: Slideshow using PHP

2004-07-09 Thread Justin Patrin
You can use flush() for that, but the webserver, any intermediate caches, and the browser may cache the data before it gets displayed. You're much better off using JS to change the src of an img every n seconds. On Fri, 9 Jul 2004 10:47:04 +0100, Jason Merrique <[EMAIL PROTECTED]> wrote: > Hi Todd

Re: [PHP] Got a problem with Slashes on my CMS

2004-07-09 Thread Justin Patrin
On Thu, 8 Jul 2004 16:05:53 +0100, Phil Mellor <[EMAIL PROTECTED]> wrote: > Hello world! > > Please help! I have a CMS built which I have a problem with and I don't know > if it's a coding error or a bug, but any suggestions would be welcome! > > My CMS pulls information from MySQL database with

Re: [PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Matthew Sims
> I'm getting closer...! > > I SELECT: > > $sql = "SELECT UserFirstName FROM RegisteredMembers WHERE > UserID='$_POST[TXT_UserID]'"; > $result5 = mysql_query($sql) or die ("error: couldn't select UserID from > database. Please e-mail: [EMAIL PROTECTED] with this > error > message."); > whil

RE: [PHP] gzip compression verification

2004-07-09 Thread Willem Bison
> I've enabled gzip compression of pages on my site. > The question is, how do I check the size of the page being > sent to verify that the page is being compressed. Check log of webserver; bytes sent is shown there. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] fopen with login credentials being an email address

2004-07-09 Thread Justin Patrin
Try using urlencode on the e-mail address. On Thu, 8 Jul 2004 23:30:33 -0600, Gunter Sammet <[EMAIL PROTECTED]> wrote: > Hi all: > Tried to use fopen like this: > > fopen([EMAIL PROTECTED]:[EMAIL PROTECTED]); > > Didn't work and I couldn't find anything out on the search engines. > > Any sugges

Re: [PHP] gzip compression verification

2004-07-09 Thread raditha dissanayake
Daniel Guerrier wrote: I've enabled gzip compression of pages on my site. The question is, how do I check the size of the page being sent to verify that the page is being compressed. pages will not always be compressed - they are delivered in compressed format only when the browser is willing t

[PHP] gzip compression verification

2004-07-09 Thread Daniel Guerrier
I've enabled gzip compression of pages on my site. The question is, how do I check the size of the page being sent to verify that the page is being compressed. Danny __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promoti

Re: [PHP] Page Loading Problem

2004-07-09 Thread Matt M.
> Anyone have any ideas why this happens??? You have any code examples? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Hosting

2004-07-09 Thread Sam Masiello
I think you mean GEOS :) --Sam -Original Message- From: Alex Hogan [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 8:15 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] PHP Hosting > Don't you require Windows 3.1.11 for proper network support > :) - at least 3.1 was stable. Poke f

[PHP] Page Loading Problem

2004-07-09 Thread Bob
Hello all I bring up a browser and try and go to my index.php for the first time and all I receive back in the broswer is a blank page. This is the test from the view source Then, once you hit refresh, the page displays properly and keeps displaying properly until I close the browser a

[PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Daniel Kullik
Harlequin wrote: This is really confusing and I'm sure very simple to achieve. I already have values selected that I want to open and edit: $sql = "SELECT * FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'"; I basically want to recall these values on screen for the user to edit themselves.

RE: [PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Jay Blanchard
[snip] $sql = "SELECT UserFirstName FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'"; [/snip] please change $sql = "SELECT UserFirstName FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'"; to the proper syntax of $sql = "SELECT UserFirstName FROM RegisteredMembers WHERE UserID='

Re: [PHP] Retrieving Data To Edit

2004-07-09 Thread Harlequin
Yes and thanks very much for the post. I've been trying to use some of the examples on that site but just can't seem to get it to work right. I've posted a reply to my own thread "below" I'd really appreciate any input you can provide. -- - Michael Mason Arras Peopl

[PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Harlequin
I'm getting closer...! I SELECT: $sql = "SELECT UserFirstName FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'"; $result5 = mysql_query($sql) or die ("error: couldn't select UserID from database. Please e-mail: [EMAIL PROTECTED] with this error message."); while($row = mysql_fetch

[PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Torsten Roehr
"Harlequin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This is really confusing and I'm sure very simple to achieve. > > I already have values selected that I want to open and edit: > > $sql = "SELECT * FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'"; Hi, please put q

Re: [PHP] PHP Hosting

2004-07-09 Thread raditha dissanayake
Louie Miranda wrote: check out http://www.webhostingtalk.com Before you sign up type in the company name into the searchbox at webhostingtalk, follow up by doing the same at google. Recently I ordered a dedicated server without botherhing with these steps and and i have been wrongfully billed

RE: [PHP] PHP Hosting

2004-07-09 Thread Alex Hogan
> Don't you require Windows 3.1.11 for proper network support > :) - at least 3.1 was stable. Poke fun all you want.., Everyone knows the real OS was Warp! ;-) *onward flamewar soldiers* alex hogan * The cont

Re: [PHP] PHP and windows authentication

2004-07-09 Thread raditha dissanayake
Roman Duriancik wrote: I have problem with open file by fopen function on windows servers. I need open some file in windows server, from php script but is it possible that this script running on some user windows account ? example : fopen("server\\data1\\text.txt","r"); system send me this

Re: [PHP] How to handle cookies?

2004-07-09 Thread Matt M.
> How can I handle this cookie when using php? Is there an easy way? It > would be best just to use fopen("http://...";). http://pear.php.net/package/HTTP_Client -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Retrieving Data To Edit

2004-07-09 Thread Jay Blanchard
[snip] This is really confusing and I'm sure very simple to achieve. I already have values selected that I want to open and edit: $sql = "SELECT * FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'"; I basically want to recall these values on screen for the user to edit themselves. Once I'

Re: [PHP] Retrieving Data To Edit

2004-07-09 Thread André Ventura Lemos
Just put a with the value="" bits having the values you want the user to edit. On Fri, 2004-07-09 at 14:39, Harlequin wrote: > This is really confusing and I'm sure very simple to achieve. > > I already have values selected that I want to open and edit: > > $sql = "SELECT * FROM RegisteredMemb

[PHP] Retrieving Data To Edit

2004-07-09 Thread Harlequin
This is really confusing and I'm sure very simple to achieve. I already have values selected that I want to open and edit: $sql = "SELECT * FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'"; I basically want to recall these values on screen for the user to edit themselves. Once I've achi

Re: [PHP] PHP Hosting

2004-07-09 Thread Michael Gale
Don't you require Windows 3.1.11 for proper network support :) - at least 3.1 was stable. *continue flawewar" Michael. On Fri, 09 Jul 2004 08:48:00 -0400 John Nichel <[EMAIL PROTECTED]> wrote: > Curt Zirzow wrote: > > * Thus wrote Ed Lazor: > > > >>Hey, does anyone have experience hosting P

Re: [PHP] Re: PHP Redirection If Login Fails.

2004-07-09 Thread Harlequin
Thanks Jason. I think that's where I was falling down with this one. -- - Michael Mason Arras People www.arraspeople.co.uk - "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Friday 09 July 2004 18:37, Harleq

Re: [PHP] PHP Hosting

2004-07-09 Thread Adam Voigt
> Curt Zirzow wrote: > > * Thus wrote Ed Lazor: > > > >>Hey, does anyone have experience hosting PHP / MySQL apps on EV1servers.net, > >>ServerBeach.net, or CIhost.com? I'm looking for value, reliability, and > >>quality support. Any other recommendations are also greatly appreciated. http://ww

Re: [PHP] PHP Hosting

2004-07-09 Thread John Nichel
Curt Zirzow wrote: * Thus wrote Ed Lazor: Hey, does anyone have experience hosting PHP / MySQL apps on EV1servers.net, ServerBeach.net, or CIhost.com? I'm looking for value, reliability, and quality support. Any other recommendations are also greatly appreciated. Out of 1000's of solutions I'd p

Re: [PHP] Re: PHP Redirection If Login Fails.

2004-07-09 Thread Jason Wong
On Friday 09 July 2004 18:37, Harlequin wrote: > Here's the code in question: I'd ideally want the user to only be directed > to this page if login is successful. Directed to another page if > unsuccessful but even the error messages do not display which I find > strange... [snip] >else /

RE: [PHP] Retrieving Database Data For Users To Edit

2004-07-09 Thread Jay Blanchard
[snip] Any suggestions on code or where I can find such code...? [/snip] Sseach Google for PHP tutorials, several dozen of them discuss retrieving data from databases. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] odbc_exec

2004-07-09 Thread mistknight
I'm having trouble executing queries using odbc. Here's what I use: define("NEED_REPLY", true); $con = 0; function con() { $con = odbc_connect("rest","DBA","SQL"); odbc_autocommit($con, true); } function query($query, $reply_expected = false) { $reply = odbc_exec($con, $query); i

[PHP] Re: PHP Redirection If Login Fails.

2004-07-09 Thread Harlequin
Here's the code in question: I'd ideally want the user to only be directed to this page if login is successful. Directed to another page if unsuccessful but even the error messages do not display which I find strange... /* Verify Login */ $sql = "SELECT UserFirstName,UserID,UserPassword,FurtherC

[PHP] Retrieving Database Data For Users To Edit

2004-07-09 Thread Harlequin
Hi again. I'm currently trawling through PHP and MySQL forums and web pages trying to find some starting point for the above. In essence what I want to do is once a user is logged in (which I have cracked) display their information for them to edit. Such things as user's password, some text field

Re: [PHP] help to generate barcodes

2004-07-09 Thread Ewout
- Original Message - From: "Vicente Vives" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 09, 2004 11:42 AM Subject: [PHP] help to generate barcodes > Hello everybody, > > I'm looking for a way to generate barcodes from the web. I found some > ActiveX for ASP but i want

[PHP] PHP Redirection If Login Fails.

2004-07-09 Thread Harlequin
Hi all I've created a page that allows registered users who have previously registered and been entered into the database to login. However, for some reason if a user login fails my code does not display the appropriate error message. Ideally I would like the users to be redirected to another page

[PHP] Re: How to handle cookies?

2004-07-09 Thread Aidan Lister
Try cURL, http://php.net/curl "Martin Schneider" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello! I want to use php to gather some informations on a website. You > have to login to this website. In a brwoser, a cookie is set at login > and identifies you. > > How can I handle

[PHP] Re: Session_Start Problem (Fatal Error)

2004-07-09 Thread Aidan Lister
Did you look on the mambo forums as suggested? <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm using Mambo Open Source CMS to run a site I'm building, and seem to have a > problem logging into the Administration Tool. It comes up with: > > Fatal error: session_start(): Failed to

[PHP] help to generate barcodes

2004-07-09 Thread Vicente Vives
Hello everybody, I'm looking for a way to generate barcodes from the web. I found some ActiveX for ASP but i want to generate them using PHP :-) Do you know how? Do you know any library to do it? Thanks a lot. Vicente Vives. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: help to generate codebars

2004-07-09 Thread Aidan Lister
What is a codebar? "Vicente Vives" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello everybody, > > I'm looking for a way to generate codebars from the web. I found some > ActiveX for ASP but i want to generate them using PHP :-) > > Do you know how? > Do you know any library to

RE: [PHP] Re: Slideshow using PHP

2004-07-09 Thread Jason Merrique
Hi Todd, Just had an idea - not sure if it will work. Can you make PHP send data as it becomes available? Given that the pictures are all the same size, and there aren't too many of them, a 'for' loop would do it: for ($i = 1; $i <= 10; $i++) { echo layer containing the picture i with

[PHP] help to generate codebars

2004-07-09 Thread Vicente Vives
Hello everybody, I'm looking for a way to generate codebars from the web. I found some ActiveX for ASP but i want to generate them using PHP :-) Do you know how? Do you know any library to do it? Thanks a lot. Vicente Vives. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] Creating Rows and Columns Using for() Loops

2004-07-09 Thread Rory McKinley
[EMAIL PROTECTED] wrote: |--|--|- -| |MON JUL 5 |TUE JUL 6 | etc... | -||--|--|--- ---||-

[PHP] Got a problem with Slashes on my CMS

2004-07-09 Thread Phil Mellor
Hello world! Please help! I have a CMS built which I have a problem with and I don't know if it's a coding error or a bug, but any suggestions would be welcome! My CMS pulls information from MySQL database with slashes. On one particular content module I have a problem! I'm trying to 'require' a

[PHP] PHP and windows authentication

2004-07-09 Thread Roman Duriancik
I have problem with open file by fopen function on windows servers. I need open some file in windows server, from php script but is it possible that this script running on some user windows account ? example : fopen("server\\data1\\text.txt","r"); system send me this error message : *Warn

[PHP] Session_Start Problem (Fatal Error)

2004-07-09 Thread webmaster
I'm using Mambo Open Source CMS to run a site I'm building, and seem to have a problem logging into the Administration Tool. It comes up with: Fatal error: session_start(): Failed to initialize storage module. in /home/hetbweb/public_html/administrator/index.php on line 64 I've looked at various

[PHP] How to handle cookies?

2004-07-09 Thread Martin Schneider
Hello! I want to use php to gather some informations on a website. You have to login to this website. In a brwoser, a cookie is set at login and identifies you. How can I handle this cookie when using php? Is there an easy way? It would be best just to use fopen("http://...";). Martin -- PHP G