[PHP] e-commerce software

2001-03-06 Thread Justin French
asking a lot :) Has anyone got any recommendations, or maybe anyone in Australia want to start developing one with me? Kind Regards, Justin French Creative Director Indent.com.au -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] tutorials on good database design

2001-03-13 Thread Justin French
of relational databases etc etc Justin French -- 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]

Re: [PHP] tutorials on good database design

2001-03-13 Thread Justin French
Jason Murray wrote: True - I find the best way to explain database design to someone is by having them design a database (as with someone here last week whom I helped out with an office sports tipping database as a little how-to-SQL project) and help them out as they go. First up, thanks to

Re: [PHP] redirecting without headers or meta tags or javascript

2001-04-03 Thread Justin French
on this... Justin French -- 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]

[PHP] permissions on uploaded files via PHP

2002-01-16 Thread Justin French
by default are not wide enough to permit me to download it, rename it, etc. Correct? So, then what do I need to do? Does the script which uploads the file have to change the owner anmd permissions of the file? Justin French Indent.com.au -- PHP General Mailing List (http://www.php.net

[PHP] best way to approach dates

2002-01-20 Thread Justin French
... is there a way to cut down on PHP code by using MySQl alone to enter the timestamp (or date) for me? Any other suggestions on a sensible method of implementing dates times accross many sites and many bits of code? Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] smarter code (mySQL arrays)

2002-01-21 Thread Justin French
newbie on arrays, and I've read the manual, but am unclear on the syntax for the above. Ultimately, I'd like to put this all into a function which I call that does it all in one hit, but I'll take that in a smaller step :) Justin French -- PHP General Mailing List (http://www.php.net

Re: [PHP] smarter code (mySQL arrays)

2002-01-21 Thread Justin French
in one hit, but I'll take that in a smaller step :) The function Mr. Stancescu posted looks like it'll do the trick, with some modifications to perform the nl2br() and the stripslashes()... Thanks again to both of you. Justin French -- PHP General Mailing List (http://www.php.net

[PHP] seems easy...

2002-01-23 Thread Justin French
$limit = 5000; 2 if(strlen($text) $limit) 3{ 4cut $text down to $limit length 5$text .= ...sorry, text was too long; 6} Or is it hard than that? Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] outbound traffic, sessions reg expressions

2002-01-25 Thread Justin French
, Justin French -- 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]

Re: [PHP] Re: Resalution Dection

2002-01-28 Thread Justin French
Be carefull which version of javascript is in use (or more to the point, which version of javascript the browser supports), because these goodies aren't available in earlier versions (even 1.1 from memory), and you may want to do a lot of testing before being happy. Justin French Indent.com.au

Re: [PHP] Tables Loading Slow

2002-01-30 Thread Justin French
Either have 1 table per row, which means each row will display as it loads, rather than waiting for the other 30 or so. Alternatively, you could break it into chunks of 10, or 5 or whatever. I'm using both these methods on a few sites, with no problems. Justin French -- PHP General Mailing

[PHP] use_trans_sid

2002-02-02 Thread Justin French
special I have to do to ensure I have a system which uses cookies by default, and use_trans_sid as a second option, without have to carry the SID around in the URL? (page.php??=SID?)? Justin French http://indent.com.au http://soundpimps.com -- PHP General Mailing List (http://www.php.net

[PHP] testing for cookies capable client (browser)

2002-02-02 Thread Justin French
client-side (javascript etc). Has anyone got some code (simular to above, or a better solution) or examples they can post? Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] testing for cookies on the server side (again, still can't get my head around it)

2002-02-04 Thread Justin French
of the cookieAvailable should be only a day (since it's *possible* that they could turn cookies off), and same with the session expiry. Anything I'm missing here? Thanks in advance, Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] email validation (discussion)

2002-02-10 Thread Justin French
, rather than it kicking around in this group forever. Thanks, Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] regexp on user supplied link

2002-02-19 Thread Justin French
, especially with steps 1, 2 4, would be much appreciated. Thanks in advance, Justin French http://indent.com.au http://soundpimps.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] really hopelessly stuck on this problem!

2002-02-19 Thread Justin French
to be a bit clearer here... If you do need to collect information (like a cookie), then you have to render the page I believe. Justin French --- http://indent.com.au http://soundpimps.com DigitalKoala wrote: you still see the redirection middle page then .. (as some extra information

