Re: [PHP] I have an idea

2009-07-15 Thread VamVan
On Wed, Jul 15, 2009 at 12:40 PM, Daniel Brown wrote: > On Wed, Jul 15, 2009 at 15:30, Ashley Sheridan > wrote: > > Done! In order to never lose, don't play ;) > > That's what I had expected. ;-P > >About eleven years ago, a co-worker and I each wanted the same day > off. I had seniorit

Re: [PHP] Pattern Matching[Resolved]

2009-07-15 Thread VamVan
On Wed, Jul 15, 2009 at 4:21 AM, Lenin wrote: > On Wed, Jul 15, 2009 at 3:24 AM, VamVan wrote: > > > contact/me - Contact US > > > > perfect match would be easy because I can exactly look for what I want. > > > > It becomes tricky when I introduce wild ca

[PHP] Pattern Matching

2009-07-14 Thread VamVan
Hello Guys, I have a question related to pattern matching and wildcards. This is the scenario. I have friendly urls on my website. So retrive their path as arguments for every page. so for example if I have www.xx.com/contact/me my args array will be args( 0 => contact, 1 => me ) My requ

Re: [PHP] CMS

2009-07-08 Thread VamVan
On Wed, Jul 8, 2009 at 2:31 PM, madunix wrote: > Dear ALL, > > What are the experiences you have with various open source CMS > products (Comparison of PHP-based CMS) such as (Drupal, Joomla, > OpenCMS, Typo3, eZ publish ..etc.) > > Security, Bugs, Performance, Support, Developer Community, lea

[PHP] SOAP and Exception Handling

2009-05-01 Thread VamVan
Hello Guys, I use SOAP calls to make web service requests.I have a class that does webservice calls to various wsdls. So my question is about try catch blocks. so my method looks like this: private function method($cookie){ //Define Client try{ // Check if WSDL exists

Re: [PHP] Increase your monthly income!

2009-04-09 Thread VamVan
I believe there is some kind of filter for SPAM emails and emails not related to PHP. Question is: How come some emails still make it to this list? Anyone to shed some light on this topic? Thanks, V

Re: [PHP] need help with code

2009-03-22 Thread VamVan
Code without proper indentation and is very hard to comprehend. You have unnecessary spacing and line breaks that makes it difficult to debug. I suggest you few things as a good practice: 1) Until you learn perfectly to code use some nice GUI editors that have syntax highlighting (aptana, eclipse

Re: [PHP] whoami explanation

2009-03-04 Thread VamVan
On Wed, Mar 4, 2009 at 7:50 PM, Daniel Brown wrote: > On Wed, Mar 4, 2009 at 22:46, VamVan wrote: > > > > Hey Guys I have Question. I just noticed that once the whoami thread > > reached 100 posts it automatically created another thread. Is this > intended? > > &g

Re: [PHP] whoami explanation

2009-03-04 Thread VamVan
On Wed, Mar 4, 2009 at 7:35 PM, Daniel Brown wrote: > On Wed, Mar 4, 2009 at 20:28, Shawn McKenzie wrote: > > > > Well, the ground beef is actually tartar and it goes without saying that > > it would be topped with foie gras and grape chutney with caviar on the > side. > > with gold-pla

[PHP] 500 Internal Server Error

2009-03-01 Thread VamVan
Hello All, What is the situation when we get internal server error 500 on PHP pages? >From Internet I got some info like, you get it when : 1) If friendly urls are not supported by apache.(mod_rewrite) 2) If max_execution_time max's out. and some more related to apache. I got a weird situation

Re: [PHP] Re: More questions about SESSION use

