[PHP] php or juvascript convert IETF format to ISO08601

2011-03-14 Thread Jordan
Hello Evrybody, Can i convert IETF format (ex: Wed, 18 Oct 2009 13:00:00 EST) in ISO8601 format (ex: 2009-11-05T13:15:30Z) Does somebody know some php scripte or similar? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Documentation

2010-10-27 Thread Jordan Jovanov
Hello All, I finished with coding and now I am on the part when need to write documentation. But I don't know how to write correct documentation. Does have some rules or standard for writing documentation for PHP? Or maybe have some programs for writing documentations? Best Regards, Jordan

[PHP] work online

2010-10-18 Thread Jordan Jovanov
Hello Everybody, Does somebody know company for PHP programing where people can work from home? Actual I only want to know does have regular or part time job for PHP developers who work from home via internet. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Search inside file :)

2010-10-11 Thread Jordan Jovanov
Hello everybody, I create one site where user can upload .zip files, but now I have one interesting problem. I need me PHP script where can have one edit box and button, user can input same text in edit box and when press on button he need to find the document who have text from edit button.

[PHP] Install library

2010-09-15 Thread Jordan Jovanov
Hello All, I have one very funny question. A need me PDFlibrary. Can somebody tall me how can I download and install on my server this library. I use PuTTy to connect to my server. Does somebody know the command line for download in istall library in php. Thanks a lot. Best Regards, Jordan

[PHP] Hi

2010-09-06 Thread Jordan Jovanov
Hi All I need me a little help. I create scripte for upload file is work very good but the problem is next: I neet to upload only .zip file i need to disable some user to shoise to upload another file Extensions. Can somebody help me. Thanks a lot. -- PHP General Mailing List

[PHP] HTTPS SSL

2010-09-02 Thread Jordan Jovanov
Hello everybody I need me a little help. I have one web page with hhtp protocol, but i need to change in https. Somebody tell me that I need to create some SSL certificate. I use some Apache server. Do you somebody know does is easy and can i do? Does need to write some php scripts or anything?

[PHP] HTTPS

2010-08-01 Thread Jordan Jovanov
Hello I have one web page with hhtp protocol, but i need to change in https. Do you somebody know does is easy and can i do? Does need to write some php scripts or anything. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Text editor for Ubuntu with FTP