[PHP] timestamp confusion

2002-02-20 Thread Justin French
??? Justin French http://indent.com.au http://soundpimps.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] timestamp confusion

2002-02-20 Thread Justin French
It doesn't seem to me like this is an issue... isn't the timestamp just the local unix time? It is on my LAN server. The issue I have is that echo date('d M Y H:m:s','1014261839'); produces 21 Feb 2002 14:02:59 on my LOCAL machine echo date('d M Y H:m:s','1014260440'); produces 20 Feb 2002

Re: [PHP] timestamp confusion

2002-02-20 Thread Justin French
my local time (melbourne/sydney) printed to the page. thanks, jsutin french Jeff At 03:18 PM 2/21/2002 +1100, Justin French wrote: It doesn't seem to me like this is an issue... isn't the timestamp just the local unix time? It is on my LAN server. The issue I have is that echo

Re: [PHP] timestamp confusion

2002-02-20 Thread Justin French
Okay, that's what I needed to hear... so I'll just add 61200seconds onto the timestamp, and i'll be in the ball park. thanks to everyone, justin Scott Brown wrote: Seems to me that those functions expect GMT based time. Here in Ontario Canada, I'm GMT-5 (or -4 at some points in the

Re: [PHP] Changing 2 frames ...

2002-03-15 Thread Justin French
site. The question I usualy ask myself on stuff which relys heavily on Javascript is Do I *really* need this? Good luck, Justin French Marcel Besancon wrote: Hi everybody, is it possible to change two frames at one time using a php-script. For example: When I click on a link

Re: [PHP] Using Switch to control form action . .

2002-03-15 Thread Justin French
? ?'s around the PHP, but it might be psuedo code. Good luck, Justin French Andre Dubuc wrote: I'd like to control which php file is called when clicking two buttons on the bottom of a form; one called Add Names, the other Submit I've tried the following with no success

Re: [PHP] Web Tables and php forms

2002-03-17 Thread Justin French
tables. Justin French mikeyb wrote: I am completely stuck, and I am preying that someone will be able to help me. I have set up a php web form that allows one of my users to write columns for my site. This works great, I do a search and replace to replace /n with br because they don't know

[PHP] building forms from what the MySQL table looks like

2002-03-18 Thread Justin French
type=text name=price value= length=7 maxlength=7BR INPUT type=submit name=submit value=submit /FORM So, my question is, how do efficiently establish the data type, length and name of each field. The rest, I think I can handle :) Thanks in advance, Justin French -- PHP General Mailing List

Re: [PHP] Is there any Possible Way to get data from Excel File?

2002-03-19 Thread Justin French
Anything is possible :) I'd recommend that the Excell file be exported as a CSV, which will be a LOT easier to munch through, because it won't contain formatting, or anything else. Justin French indent.com.au soundpimps.com Jack wrote: Dear all What i'm planning to do is to use php

Re: [PHP] Re: ecommerce solutions..

2002-03-21 Thread Justin French
http://phpShop.org, amongst hundreds of others Justin French -- http://indent.com.au http://soundpimps.com http://hinge.net.au -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question - display rows

2002-03-22 Thread Justin French
; } ? Justin French - http://indent.com.au http://soundpimps.com http://hinge.net.au Phil Schwarzmann wrote: When I want to display a table onto the screen I use this code $query = SELECT * FROM database; $result = mysql_query($query); $num_rows

Re: [PHP] URL information into a variable

2002-03-22 Thread Justin French
Hi, This really is pretty easy to find in the manual. I believe you'd want either $PHP_SELF or $REQUEST_URI, both documented here: http://www.php.net/manual/en/reserved.variables.php Justin French - http://indent.com.au http://soundpimps.com http://hinge.net.au Phil

Re: [PHP] MySQL query results