2009-02-05 Thread VamVan
On Thu, Feb 5, 2009 at 9:16 AM, Terion Miller wrote: > On Mon, Feb 2, 2009 at 4:18 PM, Chris wrote: > > > Edmund Hertle wrote: > > > >> 2009/2/1 Terion Miller > >> > >> This is how it was originally written: > > if (empty($_SESSION['AdminLogin']) || $_SESSION['AdminLogin'] != > > >

Re: [PHP] Is it possible to send POST vars through a header redirect?

2009-02-03 Thread VamVan
On Tue, Feb 3, 2009 at 2:54 PM, Jim Lucas wrote: > TS wrote: > > I'm trying to send vars via POST somehow. Is this possible? > > > > Currently I'm doing > > > > header("Location: http://domain/index.php?var=3";); > > > > but, want to send POST or some other method that doesn't stick with the > se

Re: [PHP] PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-01-30 Thread VamVan
On Fri, Jan 30, 2009 at 10:45 AM, Nitsan Bin-Nun wrote: > I was just wondering whether people enclosing their PHP tags declarations, > I don't close these needs them, > and for the second reason - if a space/tab/new line/etc will beneath them > it > will cause > problems with output buffering and

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread VamVan
On Mon, Jan 19, 2009 at 11:50 AM, Daniel Brown wrote: > On Mon, Jan 19, 2009 at 14:37, VamVan wrote: > > Why are you guys Burning your egos here? Its not the right place. > > It's a PHP-related general discussion, Vam. Perhaps not entirely > in good manners, but it&#

Re: [PHP] Re: Opinions / Votes Needed

2009-01-19 Thread VamVan
Why are you guys Burning your egos here? Its not the right place. On Mon, Jan 19, 2009 at 11:03 AM, Kyle Terry wrote: > On Mon, Jan 19, 2009 at 10:59 AM, Robert Cummings >wrote: > > > On Mon, 2009-01-19 at 10:50 -0800, Kyle Terry wrote: > > > On Mon, Jan 19, 2009 at 10:35 AM, Daniel Brown >

Re: [PHP] Mirroring/caching PHP webpages.

2009-01-15 Thread VamVan
On Thu, Jan 15, 2009 at 4:57 PM, Clancy wrote: > For some time I have had feedback pages on several of my websites based on > the example > given by David Powers in chapter 6 of "PHP for Dreamweaver 8". These worked > fine for some > years, but some months ago someone started stuffing pornographi

Re: [PHP] Re: iconv is messing up a spreadsheet generated by the Spreadsheet Excel Writer

2009-01-15 Thread VamVan
Thanks man that did it :-) . What exactly was the problem you've noticed (I am seeing a diff between the two files bu t I am not sure I fully understand)? -- Thodoris Yes I have previously worked on loads of Greek sites. Some how strange enough I had problems whenever I used UTF-8 to store cont

Re: [PHP] Security question

2009-01-14 Thread VamVan
On Wed, Jan 14, 2009 at 2:22 PM, Frank Stanovcak wrote: > This is mostly to make sure I understand how sessions are handled > correctly. > As far as sessions are concerned the variable data is stored on the server > (be it in memory or temp files), and never transmitted accross the net > unless ou

Re: [PHP] PHP, Smarty, and Text

2009-01-14 Thread VamVan
On Tue, Jan 13, 2009 at 6:49 PM, Daniel Kolbo wrote: > Hello, > > I've been using PHP and Smarty for several years now and I am happy with > this "division" of data from presentation. With this philosophy in mind, i > am a bit perplexed as to how to handle the text on my sites. That is, the > t

Re: [PHP] PHP unlink Permission Error

2009-01-13 Thread VamVan
Alice, I see that you are using windows. For windows only the write permission for the folder and file isn't enough. You need to change the owner ship of the file as well so that u have privilege to delete. Do this , this might work: //Change the owner ship of the file to a non existent user in t

Re: [PHP] Data trasfer between PHP pages

2009-01-12 Thread VamVan
If the 2 forms exist on the same server. Use Sessions. thats would solve lot of problems managing hidden fields and everything. Thanks, V

Re: [PHP] Php and CSS where to put it

2009-01-12 Thread VamVan
-- should be placed in between Thanks, V

Re: [PHP] Editing in a text area field

2009-01-09 Thread VamVan
Rule #1. Never, ever, ever, alter the user's input, EXCEPT for sanitizing/filtering. Specifically, do NOT add tags in place of newlines. Store the newlines. 100% I agree. Thats called the act of defensive programming. We have no right over altering user input but yes we have right to display wha

