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
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
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
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
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
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
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
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
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
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
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'] !=
> >
>
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
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
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
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
>
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
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
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
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
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
If the 2 forms exist on the same server. Use Sessions. thats would solve lot
of problems managing hidden fields and everything.
Thanks,
V
--
should be
placed in between
Thanks,
V
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
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
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
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
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
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
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
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
>
> ...
>
> >
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
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
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
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
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
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
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
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
&
> > 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
>
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;
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
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
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:
>
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
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 $
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
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
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
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
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
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
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
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
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
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
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
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
-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:
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
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
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
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
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
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
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
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
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
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
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
)
[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,
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
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] =>
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
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
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
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-
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
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,
> >
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:/
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
Hi All,
Happy Christmas!!!
Please see the code below:
$xml = "";
$xml = '';
$xml .= '';
$xml .= ''.
$this->xmlValueEncoding($post['Email']) .'';
$xml .= '' .
$this->xmlValueEncoding($post['FirstName']) . '';
$xml .= '' .
$
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
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()
83 matches
Mail list logo