2002-03-22 Thread Justin French
($myrow = mysql_fetch_array($result)) { //do stuff with the array $myrow } } ? Justin French -- http://indent.com.au http://soundpimps.com http://hinge.net.au Ashley M. Kirchner wrote: Rasmus Lerdorf wrote: But did you read the documentation? It states

Re: [PHP] Adding Text Input in a SELECT drop-down list

2002-03-23 Thread Justin French
If you've seen it on other sites (I can't see how, since there's no support for it in the HTML spec), then why not just look at the source? Too bad, since a few sites seem to have that capability. Oh well . . Regards, Andre -- -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] When Click a HyperLink, Promp password before Showingthe Page

2002-03-24 Thread Justin French
the users in a table, but the principal of how he works with headers and exits could be applied to a flat file of user/password records. Note: it does use cookies, which you may or may not consider an issue. Justin French Creative Director http://Indent.com.au

Re: [PHP] From To to BCC in a Mail script

2002-03-25 Thread Justin French
on 25/03/02 6:31 PM, anti-blank ([EMAIL PROTECTED]) wrote: I've got this script here to send out a mail whenever I enter an update to my site to my mailing list. The problem is it wants to dump everyone's email into the To field, and since I don't want to give my users email addresses away

Re: [PHP] User validation and Session management

2002-03-25 Thread Justin French
as the basis of my own session management and user login stuff, which is functioning well. Note: it does use cookies, which you may or may not consider an issue. Justin French Creative Director http://Indent.com.au on 26/03/02 1:42 AM, javier ([EMAIL

Re: [PHP] Loading Images

2002-03-26 Thread Justin French
this is. Justin French - http://indent.com.au http://soundpimps.com - on 27/03/02 10:16 AM, Kevin Stone ([EMAIL PROTECTED]) wrote: It is quite easy to store images in a database and display them on the screen. You can find tutorials about

Re: [PHP] Any PHP equivalent of Macromedia ColdFusion's locationtag?

2002-03-26 Thread Justin French
be enough to give you an idea about how you can use the header(), and at what point you've sent output to the browser. Justin French Creative Director http://Indent.com.au -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] using return in fucntions

2002-03-27 Thread Justin French
be used here, but I'm not sure how/where/why to use it, or more importantly, the purpose/reasoning behind it in comparison to echo etc etc. Many many many thanks in advance, and apologies for the the long email! Justin French Creative Director http://Indent.com.au

Re: [PHP] Can you use null?

2002-03-27 Thread Justin French
].\; ? Justin French Creative Director http://Indent.com.au on 28/03/02 2:32 PM, Chuck PUP Payne ([EMAIL PROTECTED]) wrote: I am wanting to know if I can use null to call up an image? I am writing a page that talks to calls to a database for cars

Re: [PHP] best way to read a file

2002-03-28 Thread Justin French
while we're on the topic, what's the best way to append an CSV line onto the end of a text file? ---mail.csv--- Justin,French,[EMAIL PROTECTED]\n Fred,Flintstone,[EMAIL PROTECTED]\n Barny,Rubble,[EMAIL PROTECTED]\n --- I'd like to append a new line:: $newline = Hank,Foo,[EMAIL PROTECTED]\n

[PHP] global vars in a function

2002-03-29 Thread Justin French
foo; // doesn't work } } function foo2 { if($GLOBALS[var1]) { echo foo; // does work } } --- Is there a way to make global vars available in each function, or is this just the way things go? Justin French - http://indent.com.au

[PHP] Re: HTML Question

2002-03-31 Thread Justin French
You may also get better mileage in Netscape with the use of OBJECT. Or, if you're on Apache, good old server side includes (Apache SSI) may be enough. Justin French Creative Director http://Indent.com.au on 01/04/02 5:27 AM, Gary ([EMAIL PROTECTED

Re: [PHP] Re: preventing back button usage?

2002-04-02 Thread Justin French
of the back button... it's THEIRS after all, and they may WANT to go back through the sites they surfed before hitting you. Just my opinion though :) Justin French Creative Director http://Indent.com.au on 03/04/02 1:54 AM, Erik Price ([EMAIL PROTECTED]) wrote

[PHP] PHP FAQ (again)

2002-04-03 Thread Justin French
has been kicked around before. Regards, Justin French Creative Director http://Indent.com.au CSS FAQ.txt Description: application/applefile From: Jan Roland Eriksson [EMAIL PROTECTED] Reply-To: Jan Roland Eriksson [EMAIL PROTECTED] Organization

Re: [PHP] PHP FAQ (again)

2002-04-03 Thread Justin French
to the community. Justin French on 04/04/02 1:28 AM, J. Scott Johnson ([EMAIL PROTECTED]) wrote: Justin, Here's the data I was planning to capture for the FAQ. Please let me know if there are any fields I'm missing and I'll add them. http://www.fuzzygroup.com/php/faq/faqadd.php