2010-07-31 Thread Jordan Jovanov
Hello to All, I only whant to star discussion for who is the best programm to write php and html script. I use dreamweaver, but now I change my OS to ubuntu and I want some suggestions for some Text editor for FTP for Ubuntu Thanks A lot Jordan Jovanov -- PHP General Mailing List (http

[PHP] Do you have some standard for defined the variable in program language?

2010-07-27 Thread Jordan Jovanov
this variable can work all, but i want to know how is use in company. Do you have some standard for defined the variable in program language? (like ISO9001, ISO14001) Best Regard, Jordan Jovanov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Video lessons

2010-07-27 Thread Jordan Jovanov
On 24/07/2010 02:14, David Hutto wrote: On Fri, Jul 23, 2010 at 8:13 PM, David Huttosmokefl...@gmail.com wrote: On Fri, Jul 23, 2010 at 2:35 PM, Dan Josephdmjos...@gmail.com wrote: On Thu, Jul 22, 2010 at 10:04 AM, Jordan Jovanovjovanovj...@gmail.comwrote: Im thing that I'm little layse

[PHP] Text editor

2010-07-27 Thread Jordan Jovanov
a lot. Jordan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Text editor

2010-07-27 Thread Jordan Jovanov
On 27/07/2010 13:53, Ashley Sheridan wrote: On Tue, 2010-07-27 at 13:49 +0200, Dušan Novaković wrote: You can use TinyMCE. It's really easy to integrate in system. Check on official website. Dusan On Tue, Jul 27, 2010 at 12:10 PM, Jordan Jovanovjovanovj...@gmail.com wrote: Hello All I

Re: [PHP] Do you have some standard for defined the variable in program language?

2010-07-27 Thread Jordan
Jordan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Video lessons

2010-07-22 Thread Jordan Jovanov
Hello Im thing that I'm little layse, Do you somebody know PHP VIDEO LESSONS? Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Dynamic menu

2010-07-19 Thread jordan
Hello All, I am new in this group and first whant to say hello to all. Need me menu who have different link if user is login or logout, something like dynamic menu. Somebody can tall me how can i use and create this menu. Thansk -- PHP General Mailing List (http://www.php.net/) To

[PHP] Copy documents for another site.

2010-07-19 Thread Jordan Jovanov
Hello I create one site like document menage system and nide to take some date information from another site. The problem is a don't have access to date base. The site from who I need to take infomations use .htdacces but I have user and password for enter to site and i look the information.

Re: [PHP] Good PHP book?

2008-12-16 Thread jordan
Ashley Sheridan a écrit : On Sun, 2008-12-14 at 16:33 -0600, jeffery harris wrote: Hi guys/gals. I'm a first time user. Does anyone know of a good php book? I tend to trust O'Reilly books a lot for all things programming, although I learnt largely with 'PHP, Apache, MySQL Web

Re: [PHP] advice on sql injection/XSS prevention

2007-04-07 Thread Jordan Forssman
Actually there is a tool available for automated validation of PHP code. It's called static source code analysis which, very simply stated, acts like a spell checker for custom developed code. This tool is very accurate at finding, especially SQL injection and XSS, and can be run directly

[PHP] PHP Security!!! www.armorize.com

2007-03-29 Thread Jordan Forssman
website at www.armorize.com Jordan _ Share folders without harming wildlife! http://www.communicationevolved.com/en-za/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP equivalent to Perl $0

2007-01-31 Thread Kevin Jordan
__FILE__ contains the full path and filename of the file on the filesystem. There are several $_SERVER indices that give something you can get the filename/path from as well. See http://us2.php.net/manual/en/reserved.variables.php -- Kevin Jordan -- PHP General Mailing List (http://www.php.net

Fwd: [PHP] Fwd: Entries no longer appear in search

2007-01-30 Thread Kevin Jordan
Damn, wish replyto was set, I keep doing that. -- Forwarded message -- From: Kevin Jordan [EMAIL PROTECTED] Date: Jan 30, 2007 4:07 PM Subject: Re: [PHP] Fwd: Entries no longer appear in search To: Chris [EMAIL PROTECTED] Sorry, wasn't sure it went through the first time. On 1

[PHP] Fwd: Entries no longer appear in search

2007-01-29 Thread Kevin Jordan
-- Forwarded message -- From: Kevin Jordan [EMAIL PROTECTED] Date: Jan 28, 2007 6:21 PM Subject: Fwd: Entries no longer appear in search To: php-general@lists.php.net, [EMAIL PROTECTED] This was originally sent to the OpenLDAP list, but it was rejected because I mentioned PHP

[PHP] Fwd: Entries no longer appear in search

2007-01-28 Thread Kevin Jordan
This was originally sent to the OpenLDAP list, but it was rejected because I mentioned PHP and phpLDAPadmin and said I should send it to the appropriate lists there. -- Forwarded message -- From: Kevin Jordan [EMAIL PROTECTED] Date: Jan 27, 2007 4:24 PM Subject: Entries no longer

FW: FW: [PHP] Re: Please hack my app

2006-12-19 Thread Jordan Forssman
Hi Ivo, Jordan forwarded me your mail to provide some technical explanation. First of all, sorry for the delay, due to recent business travels and out-of-office events, I haven't had a lot of time to go through my mailbox. The product version that you were using is a trial version, which does

RE: FW: [PHP] Re: Please hack my app

2006-12-12 Thread Jordan Forssman
. Thanks and all the best, Jordan Forssman Sales Manager Armorize Technologies US: Tel: +1-408-512-4052 ext. 201 Fax: +1-408-247-1570 TW: Tel. +886-2-6616-0100 ext. 201 Cell. +886-938-100-214 Fax. +886-2-6616-1100 Skype: jordan4z [EMAIL PROTECTED] -Original Message- From: Ivo F.A.C

FW: [PHP] Re: Please hack my app

2006-11-27 Thread Jordan Forssman
Hi, My name is Jordan Forssman, I am representing a company called Armorize Technologies. We have developed a source code analysis platform for PHP, called CodeSecure, which scans source code for SQL injection, cross site scripting, command injection, etc, vulnerability. The tool will tell you

Re: [PHP] Questions from a ColdFusion Developer

2005-12-15 Thread Christopher Jordan
Robert Cummings [EMAIL PROTECTED] wrote:On Wed, 2005-12-14 at 21:34, Christopher Jordan wrote: Rob, Thanks for responding. :) I have more questions. I hope that's okay. :) *lol* No problem :) Thanks! :) You said: Share nothing refers to the PHP philosophy of not tying any data

Re: [PHP] Questions from a ColdFusion Developer

2005-12-14 Thread Christopher Jordan
an array to store the query results) 3. you MUST load the class definitions of ALL the objects that are in your session BEFORE you start the session. Christopher Jordan wrote: Hi folks, I'm a ColdFusion developer, but I'm branching out into PHP because alot of my smaller clients don't