Re: [PHP] Couple of beginner questions

2009-01-09 Thread VamVan
Hey Gary, I've done a number of sites in html and am now venturing into php. Can I create a page in html and insert php code that will work? (for example, take an existing page and insert a date command) --- Of course you can do that. But it is not advised. Becoming better in PHP in few months y

Re: [PHP] Re: redoing website after 7 years

2009-01-08 Thread VamVan
Yeah right. Don't use this solution no matter what if you have database connections , sessions or anything !!! Anyways I meant intelligent replace. :) Thanks, V On Thu, Jan 8, 2009 at 8:17 PM, Chris wrote: > > I know many people will grin at me for this solution but may be faster way >> to ov

Re: [PHP] Re: redoing website after 7 years

2009-01-08 Thread VamVan
On Thu, Jan 8, 2009 at 9:50 AM, Al wrote: > > > Lamp Lists wrote: > >> hi guys, >> I did php/mysql based website for one my client 7 years ago, in time when >> register_globals was on by default. >> hosting company upgraded server to php5/mysql5 and turned globals off. the >> site is doesn't work

Re: [PHP] Re: Cannot Install mysql extension

2009-01-08 Thread VamVan
Sorry I apologize that I didn't follow the thread after I replied. Anyways I am glad it works for you. Thanks, V On Thu, Jan 8, 2009 at 1:12 PM, Gary wrote: > Ok... I dont know if Im officially in love, but Im close...the Xampp worked > first time, all my hair still in place and on head...thank

Re: [PHP] Re: Cannot Install mysql extension

2009-01-08 Thread VamVan
On Thu, Jan 8, 2009 at 11:56 AM, Gary wrote: > Nathan > > Thanks for all your help, but it is not working. The files were/are named > php_mysql.dllso I replace them. > > I did the advanced install, choosing only those extensions I wanted, > including mywsql and mysqli > > I have already rein

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread VamVan
On Tue, Dec 30, 2008 at 2:22 PM, tedd wrote: > At 4:32 PM -0500 12/30/08, Daniel Brown wrote: > >>To hell with being on-topic, since this list is generally never >> on-topic for an entire thread anyway. >> >>This has been a roller-coaster year for some of us --- certainly >> myself includ

Re: [PHP] Phpmyadmin password

2008-12-18 Thread VamVan
Yeah true thanks for pointing out. Thats what I meant !!! :) Blowfish (http://en.wikipedia.org/wiki/Blowfish_(cipher)) On Thu, Dec 18, 2008 at 6:11 AM, Jochem Maas wrote: > VamVan schreef: > .. > > May be u can do a bowl > > fish encryption > > ... > > >

Re: [PHP] Phpmyadmin password

2008-12-17 Thread VamVan
Yeah I felt the same. It should be config.inc.php. Well I dont think its in clear text though (alteast in the latest version). May be u can do a bowl fish encryption of your new custom password and reset it in the file. Thanks, V On Wed, Dec 17, 2008 at 9:01 AM, Jim Lucas wrote: > Micah Gersten

Re: [PHP] Re: header modify errors

2008-12-15 Thread VamVan
Hey, Few things: 1) Check to see if you have any trailing spaces after the end of the file. 2) Check to see if your session_start() is not the first line of the code. Thanks, V On Mon, Dec 15, 2008 at 9:36 AM, Terion Miller wrote: > On Mon, Dec 15, 2008 at 11:29 AM, Jay Moore wrote: > > > Te

[PHP] Dates and Mysql

2008-12-10 Thread VamVan
Hello Gang, I have a Mysql table which has timestamp for the date the record was created. I was wondering how is it possible for me to query the table to retrieve all the records that are one week less than the time stamp? Thanks, V

Re: [PHP] Parsing Strings

2008-12-06 Thread VamVan
u can use split() or explode (). Thanks On Sat, Dec 6, 2008 at 9:27 AM, tedd <[EMAIL PROTECTED]> wrote: > At 4:18 PM -0800 12/5/08, Jason Todd Slack-Moehrle wrote: > >> How might I also parse and address like: SCOTTSDALE, AZ 85254 >> >> It has a comma and a space >> >> -Jason >> >> On Dec 5, 200