Re: [PHP] PHP FAQ (again)

2002-04-03 Thread Justin French
Exactly! The CSV file I attached to the original post is a pretty good example of a list FAQ. I'll have a go at it soon, and offer it up for modification, since I know that i'm not guru enough to get it all right :) Justin French on 04/04/02 8:01 AM, Miguel Cruz ([EMAIL PROTECTED]) wrote

[PHP] PHP FAQ (again) -- solutions?

2002-04-03 Thread Justin French
the ones already mentioned in this thread, that would be great as well. Thanks for listening. I welcome all feedback/discussion. Justin French Creative Director http://Indent.com.au -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] request for comments

2002-04-03 Thread Justin French
of copyright and/or intellectual property. There have been some big name sites and designers put to shame in court over this sort of thing. IMHO, back to the drawing board, come up with your own solution, or sack the designer, who really didn't design. Justin French Creative

Re: [PHP] CCS Question -- anyone know?

2002-04-04 Thread Justin French
on the web, starting with a simple google search. Justin French on 04/04/02 7:14 PM, Jason Caldwell ([EMAIL PROTECTED]) wrote: I have several checkboxes on my webpage -- all within a particular table. It seems there is some weird spacing *around* the (or a) checkbox as I cannot tighten up my

Re: [PHP] PHP and mySQL...

2002-04-04 Thread Justin French
be easier. http://phpMyAdmin.org/ (I think) Justin French Creative Director http://Indent.com.au on 05/04/02 10:39 AM, Anthony Ritter ([EMAIL PROTECTED]) wrote: Using MS Windows 98, Apache, PHP and mySQL. I've installed Apache on my hard drive to test

Re: [PHP] PHP and mySQL...

2002-04-04 Thread Justin French
check out phpMyAdmin, as per my last post on the issue to you. Justin French on 05/04/02 1:25 PM, Anthony Ritter ([EMAIL PROTECTED]) wrote: Sorry if my original question was confusing. This is what I would like to accomplish: I am currently developing a database on my website using

Re: [PHP] nl2br returns BR /? normality or a bug?

2002-04-05 Thread Justin French
nl2br since I got my hands on PHP4.05+, which according to the earliest date I can find, was released sometime around 2001-04-30. Justin French Creative Director http://Indent.com.au -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] nl2br returns BR /? normality or a bug?

2002-04-06 Thread Justin French
. I'm sure a PC user can fill in the blanks to confirm everything, but I'm pretty comfortable using br /, or using nl2br() as is on my sites, and won't be going back thru all my code :) Justin French Creative Director http://Indent.com.au -- PHP General

Re: [PHP] Phone number validation

2002-04-06 Thread Justin French
FWIW, In Australia, phone numbers are commonly formatted with brackets for area codes: (03) 9876 5432 +61 (3) 9876 5432 +61 3 9876 5432 Also the usual array of +,-,.,etc I'd include ()'s in your reg exp for sure. Justin on 07/04/02 1:47 PM, Jason Cribbins ([EMAIL PROTECTED]) wrote: Some

Re: [PHP] Disabling bars on Browser

2002-04-07 Thread Justin French
This is the wrong group/list for this post. The disabling of bars, or any sort of browser feature/appearance is NOT PHP. PHP is a server side langauge. Commonly, you would use JavaScript for such stuff, so I recommend you check out the millions of JavaScript sites and newsgroups on the web.

Re: [PHP] Disabling bars on Browser

2002-04-07 Thread Justin French
) helpful on-topic posts, some of which took quite a lot of time to prepare. b) I was recently congratulated in public and private by many users for finally speaking up a little. I've only received one complaint so far, and that would be you. Justin French Creative Director http

Re: [PHP] Disabling bars on Browser

2002-04-07 Thread Justin French
, he's found what he's after, and all is well. Justin French on 08/04/02 11:40 AM, Leif K-Brooks ([EMAIL PROTECTED]) wrote: It looks like you didn't even read the message. He knew how to do it with javascript, but he needed to pass information to it, and he wanted to know that! And, even if he

Re: [PHP] MAC file upload

