Re: [PHP-DB] Re: How to get PHP to download web contents

2003-07-07 Thread Steve B.
be in headers. Is there any header info todo with authentication which come from the client which are not set by doing the url name and pw? Thanks, Steve --- Ognyan Bankov [EMAIL PROTECTED] wrote: Steve B. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Nadim, It works

[PHP-DB] stripping a get variable out of url string

2003-07-05 Thread Steve B.
I have an online tutorial build into a web page. It has button next step. If you are on page index.php?abc=123 for instance the code is smart enough to make it index.php?abc=123step=x The problem is how to remove step=x from the old url string so that steps don't pile up.

[PHP-DB] How to get PHP to download web contents

2003-07-03 Thread Steve B.
How would you get PHP to download a file such as a web page and put it in a string? What keywords would relate to this (besides php download) I need a user to be able to put in a name and pass and have PHP go to a cetain site. The site can take the user/pass in the url so I do not need a form

Re: [PHP-DB] Re: How to get PHP to download web contents

2003-07-03 Thread Steve B.
Hi Nadim, It works but not for sites with password window that pops up. It is not the html based password but the browser window kind. Do you know what this kind is called? I've been searching 'php get html password' etc... Thanks Just a note the other example posted causes my computer to

[PHP-DB] add source code from form to DB - quote error- tried addslashes..

2003-06-26 Thread Steve B.
Hi I spent my 6+ hours trying yesterday to get a form to submit source code to the db. The data gets in the db fine if it is just plain ascii. The server has Magic Quotes on and this is bad according to most but should not stop it from working- in fact it should just work. Short Source is here

[PHP-DB] php admin text edit then crash question

2003-06-26 Thread Steve B.
I can post some source code by form to db and it all looks good in the db. When using phpadmin and adding wow to the end of the source phpadmin gets a quote error. The db field holding this is text. Why would it get a quote error from that? Is this a server issue or my fault? (its hosted)

Re: [PHP-DB] Renaming all pages to .php

2003-06-20 Thread Steve B.
I've heard of a Apache server setting or update that makes for example: .com/shoes.html returns page /index.php?site=shoes or .com/shoes.html returns page /shoes.php Just like you have virtual folders you can have wildcard serach and replaced virtual file names. I believe this would solve your

[PHP-DB] addslashes, stripslashes, htmlspecialchars

2003-06-13 Thread Steve B.
Hi this is about PHP commands even though has mysql too. I go to mysql board when I find one they said MySQL is not necessarily PHP driven and if I want PHP specific questions to go to a PHP list. How do you deal with forms, db storage of the data and calling it up in a form to edit? The

[PHP-DB] simple date formatting?

2003-06-11 Thread Steve B.
Hi I'm looking to format a date but all I find is this date() function and it appears to be for current date? My variable $dbrec[ListDate] is printing: 4/30/2003 0:00:00 It needs to print 4/30/2003 Am I on the right track to try to do a (with right parameters) $formatted_date = date(M D

[PHP-DB] PHP web templates?

2003-06-11 Thread Steve B.
Hi I'm working on the site http://www.handheldwarez.com I really like these sites style of table cells and borders etc... http://tribes.sierra.com/ http://www.planetrenegades.com/modules.php?name=Web_Linksl_op=MostPopular http://www.tribes2maps.com/ I've seen PHP nuke templates and am thinking

[PHP-DB] PHP/MySQL beginner group project

2003-06-11 Thread Steve B.
Site: http://www.handheldspecs.com Benefit for helping: Better your PHP/MySQL Know what color/java/phone/game/handheld/mp3/radio/bluetooth to buy (yes Nokia-Ngage does all this) Link on front page of your choice MySQL people aren't necessarily PHP programmers. The site is in PHP so I picked

[PHP-DB] how to update field without using UPDATE query?

2003-06-09 Thread Steve B.
how to update field without using UPDATE query? I open the db at a certain ID then set $dbrec['field'] = new value How do you update the db? Thanks -steve - Do you Yahoo!? Free online calendar with sync to Outlook(TM).

Re: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread Steve B.
- From: Steve B. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, 09 June, 2003 19:29 Subject: [PHP-DB] how to update field without using UPDATE query? how to update field without using UPDATE query? I open the db at a certain ID then set $dbrec['field'] = new value How do you update

RE: [PHP-DB] how to update field without using UPDATE query? you are kidding?

2003-06-09 Thread Steve B.
It sounds like you are crying John. Perhaps you know this function? I'm trying to learn PHP holmes. Keep the insults to yourself and help out if you know the answer. --- John W. Holmes [EMAIL PROTECTED] wrote: in asp it lets me say ~get a record into dbrec which is a database object.

[PHP-DB] Way to update field thx Digital

2003-06-09 Thread Steve B.
the confusion came from. I'd like to help you. So I can attempt to do that, let's see the ASP code you're trying to convert to PHP. Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: Steve B. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, 09

[PHP-DB] php to make form field for each column then update page.

2003-06-08 Thread Steve B.
Hi, I have used asp2php to convert an asp site and the update page does not iterate the form contents. This part saves me making a giant form by making it dynamically- $dbrec=getrec($result); form... while (list($k,$v)=each($dbrec)) { echo $knbsp;input type='text' value='$v' name='$k'BR;

[PHP-DB] Printing date as 04-06-03

2003-06-05 Thread Steve B.
Hi all, M-D-Y with leading 0 is how I would like to print dates at my exciting web page. I am trying DATE_FORMAT and my provider locked up?? :(= How would you print this? thx steve http://www.aifiles.com __ Do you Yahoo!? Yahoo! Calendar - Free online calendar