Re: [PHP] Job opportunity in Denver, CO - Jr. PHP developer needed

2008-12-05 Thread VamVan
telecommute?? On Fri, Dec 5, 2008 at 9:43 PM, Kevin Waterson <[EMAIL PROTECTED]> wrote: > This one time, at band camp, Nick Gasparro <[EMAIL PROTECTED]> wrote: > > > The perfect candidate will possess the following skills: > > * Serious OO design background > > * PHP5 (this will be your p

[PHP] Objects and Arrays Conversion

2008-12-02 Thread VamVan
Hello All, I was stuck with this issue. So just felt the need to reach out to other strugglers. May be people might enjoy this: Here is the code for object to array and array to object conversion: function object_2_array($data) { if(is_array($data) || is_object($data)) { $result

[PHP] category and sub category traversal

2008-12-01 Thread VamVan
Hello, I need some help in figuring out this logic. I have two tables one for category and other for category_hierarchy. category_hirerarchy has a column to determine the parent. So the query I have to retrieve tree of one specific category is: SELECT t.tid, t.*, parent FROM term_data t INNER J

Re: [PHP] Regex validation

2008-10-28 Thread VamVan
wrote: > What are you talking about with a cookie and an E-Mail address? > > Thank you, > Micah Gersten > onShore Networks > Internal Developer > http://www.onshore.com > > > > VamVan wrote: > > Yeah, I understand that its allowed in RFC. But unfortunately I use &

Re: [PHP] Regex validation

2008-10-28 Thread VamVan
> > Micah Gersten > > onShore Networks > > Internal Developer > > http://www.onshore.com > > > > > > > > VamVan wrote: > > > Thank Guys, > > > > > > I at least got part of it working , not the double words but almost >

Re: [PHP] Regex validation

2008-10-28 Thread VamVan
Thank Guys, I at least got part of it working , not the double words but almost everything else than that: function _email_validate($mail_address){ $invalid_charset_pattern = "[(*+?)|~<>:;{}/ ]"; if(ereg($invalid_charset_pattern, $mail_address)){ return false; }else{ return true;

[PHP] Regex validation

2008-10-28 Thread VamVan
Hello Team of Nerds, I need help in writing a regular expression for this: invalid character set is: INVALID_STRING={"/","*","+","(",")","'\'","<",">",",",":",";","~","..",".@","@."}; I want to a pregmatch for these characters on my whole email address and if match is found I need to return fal

Re: [PHP] PHP Dev Facts

2008-10-17 Thread VamVan
On Thu, Oct 16, 2008 at 4:14 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > Evening All, > > I'd be /really/ interested to know who uses what! > > *Procedural or OOP?* OOP > > > *Dev OS* Centos , some time XAMPP n > > > *Dev PHP Version* 5.2.6 > > > *Live Server OS* Centos > > > *Live Serv

Re: [PHP] Wanted PHP Developers LogicManse

2008-09-30 Thread VamVan
Job Description is awesome though. My first instinct was to jump in to it right away. But there are some red flags as their website looks too immature. Hard to believe !!! On Tue, Sep 30, 2008 at 9:47 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > On Sep 30, 2008, at 12:31 PM, Jim Lucas wrote: >

Re: [PHP] Wierd Variable Initialization

2008-09-25 Thread VamVan
Interesting. Thank you On Thu, Sep 25, 2008 at 2:01 AM, Ford, Mike <[EMAIL PROTECTED]> wrote: > On 25 September 2008 03:45, VamVan advised: > > > So guys, > > > > I found some thing strange that happened to me yesterday. Its small > but > > kinda freaked m

[PHP] Wierd Variable Initialization

2008-09-24 Thread VamVan
So guys, I found some thing strange that happened to me yesterday. Its small but kinda freaked me out. So I have a tokenmap.php that I include include in different configuration files. Some are classes and some are simple php files. So in my tokenmap.php I have declared an array as global. SO $

[PHP] Scope of the variables around PHP class

2008-09-22 Thread VamVan
Hello Guys, I have a problem here. I hope you can help me resolving it. Please see the code below array.php has $array1 = ('hello'=>'heelo',) require_once('array.php'); class Classa { } How can I access the array values in my class? I want to understand the scope. Thanks

[PHP] Regex for email validation

2008-08-27 Thread VamVan
Hello Guys, Does any have a regex for email validation? I need to allow only period and underscore in the local part , we would need a @ and .com or watever for domain. thank you

Re: [PHP] PHP IDE needed

2008-08-27 Thread VamVan
use Aptana its awesome and free as well. thanks On Tue, Aug 26, 2008 at 8:29 PM, Micah Gersten <[EMAIL PROTECTED]> wrote: > How much RAM do you have? Eclipse is a great IDE. Have you upgraded to > 3.4? > > Thank you, > Micah Gersten > onShore Networks > Internal Developer > http://www.onshor

[PHP] render html

2008-08-25 Thread VamVan
hello, i have html tags in the bod of text like: $body = "helloierhellohello"; print $body; Some how it does not render html properly in a html page , what might be going wrong? still get displayed as instead of line breaks. How can I render my HTML properly. Please note that it happens in

Re: [PHP] SESSION problem

2008-08-15 Thread VamVan
Tedd, I think according to PHP manual. Session_start() must be the first line in the code. Dont worry it will remember your session until you close the browser and also it wont duplicate it. Thanks On Fri, Aug 15, 2008 at 4:39 PM, tedd <[EMAIL PROTECTED]> wrote: > At 1:47 PM -0500 8/15/08, Boyd

Re: [PHP] If Column Exists

2008-08-13 Thread VamVan
Interesting. Thanks guys!! On Wed, Aug 13, 2008 at 1:32 AM, Robin Vickery <[EMAIL PROTECTED]> wrote: > 2008/8/12 VamVan <[EMAIL PROTECTED]>: > > Hello, > > > > I am working on data migration for one mysql db to another using PHP. How > do > > I check if

[PHP] If Column Exists

2008-08-12 Thread VamVan
Hello, I am working on data migration for one mysql db to another using PHP. How do I check if a particular table has a particular column. If not alter... Thanks

Re: [PHP] Why PHP4?

2008-07-29 Thread VamVan
technically security is a > byproduct of that thinking too. > > > > > On Jul 29, 2008, at 7:31 PM, VamVan <[EMAIL PROTECTED]> wrote: > > Its because PHP got really famous with version 4.0 and many people >> actually converted their CGI or other websites in to

Re: [PHP] Why PHP4?

2008-07-29 Thread VamVan
Its because PHP got really famous with version 4.0 and many people actually converted their CGI or other websites in to PHP 4 websites because it was easy and cheap. But 5.0 brought too many changes like serious OOPS and register global concepts for security, which is useful but made transition dif

Re: [PHP] Programming With Revision History

2008-07-29 Thread VamVan
Hello, Think in this way: You would be needing two tables: first one: content table: contentID, contentType, revisionID --- contentID is the PK ( you can make the UI for adding and deleting these fields) content_revisions table revisionID, contentID, -- revisionID is the PK

Re: [PHP] After INSERT form submit - Data doesn't refresh!

2008-07-23 Thread VamVan
Hello, I understand what you are trying to do. But as a web developer it is never a good practice to have a insert query and page to display the record in the same page. This way you will never add the redundant data whenever the page is refreshed. So from my experience I would suggest you do thi

Re: [PHP] Questions about finding ranges

2008-07-23 Thread VamVan
Hey, For ranges you can also use "Between" in the mysql queries. SELECT * FROM table WHERE Type= "Attainable" AND Min LIKE $var can be written as Select * from table where between min and max Just remember that "between" acts a bit wierd with dates or else Jim's solution would be perfect for yo

Re: [PHP] Soap Call Error

2008-07-17 Thread VamVan
-1.0.xsd "> xxx x new appliance 108hellox I dont know what can I infer from this. I still get the same error. On Wed, Jul 16, 2008 at 11:26 PM, Jason Norwood-Young < [EMAIL PROTECTED]> wrote:

[PHP] Soap Call Error

2008-07-16 Thread VamVan
Hello Guys, I have been getting a wierd soap exception lately [faultstring] => looks like we got no XML document [faultcode] => Client [faultcodens] => http://schemas.xmlsoap.org/soap/envelope/ What does that mean? The call gets properly called and it does what it needs to do, but t

Re: [PHP] Question before I end up writing alot of extra code...

2008-07-08 Thread VamVan
sorry it needs to be a array for checkbox for the example below. So you could use is_empty() instead. something like that. On Tue, Jul 8, 2008 at 7:37 PM, VamVan <[EMAIL PROTECTED]> wrote: > Hey, > > Dude you could use it this way > > > > > > Once u subm

Re: [PHP] Question before I end up writing alot of extra code...

2008-07-08 Thread VamVan
Hey, Dude you could use it this way Once u submit it, do a small server side validation if(isset($_POST['something'] || $_POST['something']) != ""){ insert... } This way you could avoid replacing the values with nulls. Thanks, Vam On Mon, Jul 7, 2008 at 12:25 PM, Jason Pruim

[PHP] Associative Arrays

2008-06-19 Thread VamVan
Hi, How to create an associative array of this kind in PHP? return array( 12345 => array( 'mail' => '[EMAIL PROTECTED]', 'companyName' => 'Asdf Inc.', ), 54321 => array( 'mail' => '[EMAIL PROTECTED]', 'companyName' => 'Asdfu Corp.', ), ); Thanks

[PHP] Build and Deployment Process

2008-06-10 Thread VamVan
Hello All, What is the best method to build and deploy php scripts along the different environments? You can talk about rpm's and stuff My specific scenario is Step1: Developer checks code in to perforce (repo) Step 2: Then I need to upgrade my integration instance. Step 3: Upgrade QA insta

[PHP] Caching and Optimization

2008-06-05 Thread VamVan
Hello All, Today my question is about the all important topic "Web Optimization" What kind of caching mechanisms can I use for Mysql Queries? I was wondering if you have some methods would you share some code? What kind of caching and optimization mechanisms can I use for frequent Web Service ca

[PHP] Objects and Traversing

2008-06-04 Thread VamVan
Hello Guys, Here is the object. How can I get access to the [Name] = access. People who help me with this can you please tell me what is the logic behind traversing the objects and how do you gather the values. Thanks. I am looking for an answer like this $queryResult->f->dsfsdf QueryResult O

[PHP] Regex in PHP

2008-06-03 Thread VamVan
Hello All, For example I have these email addressess - [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] What would be my PHP function[Regular expression[ to that can give me some thing like yahoo.com hotmail.com gmail.com Thanks

[PHP] PHP and Web Services [JIVE]

2008-05-30 Thread VamVan
Hello All, I am trying to make a web service call using SOAP and PHP to create a new community. I keep on receiving unauthorized exception. Please let me know what I forgot in my code here. How is it possible to send authentication headers in a SOAP call? I would appreciate if some one could pos

[PHP] Query in Query problems

2008-04-16 Thread VamVan
Hello All, We many times encounter the situations of having Queries inside loop of another query. Many times we can solve the issue by query joins but there will be some situations where we cannot do it. For Example: function Change($id){ $qry_reg = "SELECT registrationID FROM registrat

[PHP] Dates Again

2008-03-31 Thread VamVan
Hello All, I have a date in 2008-03-29 12:15:00 format. - How can I reduce one day from it? - How can I reduce one hour from it? - How can I add 1 hour to today's date? Thanks

Re: [PHP] Array and Object

2008-03-24 Thread VamVan
) [timeZoneID] => utf8_decode(4) [size] => utf8_decode(49.441048) [recordingType] => utf8_decode(0) [duration] => utf8_decode(3218) ) On Mon, Mar 24, 2008 at 10:10 AM, tedd <[EMAIL PROTECTED]> wrote: > At 10:00 AM -0700 3/24/08,

Re: [PHP] Array and Object

2008-03-24 Thread VamVan
I cannot do that. because Simple xml element retrieves everything in UTF8. I need to decode it to latin1 for comparison with another array. My query still remains the same. On Mon, Mar 24, 2008 at 9:56 AM, Eric Butera <[EMAIL PROTECTED]> wrote: > > On Mon, Mar 24, 2008 at 12:5

[PHP] Array and Object

2008-03-24 Thread VamVan
Hello All, I am having an array structure as displayed below, The title is the key and value is the simplexmlelementobject. [Advanced Virtualization Technologies in Workstation 6-20080320 1604] => SimpleXMLElement Object ( [recordingID] => 932467 [hostWebExID] =>

[PHP] Last Friday of every month

2008-03-13 Thread VamVan
Can you tell me how to do this ? suppose I have a date variable = '02/23/2008' i need to know if this is the last friday of february let me know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] class for generating ics or vcs file

2008-03-13 Thread VamVan
Hello All, Can anyone share with me a simple class or code that can generate vcs or ics calendar file in php, that can be imported in to outlook. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sessions

2008-02-28 Thread VamVan
Hello People, I wanted to have your assistance in deciding few things here, basically I want to auto populate a registration form for people visiting second time or so on. I have already started a session,I know that session is a cookie so is it better to rely upon the session cookie for auto pop

Re: [PHP] Date Function ][Resolved]

2008-02-22 Thread VamVan
Thanks ALL who have replied On Fri, Feb 22, 2008 at 11:55 AM, Thiago Pojda <[EMAIL PROTECTED]> wrote: > > $start_date = date("Y-m-d H:i:s", strtotime($date_format)); echo > $start_date; ?> > > capital H should do it > > > -Mensagem original-

[PHP] Date Function

2008-02-22 Thread VamVan
Hi All, Greetings!! A small PHP Script for help output is 2008-02-22 02:00:00 but not 2008-02-22 14:00:00 How can i get my output as 2008-02-22 14:00:00. Thanks V -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to parse this kind of XML

2008-02-07 Thread VamVan
I cannot manipulate the response. this is the response I get from the web services. is there any other way to do it? On Feb 7, 2008 3:41 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > On Feb 7, 2008 6:17 PM, VamVan <[EMAIL PROTECTED]> wrote: > > > > Hi, > >

[PHP] How to parse this kind of XML

2008-02-07 Thread VamVan
Hi, How can I parse this kind of XML data? < event:sessionType>9 marketingprograms 05/22/2008 09:00:00 05/22/2008 10:00:00 4 60 I am using SimpleXMLElement function but some cannot retrieve the nodes like timeZoneID for example Thanks -- PHP General Mailing List (http:/

Re: [PHP] Sending SMS via PHP

2007-12-23 Thread VamVan
Hi Bastien, I have actually implemented sending SMS using PHP by installing NOW SMS gateway. You can find all the information regarding it on www.nowsms.com. They have a software that you can buy and configure on your server. I wrote scripts that can help sending single SMS, BULK SMS, User Define

[PHP] XML Parse Error

2007-12-21 Thread VamVan
Hi All, Happy Christmas!!! Please see the code below: $xml = ""; $xml = ''; $xml .= ''; $xml .= ''. $this->xmlValueEncoding($post['Email']) .''; $xml .= '' . $this->xmlValueEncoding($post['FirstName']) . ''; $xml .= '' . $

[PHP] Select Box CSS

2007-12-18 Thread VamVan
Hi All, Please apologize for sending this question to PHP forums. But I would appreciate it very much if some could please help me styling in HTMl with CSS? I have .selectmulti { border: 1px solid #c9c9c9 } this code but it only works in firefox How can I make this work in IE? And also I want

[PHP] XML Extraction

2007-12-17 Thread VamVan
Hello, I receive an output as an XML File. Please provide some scripts that I can use for extraction of the values. For Example: hello hello2 hello3 are 3 different records in the XML File. How can I retrieve the result set in a loop and also sort it like DESC and ASC for example. While()