2002-04-08 Thread Justin French
as is, but may provide additional problems, if PC users wish to use the files. Sorry for the long email, hope it was some help. Justin French - http://indent.com.au http://soundpimps.com - on 09/04/02 12:59 AM, Rance Hall ([EMAIL PROTECTED]) wrote

Re: [PHP] what's the best way to do redirect within PHP

2002-04-08 Thread Justin French
, or better still, review your code to work within these contraints. You can also look at output buffers, which have been discussed on this list many times, and should be easy to search for. Justin French Creative Director http://Indent.com.au on 09/04/02

Re: [PHP] Banning javascript?

2002-04-08 Thread Justin French
of interesting comments in regards to these events. Perhaps the solution is a regular expression, or perhaps it's to do with XML parsing, which I've not had any experience. Sorry for the long post!!! Justin French Creative Director http://Indent.com.au

[PHP] internal workings of PHP's functions

2002-04-09 Thread Justin French
This is related to a discussion we had today about disallowing javascript. Is there any way we can get a look inside current PHP functions, like strip_tags(), to see how they're currently working? Justin French Creative Director http://Indent.com.au

Re: [PHP] Formatting timestamp date in MySQL

2002-04-09 Thread Justin French
to return what you expect, but I randomly tested 10 dates in your format between 1977 and 2002 without any problems. Justin French Creative Director http://Indent.com.au on 09/04/02 9:53 PM, nyon ([EMAIL PROTECTED]) wrote: Hi, I need to recall

Re: [PHP] Php/Pdf application

2002-04-09 Thread Justin French
, without any luck. Why re-invent the wheel? Justin French Creative Director http://Indent.com.au on 10/04/02 2:36 AM, Geoff Hankerson ([EMAIL PROTECTED]) wrote: I am wondering if one or more of you can point me in the right direction on this one

[PHP] allowed tags reg exp

2002-04-09 Thread Justin French
to devise some psuedo tags for links, and don't require font tags, image tags, etc etc. Many thanks in advance, Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] db design with large amount of data (?)

2002-04-12 Thread Justin French
down modifications to the table... sicne you really need performance at display time, not adding/updating time, I think this will help. I know of indexes making product searches of 50,000 products, even in flat (indexed) files work really fast, so this would be an ideal first step. Justin French

Re: [PHP] How can I read client-side files or upload them to aserver?

2002-04-12 Thread Justin French
, and upload it to the server with the aid of PHP. This topic has been discussed millions of times on the list, and should be easy to search for. * MSIE security bugs excluded :) Justin French Creative Director http://Indent.com.au on 13/04/02 2:35 PM, Don

Re: [PHP] Including only I want

2002-04-13 Thread Justin French
, then all you have to do is include your functions library on every page it's needed, and then call the function to do the selected lines/calculations, with a simple ? domyfunction(); ? Regards, Justin French on 13/04/02 7:32 PM, Alberto Wagner ([EMAIL PROTECTED]) wrote: Is there any way

Re: [PHP] Mailings Lists?

2002-04-13 Thread Justin French
, it forwards to a pre-determined list of site contributors (a mailing list/group)... this is a simple text file that I can edit too. So, best advice is to start by telling your ISP what you want to achieve, and asking what they have available, or if it's your own server, post the set-up. Justin French

Re: [PHP] countries

2002-06-04 Thread Justin French
,Yemen; YU,Yugoslavia; ZR,Zaire; ZM,Zambia; ZW,Zimbabwe; At 16:22 04/06/02, you wrote: Apologies for being slightly OT, but has anyone got an array or list of countries that I can use to populate a pull-down menu? Or maybe a link to a resource to find this sort of stuff? Justin

Re: [PHP] Retrieving Info from Cookies

2002-06-05 Thread Justin French
try wrapping the vars inside curly braces {$_COOKIE['var']} when using them inside strings. eg echo your username is {$_COOKIE['uid']}BR\n; Justin French on 05/06/02 3:22 PM, Tom Ray ([EMAIL PROTECTED]) wrote: when I do that it comes up with Parse error: parse error, expecting

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Justin French
there is documentation for the php.ini file IN the the php.ini file, and on the website. Justin French on 05/06/02 10:40 PM, Zac Hillier ([EMAIL PROTECTED]) wrote: Hi, Is it possible using php on our own apache server to create global variables for virtual host without having to use session

[PHP] carrying a query string