Re: [PHP] Questions from a ColdFusion Developer

2005-12-14 Thread Christopher Jordan
] wrote: On Wed, 2005-12-14 at 20:50, Christopher Jordan wrote: When you said: ...the strength and simplicity of PHP stem from the decision to make/keep PHP a 'share nothing' architecture. What did you mean, by that? I've not heard of this share nothing idea. What is the idea

[PHP] Questions from a ColdFusion Developer

2005-12-11 Thread Christopher Jordan
. Thanks! Christopher Jordan Planet Access Arlington, TX - Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping

Re: [PHP] Why this doesn't work ?

2005-10-24 Thread Jordan Miller
why don't you just echo your $query to see if it is coming out correctly, before even trying to mess with mysql_query()? I think you should be able to see the problem from there. Jordan On Oct 24, 2005, at 12:44 PM, Mário Gamito wrote: Hi, Make this line instead $result

Re: [PHP] Declaring vars as INT ?

2005-10-21 Thread Jordan Miller
probably find a solution that will do what you want without mucking about like this. Just my two cents. Jordan On Oct 21, 2005, at 2:39 PM, Chris Knipe wrote: Hi, Uhm... Let's take the below quickly: Function DoSomething($Blah) { $Blah = (int) $Blah; return $Blah } $Blah, cannot

Re: [PHP] Declaring vars as INT ?

2005-10-21 Thread Jordan Miller
Also, look at this function: http://www.php.net/ctype_digit Jordan On Oct 21, 2005, at 2:39 PM, Chris Knipe wrote: Hi, Uhm... Let's take the below quickly: Function DoSomething($Blah) { $Blah = (int) $Blah; return $Blah } $Blah, cannot be larger than 2147483647, and sometimes, I get

Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jordan Miller
I agree with John. It looks like you either need a hammer or the rooftop of a 5-story building... Jordan On Oct 21, 2005, at 3:26 PM, Jay Blanchard wrote: [snip] I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T RIGHT! Why is PHP not loading the proper ini file

Re: [PHP] Trapping for an uploaded file that's too large?