2002-06-05 Thread Justin French
confusion on the second script. Any suggestions? This is basically a way of me ensuring I have a referring url, since HTTP_REFERER isn't always set my the browser. Thanks, Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dumb guy needs smart answer

2002-06-06 Thread Justin French
case, c:\php4\pear), which is set in php.ini. Justin French on 06/06/02 4:22 PM, Doug ([EMAIL PROTECTED]) wrote: I get the following error statement from a PHP insert I am trying at http://www.solomonsporch.org/test.php Warning: Failed opening 'http://www.gospelcom.net/mnn/includes

[PHP] if() statements

2002-06-06 Thread Justin French
of the scripts. Thanks, Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Anyone?

2002-06-06 Thread Justin French
it. Or check out a decent article on the subject. Security is a massive topic. Justin French Creative Director http://Indent.com.au on 07/06/02 3:18 AM, Jas ([EMAIL PROTECTED]) wrote: I cannot believe that no one with alot of PHP and MySQL experience has

[PHP] high % of capital letters in a string

2002-06-06 Thread Justin French
Hi, How would I determine if there was a high % (say 40%) of capital letters in a string? I'm trying to think of a way of preventing endless use of capital letters in a message board, to stop YELLERS. Justin French Creative Director http://Indent.com.au

Re: [PHP] high % of capital letters in a string

2002-06-06 Thread Justin French
Thanks Lars Evan... much appreciated! Justin French on 07/06/02 2:13 PM, Lars Torben Wilson ([EMAIL PROTECTED]) wrote: On Thu, 2002-06-06 at 20:20, Justin French wrote: Hi, How would I determine if there was a high % (say 40%) of capital letters in a string? I'm trying to think

[PHP] restricting files

2002-06-07 Thread Justin French
Hi, I wish to restrict access to a dir of files, depending on if the user is a logged in and validated member. My first guess was to restrict access to the files with .htaccess, only allowing access if the referring (linking) script was something like members.php, so they'd only get the link if

Re: [PHP] CONVERT

2002-06-07 Thread Justin French
I think you'll get MUCH better answers if you join the MySQL mailing list, and search the MySQL website, rather than this PHP list. Also less chance of getting flamed :) Justin French on 08/06/02 1:20 PM, sonjaya ([EMAIL PROTECTED]) wrote: i have databse paradox (extension *.db) how to read

Re: [PHP] restricting files

2002-06-07 Thread Justin French
MP3 and quick time -- otherwise the solution would be easy :) Thanks, Justin on 08/06/02 3:42 PM, Jason Wong ([EMAIL PROTECTED]) wrote: On Saturday 08 June 2002 09:19, Justin French wrote: Hi, I wish to restrict access to a dir of files, depending on if the user is a logged

Re: [PHP] restricting files

2002-06-08 Thread Justin French
:46, Justin French wrote: MP3 and quick time -- otherwise the solution would be easy :) Thanks, Justin on 08/06/02 3:42 PM, Jason Wong ([EMAIL PROTECTED]) wrote: On Saturday 08 June 2002 09:19, Justin French wrote: Hi, I wish to restrict access to a dir of files, depending

Re: [PHP] restricting files

2002-06-09 Thread Justin French
Have you got a link for somewhere to look for a base set of functions for me to build on? Thx, Justin on 08/06/02 5:39 PM, Miguel Cruz ([EMAIL PROTECTED]) wrote: On Sat, 8 Jun 2002, Justin French wrote: When you say serve the files through a script, I assume you mean download.php force

Re: [PHP] strtok()

2002-06-10 Thread Justin French
you're trying to split it on a space ( )... there are no spaces in tony. my name is tony would prolly output my name is tony You could try splitting on (nothing), or use a different function which places a br after each character. Justin on 11/06/02 1:34 PM, Anthony Ritter ([EMAIL

Re: [PHP] strtok()

2002-06-10 Thread Justin French
I *think* it's because you don't have an { at the beginning of the while() loop ? $name=tony; $token=strtok($name, ); //echo $token.br; while ($token!=) { $token=strtok( ); echo $token.br; } ? Or, use the example in the manual as a guide: ? $string = tony; $tok =

Re: [PHP] Adding zeros in front

2002-06-10 Thread Justin French
if you wrapped it in a function :) Justin French on 11/06/02 1:11 PM, César L. Aracena ([EMAIL PROTECTED]) wrote: Hi all, Does anyone remembers how to add zeros in front of a result number given by a query to MySQL and returned as an array, so it always shows a 4 digit number? I have

Re: [PHP] Include question

2002-06-11 Thread Justin French
Check that you actually have ? ? wrapped around the PHP code in somefile.php that you include. Justin French on 12/06/02 11:36 AM, Tom Ray ([EMAIL PROTECTED]) wrote: Yes, but according to http://www.php.net/manual/en/function.include.php I should be able to delcare the include and then pull

[PHP] bulk mail()

2002-06-12 Thread Justin French
or so? How would I implement something like this? Any advice / concepts / ideas welcome! Justin French Creative Director http://Indent.com.au -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] forcing file downloads

2002-06-12 Thread Justin French
the following line BEFORE the code above to make IE work: session_cache_limiter(); 1. Is this a widely accepted practice for forcing downloads (a pop-up window to download a file), given the problems with older versions of IE? 2. Can someone tell me what the %20 is there for? Regards, Justin

Re: [PHP] Fw: Hosting_submission

2002-06-12 Thread Justin French
Can we take this off list PS: you only get what you pay for Justin French on 12/06/02 10:49 PM, The_RadiX ([EMAIL PROTECTED]) wrote: Abusing you??? I am quite sorry but I am lost as to when I abused you? I simply had a form of service on your system and after I tried to keep

Re: [PHP] Else/For loop

2002-06-12 Thread Justin French
Wouldn't you need if ( $num_results == 0 ) not if ( $num_results = 0 ) if you do the latter, it will allways be true, because you're setting the var... easy mistake to make! check out comparisons in the manual for more info. Justin French on 12/06/02 11:19 PM, Roberts, Mark ([EMAIL

Re: [PHP] Email validation

2002-06-12 Thread Justin French
, but decided not to re-invent the wheel... I've adopted this script on every project from now on, thanks to the kind person on this list who let me know about it! Justin French on 13/06/02 2:56 AM, Jeroen Timmers ([EMAIL PROTECTED]) wrote: Is there a simple function that validate an email adres

Re: [PHP] A question

2002-06-12 Thread Justin French
There is a difference in the default way php installs between 4.1.x and 4.2... the newer version comes with register_globals Off in the php.ini file. Simple solution, change this value to On in your php.ini file, and restart. However, you scripts will be a lot more secure if you leave

[PHP] sessions in multiple browser windows

2002-06-13 Thread Justin French
b) because I've got a problem with my session code somewhere ??? Many thanks, Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Spam Bots/E-mail Addys

2002-06-13 Thread Justin French
and give it a try -- works fine on every browser I've been able to test on. Justin French Creative Director http://Indent.com.au on 14/06/02 7:02 AM, Manuel Lemos ([EMAIL PROTECTED]) wrote: I had that problem and the solution that I used was use Javascript

Re: [PHP] security advice...

2002-06-13 Thread Justin French
That's a big can of worms :) I think perhaps start with one problem, like sessions, then move onto another problem. Not really sure what you mean by cross site scripting... maybe you mean writing decent code once, and having it portable to many new projects with little fuss? Justin French

Re: [PHP] Re: Spam Bots/E-mail Addys

2002-06-13 Thread Justin French
Hi, on 14/06/02 11:53 AM, Manuel Lemos ([EMAIL PROTECTED]) wrote: Hello, On 06/13/2002 10:18 PM, Justin French wrote: I don't think relying on JavaScript for something so integral as an email address it THAT good an idea... Why not? I use this on mirror sites that only serve static

Re: [PHP] Re: Spam Bots/E-mail Addys

2002-06-13 Thread Justin French
and sewing store. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Spam Bots/E-mail Addys

2002-06-13 Thread Justin French
copped this in Sydney 2002 didn't they??? Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getting help on php

2002-06-14 Thread Justin French
pop-up. You can redirect the browser to a different URL *IF* you haven't sent anything to the browser yet (ie, before DOCTYPE... or HTML) using PHP's header function (header(Location: blah2.php)). http://php.net/header Justin French on 15/06/02 12:36 AM, Hotmail ([EMAIL PROTECTED]) wrote

Re: [PHP] bulk mail()

2002-06-14 Thread Justin French
), and then see where to go from there. Thanks for everyone's help. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   9   10   >