2005-10-20 Thread Jordan Miller
in the right direction? are you using PHP 5? If so, maybe check out this, below. Jordan From: [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP 5 limits readfile to 1.9 MB? Date: August 17, 2005 10:26:40 AM CDT To: [EMAIL PROTECTED] Cc: php-general

Re: [PHP] Recommended Reading?

2005-10-18 Thread Jordan Miller
Zandstra's PHP 5 objects patterns practice has been getting excellent reviews. i also recommend it. http://www.amazon.com/gp/product/1590593804/ On Oct 18, 2005, at 1:43 PM, Alan Lord wrote: Hi all, Forgive this long diatribe, a bit off-topic I know, but it might stimulate a good

Re: [PHP] RE: php-general Digest 17 Oct 2005 10:35:46 -0000 Issue 3742

2005-10-17 Thread Jordan Miller
if you have compiled php with pdflib support, you can do this fairly easily. see the manual: http://www.php.net/pdf Jordan On Oct 17, 2005, at 6:06 AM, Aftab Alam wrote: hi, any one can help me i want to generate Pdf file using php. how can i what tools is required

Re: [PHP] Funky array question

2005-10-16 Thread Jordan Miller
because stripos could return a zero or an empty string which is actually ==false. http://www.php.net/stripos/ if you do not have php 5, i would use regex so you can get case insensitivity. Jordan On Oct 16, 2005, at 11:18 PM, Minuk Choi wrote: Assuming that you are also accepting partial

Re: [PHP] Funky array question

2005-10-16 Thread Jordan Miller
sorry, I am mistaken here. I forgot that !== is the same functionality as a ===, in that the comparison is made by value *and* type. On Oct 16, 2005, at 11:26 PM, Jordan Miller wrote: Also, note the warning on the man page. you would want to use a triple equals sign !===false because

Re: [PHP] Funky array question

2005-10-16 Thread Jordan Miller
one more thing... if you have php 5 and = 3.0.6, you could use stristr for case insensitive comparison without having to deal with the slower and more cumbersome regex. On Oct 16, 2005, at 11:18 PM, Minuk Choi wrote: Assuming that you are also accepting partial matches... (e.g. if you

Re: [PHP] why does this not work?

2005-09-27 Thread Jordan Miller
before you can do this properly, probably through a POST form or GET request. nice idea, though (dynamically loading css based on screen resolution). see: http://forums.devshed.com/t3846/s.html Jordan On Sep 27, 2005, at 3:20 AM, Ross wrote: This returns the correct value for $width

Re: [PHP] Easy question - delete strings from the beginning of space...

2005-09-20 Thread Jordan Miller
to get rid of potential double spaces after the explode, you could do: foreach ($words as $word) { if (!empty($word)) { $first = $word; break; } } echo $first; This will always return the first word. Jordan On Sep 20, 2005, at 7:24 AM, Jochem Maas wrote: how much

Re: [PHP] Can I install versions of PHP/MySQL that will be compatible with my host server?

2005-09-19 Thread Jordan Miller
... what do you mean by this, exactly? I am running PHP 5.0.4 and $var is correctly set with the code you give above. I could not find anything like you describe in the array_pop manual (see below). Please elaborate on why this is bad code. Jordan array_pop (PHP 4, PHP 5) array_pop -- Pop

Re: [PHP] Can I install versions of PHP/MySQL that will be compatible with my host server?

2005-09-19 Thread Jordan Miller
That is very interesting, thank you. We cannot escape politics, eh? Jordan On Sep 19, 2005, at 9:32 AM, Jochem Maas wrote: Jordan Miller wrote: On Sep 19, 2005, at 8:31 AM, Jochem Maas wrote: e.g: $var = array_pop( explode('-', '1-2-3-4-5') ); .. is bad code (read the manual page

Re: [PHP] Way for script to discover it's path?

2005-09-18 Thread Jordan Miller
Hey Ken, The variable you want is already a superglobal known as $_SERVER ['SCRIPT_FILENAME']. See: http://www.php.net/reserved.variables Do something like this to get started: echo $_SERVER['SCRIPT_FILENAME']; Good luck. Jordan On Sep 18, 2005, at 4:58 PM, Ken Tozier wrote: I'm

Re: [PHP] email validation regex

2005-09-16 Thread Jordan Miller
What do you mean? What's wrong with top posting? ;) Jordan On Sep 16, 2005, at 11:31 AM, John Nichel wrote: bruce wrote: hi.. looking for a good/working/tested php email validation regex that conforms to the rfc2822 standard. a lot of what i've seen from google breaks, or doesn't follow

Re: [PHP] Domain Info Possible?

2005-09-15 Thread Jordan Miller
you can see all the stats you desire. Jordan On Sep 15, 2005, at 11:07 AM, Chirantan Ghosh wrote: Hello, I was wondering if there was way to generate domain statistics by any PHP script? I just need some basic info like: Monthly Traffic( Sites, Kbytes, Visits, Pages, Files, Hits

Re: [PHP] Deny access from certain hosts

2005-09-14 Thread Jordan Miller
you really want, though. Jordan On Sep 13, 2005, at 3:00 PM, Aaron Greenspan wrote: Jordan, I have a similar problem where someone is using copyrighted images on my site in a bulletin board. It's not that one specific host is requesting the files--it's people from all over--but rather

Re: [PHP] whats wrong in this program.

2005-09-14 Thread Jordan Miller
/mysql_real_escape_string Jordan On Sep 14, 2005, at 6:36 AM, babu wrote: Hi, I tried to use the final array values in a insert statement, but the values are not inserted. the code is foreach ($final as $subnum){ $res = $db-query(INSERT INTO substrate_protocoll (substrate_type

Re: [PHP] whats wrong in this program.

2005-09-14 Thread Jordan Miller
(and php's autotyping is so great anyway). Jordan On Sep 14, 2005, at 10:54 AM, John Nichel wrote: Jordan Miller wrote: you need single quotes around $subnum in the sql statement. don't know why you seem to be arbitrarily leaving them off (put them around $uv and $duration, too!). snip

Re: [PHP] A tricky little addition

2005-09-14 Thread Jordan Miller
the syntax for variable variables is: $variable= $$add; or alternatively: $variable= ${$add}; Jordan On Sep 14, 2005, at 2:25 PM, Ross wrote: $variable= $.$add; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Deny access from certain hosts

2005-09-13 Thread Jordan Miller
you need to do it like this: Order Allow,Deny Allow from all Deny from 85.65.154 http://httpd.apache.org/docs/1.3/mod/mod_access.html Jordan On Sep 13, 2005, at 2:30 PM, David Pollack wrote: Hello, I have a problem where someone is illegally linking to my site. There site

Re: [PHP] array simple question

2005-09-13 Thread Jordan Miller
please provide code and an example output, and say how this is different than you would like. what you describe is unclear. Jordan On Sep 13, 2005, at 4:04 PM, matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r

Re: [PHP] whats wrong in this program.

2005-09-13 Thread Jordan Miller
In your last email, you had some of the values given out of order: 1. 20,21-24 2. 21-24,20 3. 10,20,21-24,25,26,30 To make sure the $final values are always ascending, just do this at the end: sort($final); Done!! Jordan On Sep 13, 2005, at 7:16 PM, babu wrote: $str=10,12,14-18; $tok

Re: [PHP] Round with ONE-decimal... always...

2005-09-12 Thread Jordan Miller
besides sprintf, number_format will also do it: number_format(6, 1, ',', '');// Outputs '6,0' Jordan On Sep 12, 2005, at 3:52 AM, Gustav Wiberg wrote: Hi there! I want to adjust the round() -function a little... If I put round(6,0) there will be an output of 6 If I put round(6,32

Re: [PHP] Convert a timestamp to RFC822??

2005-09-10 Thread Jordan Miller
we *just* had a post similar to this. It's easy, just use the date() and strtotime() functions: $timestamp = '2004-05-14 13:24:48'; $RFC_formatted = date('r', strtotime($timestamp)); done! Jordan On Sep 10, 2005, at 11:14 AM, Brian Dunning wrote: I get my timestamp from the db

Re: [PHP] Books / tutorials on Object Oriented Programming with PHP

2005-09-10 Thread Jordan Miller
Here is a thorough review on the Zandstra book: http://books.slashdot.org/article.pl?sid=05/08/16/0434205tid=169tid=6 Jordan On Sep 9, 2005, at 6:39 PM, Jason Coffin wrote: On 9/9/05, Vinayakam Murugan [EMAIL PROTECTED] wrote: I am learning about Object Oriented Programming with PHP. Can

Re: [PHP] Sessions , expiry times and different time zones

2005-09-08 Thread Jordan Miller
is that this is more secure than relying on a cookie-supplied expiration time. Jordan On Sep 6, 2005, at 8:51 PM, Dan Rossi wrote: client cookie expires hence no more session ... On 07/09/2005, at 1:57 AM, Jordan Miller wrote: Hi Dan, Couldn't you store an expiration time directly

Re: [PHP] Better timestamp explanation to the client

2005-09-08 Thread Jordan Miller
as is, without having to convert to a unix timestamp. NOW in datetime format can be gotten with: $now = date('Y-m-d H:i:s'); i'm not sure though. just try it! Jordan On Sep 8, 2005, at 9:41 AM, Ryan A wrote: Hi, In one of our tables we have these fields: cust_no bigint(20), cust_name varchar

Re: [PHP] Assign values in foreach-loop

2005-09-07 Thread Jordan Miller
) ? Jordan On Sep 7, 2005, at 12:14 PM, Sabine wrote: Hello to all, is it possible to assign values to the array for which I do the foreach-loop? foreach ($_SESSION['arr1'] as $arr1) { foreach ($_SESSION['arr2'] as $arr2) { if ($arr1['id'] == $arr2['id']) { $arr1

Re: [PHP] Assign values in foreach-loop

2005-09-07 Thread Jordan Miller
'][$key]['selected'] = true; } } } Jordan On Sep 7, 2005, at 12:22 PM, Jordan Miller wrote: foreach ($_SESSION['arr1'] as $arr1) { foreach ($_SESSION['arr2'] as $arr2) { if ($arr1['id'] == $arr2['id']) { $arr1['selected'] = true; } } } -- PHP

Re: [PHP] Checking a date for validity

2005-09-07 Thread Jordan Miller
recommend a good one offhand, but there are several that are DHTML and JS only, so that should be a good starting point for standards compliance. See: http://www.dynarch.com/projects/calendar/ and http://www.google.com/search?q=dhtml+popup+calendar Jordan On Sep 7, 2005, at 5:39 PM, Todd Cary

Re: [PHP] Sessions , expiry times and different time zones

2005-09-06 Thread Jordan Miller
relative to the server's time). Then, it shouldn't matter from which time zone the user is browsing. Jordan On Sep 6, 2005, at 10:37 AM, Dan Rossi wrote: hi there I have run into problems with sessions , cookies and expiryt times with different time zones. Ie our server is in the States

Re: [PHP] how to divide string

2005-09-05 Thread Jordan Miller
for earlier versions of php. Jordan On Sep 5, 2005, at 6:50 AM, Adi Zebic wrote: Hi, is there any magic function who can give me from: $string = abcdefghijklmnopqrstuwvxyz; somthing like this: abcd efgh ijkl mnop qrst uwvx yz (each 'x' letters go to the next line) Thanks a lot, ADI

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Jordan Miller
. Your code does exactly this, displaying pi with 15 decimal places. Jordan On Sep 1, 2005, at 8:06 AM, Wong HoWang wrote: Dear all, I'm trying to do like this but failed: ?php ini_set('precision',16); echo pi(); ? How can I get more digits after . ? Can anyone help? Thx! -- PHP General

Re: [PHP] running process in the background

2005-08-31 Thread Jordan Miller
... foreach ($_POST[$key] ... Jordan Did you try also sending stderr to /dev/null rather than stdout only? I think the syntax is to add a 21: foreach ($_POST as $kid){ `php run.php param1 param2 /dev/null 21 `; } This should put each process in the background and suppress all errors and output

Re: [PHP] Nested IFs Problem

2005-08-31 Thread Jordan Miller
evaluated... do the same for the date comparison. just try each if statement individually. then, when you find the problem, rewrite like this: if ((putFirstExpressionHere) (putSecondExpressionHere) (putThirdExpressionHere)) { // success } else { // failure } Jordan On Aug 31, 2005

Re: [PHP] Browsing Into Levels

2005-08-30 Thread Jordan Miller
They are called breadcrumbs: http://www.google.com/search?q=php+breadcrumbs Jordan On Aug 30, 2005, at 4:57 AM, areguera wrote: Hi, I been wondering the best way to make the level browsing, I mean, those links up in page which tell you the position you are, and make you able to return

Re: [PHP] Browsing Into Levels

2005-08-30 Thread Jordan Miller
when displaying each page. Jordan On Aug 30, 2005, at 11:01 AM, Greg Schnippel wrote: Good answer, I think thats what they were looking for but just in case: Most of the breadcrumb classes out there (at least the ones that showed up in an initial google search) use either the existing

Re: [PHP] syntax for two comparison operators

2005-08-25 Thread Jordan Miller
Good to know about expression evaluation. Writing the expression(s) like that (left-to-right and right-to-left) solves my dilemma... thanks! Jordan On Aug 25, 2005, at 2:44 AM, Richard Lynch wrote: I personally would use: ((2 $x) ($x = 4)) -- PHP General Mailing List (http

Re: [PHP] invert

2005-08-25 Thread Jordan Miller
if you are using mysql, just put the DESC (descending) directive at the end of your sql statement (default is no DESC directive, meaning ascending). most recent records will be returned first. Jordan On Aug 25, 2005, at 2:21 PM, George B wrote: I have written a shoutbox, and it works

Re: [PHP] invert

2005-08-25 Thread Jordan Miller
you need to provide more information. we cannot tell what you are doing. you should: **PASTE THE RELEVANT SECTION OF YOUR CODE IN YOUR EMAIL** On Aug 25, 2005, at 2:38 PM, George B wrote: Łukasz 'nostra' Wojciechowski wrote: W odpowiedzi na maila (21:21 - 25 sierpnia 2005): I have

Re: [PHP] Problem with SimpleXML

2005-08-24 Thread Jordan Miller
'; break; case 'stars': echo $rating, ' stars'; break; } } ? regards, Jordan On Aug 24, 2005, at 3:20 AM, Uroš Gruber wrote: Hi! I have XML and I would like to set some values. I almost done the whole thing but have some problems when looping through some tags foo

[PHP] syntax for two comparison operators

2005-08-24 Thread Jordan Miller
codebase change required. Maybe there could be a default function workaround for this or some other way to automagically process these more concise expressions without too much of a slowdown?? Just curious. Jordan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] build sql query struture and values from form fields

2005-08-22 Thread Jordan Miller
I agree, you must be careful of SQL injection... use mysql_real_escape_string(). To chop off the last character of text use substr(): $sqlstruct = substr($sqlstruct, 0, -1); Jordan http://www.php.net/substr Example 3. Using a negative length ?php $rest = substr(abcdef, 0, -1); // returns

Re: [PHP] Special HTML characters question.

2005-08-22 Thread Jordan Miller
Did you try html_entity_decode? http://us2.php.net/html_entity_decode You may want to combine this with mysql_real_escape_string()...? Jordan On Aug 22, 2005, at 8:29 AM, Jay Paulson wrote: I have a problem that I'm sure some of you have run into before, therefore I hope you all know

Re: [PHP] Week Days

2005-08-19 Thread Jordan Miller
Yo, All you need is the mktime() command. do something like: $futureDate = date(Y-m-d, mktime(0, 0, 0, $month, $today+ $daysToAdd, $year)); Jordan http://www.php.net/mktime mktime() is useful for doing date arithmetic and validation, as it will automatically calculate the correct value

Re: [PHP] Re: sending HTML (incl. embedded images) to browser

2005-08-18 Thread Jordan Miller
Pardon me, but I don't think he is trying to send an HTML email. I believe he is just asking about making a simple webpage. Relative URLs should be fine and are often preferable for portability. Jordan On Aug 17, 2005, at 7:34 PM, Manuel Lemos wrote: Hello, on 08/17/2005 07:42 PM Jake

Re: [PHP] PHP MySQL insert

2005-08-18 Thread Jordan Miller
; to ensure proper handling of all data in the sql commands. If you echo your $query before the insert, what do you get? This is always a good practice when you're having trouble. Jordan On Aug 18, 2005, at 12:05 PM, Chris wrote: You need to escape the data, so $data1 = mysql_real_escape_string

Re: [PHP] Re: PHP 5 limits readfile to 1.9 MB?

2005-08-17 Thread Jordan Miller
been downloaded. So is this a bug in PHP 5 or are they just purposely limiting the abilities of the readfile command? Jordan On Aug 17, 2005, at 3:36 AM, Catalin Trifu wrote: Hi, I've had a similar problem. The download always stopped at exactly 2.000.000 bytes. You have

Re: [PHP] optional argument when creating a function

2005-08-17 Thread Jordan Miller
. Jordan On Aug 17, 2005, at 10:00 AM, D A GERM wrote: I'm throwing a warning on a function I created. I thought a in front of the argument was supposed to make it optional. Is there something else I need to do make that argument optional? CODE //I simplified the code function doEmail

Re: [PHP] How Can I delete an Item of one array

2005-08-17 Thread Jordan Miller
you use the unset() function: unset($array[$key]); // http://www.php.net/unset you can reindex the keys if they are numeric with: $reindexedArray = array_values($array); // http://www.php.net/ array_values Jordan On Aug 17, 2005, at 1:12 PM, Tomás Rodriguez Orta wrote: Hi people. How

Re: [PHP] Re: PHP 5 limits readfile to 1.9 MB?

2005-08-17 Thread Jordan Miller
Ok, just checking (I am new to the fopen() function). That makes sense. Awesome, thanks! Jordan On Aug 17, 2005, at 10:19 AM, Catalin Trifu wrote: Hi, Indeed a fclose($fp) is needed (wrote it as an example :)). 1MB is more than enough as a buffer. If you have a 53MB file, what

Re: [PHP] Re: PHP 5 limits readfile to 1.9 MB?

2005-08-17 Thread Jordan Miller
as a buffer. If you have a 53MB file, what will happen then ? I have no idea if it's a bug or a feature. Either way I did lose some hair over this when I switched from PHP4 to PHP5. Catalin Jordan Miller wrote: Catalin, Wow, that worked great, thanks. I'm curious why you set a static buffer

Re: [PHP] mail()

2005-08-17 Thread Jordan Miller
Did you install sendmail? http://www.php.net/mail Requirements For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail

Re: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread Jordan Miller
=checkbox name=gmev[1] value=September 9th Jordan On Aug 17, 2005, at 3:30 PM, zedleon wrote: thanks for the reply... after using the print_r($_POST['gmev']); and selecting all the checkboxes to send to the form the return is Array ( [0] = on [1] = on [2] = on [3] = on ). So the values

Re: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread Jordan Miller
checkbox. Jordan On Aug 17, 2005, at 3:57 PM, [EMAIL PROTECTED] wrote: Sorry I should clarify... checkboxes don't send their values through they send their names and states... so if you have the array: Name=qmev[1]... name=qmev[2]... name=qmev[3] And your array contains [1] = on : [3

Re: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread Jordan Miller
. i.e. change the code so that the output here: http://www.passeycorp.com/event_reg_calc.php will change from this: input name=gmev[] type=checkbox id=gmev checked=checked/ to this: input name=gmev[] type=checkbox id=gmev value=September 9th checked=checked/ Jordan On Aug 17, 2005, at 4:52 PM

Re: [PHP] sending HTML (incl. embedded images) to browser

2005-08-17 Thread Jordan Miller
are just not in the right directory or are not being referenced correctly. also, what is the actual PHP code used to print the img tag? maybe you're not escaping quotes correctly...? Jordan On Aug 17, 2005, at 5:42 PM, Jake Sapirstein wrote: Hi List, I am a PHP newbie, pardon the elementary

[PHP] PHP 5 limits readfile to 1.9 MB?

2005-08-16 Thread Jordan Miller
suggestions are much appreciated. thanks, Jordan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] datetime formatting problem

2004-05-28 Thread Jordan S. Jones
[snip /] Hi Matt, try this: function formatDate($val) { $timestamp = strtotime($val); return date('M d, Y g:i A', $timestamp); } strtotime possibly will not work if your date is 01/01/1970. [snip /] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Code Review PLEASE !!!

2004-04-05 Thread Jordan S. Jones
has no more records. Just a simple example of a huge problem. Jordan S. Jones Matthew Oatham wrote: Hi, I am a newbie PHP programmer, I have some code that works but I want some tips on how I an Improve my code, i.e. should I be doing my updates / deletes on same php page as the display page

Re: [PHP] Code Review PLEASE !!!

2004-04-05 Thread Jordan S. Jones
that comes from a form. Even if the ids come from the database, you still want to ensure that they really are a valid numerical value or whatever your ids happen to be based upon. Jordan S. Jones Matthew Oatham wrote: Yes I agree I need some validation, dunno whether to do server or client

[PHP] PHP 4.3.4 EAPI

2004-03-23 Thread Jordan S. Jones
appreciated.. Thanks, Jordan S. Jones -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie pls help

2004-02-03 Thread Jordan S. Jones
This might help as well: http://www.php.net/manual/en/installation.php Jordan S. Jones Mrs. Geeta Thanu wrote: Hi all, I want to install apache and php in a redhat box version 8 and want apache to load php. So how i shld proceed. Just downloading the rpms of both and installing will help or I

Re: [PHP] HTML via echo or not

2003-12-29 Thread Jordan S. Jones
Why make PHP work harder than it needs to? Jordan Robin Kopetzky wrote: Good evening. I'm probably going to stir up a hornet's nest but have a question. Does using echo for ALL html pages mean I have a sick mind? Example: echo CR, 'HTML', CR, ' BODY', CR

Re: [PHP] Help With Recursion Multi-Dimensional Arrays

2003-11-08 Thread Jordan S. Jones
| Category AC | Category BC | Category Z | Category c Category 3 in a multi-dimentional array Jordan S. Jones Navid Yar wrote: Hello Guys, I need a little bit of help

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jordan S. Jones
if anyone knew of a way I could pass the server time into the JavaScript Date() function to make it start counting from that time, instead of the users machine time. Thanks, Jake Yes, http://devedge.netscape.com/library/manuals/2000/javascript/1.5/reference/date.html#1193137 Jordan S. Jones -- I am

Re: [PHP] database

2003-10-27 Thread Jordan S. Jones
Alain, You can pass it in the function as a variable. E.g... Function closeDB($ref_link) { mysql_close($ref_link); } closeDB($connectie); Hope this Helps, Jordan S. Jones -- I am nothing but a poor boy. Please Donate.. https://www.paypal.com/xclick/business=list

  1   2   >