Jay Blanchard wrote:
> [snip]
> ...foreach...
> [/snip]
>
> You could also use a for loop if you wanted to count;
>
> for($i = 0; $i < count($array); $i++){
>echo $i . "\n";
> }
>
>
>
This is not good because you are calling count every
m waiting for the day when Firefox starts using Google's V8 scripting
> engine!
>
>
> Ash
>
I'd rather all the engines follow the W3C standards so that you just
have to make sure your web page is compliant.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pt['name'];
> foreach( $dept['classes'] as $className )
> {
> echo "$collegeName, $deptName, $className\n";
> }
> }
> }
>
> ?>
>
> Cheers,
> Rob.
>
This is actually a much smaller da
his locally on my box and on
> the live server.
>
> thanks
> terion
>
>
Have you checked the PHP error logs?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
object to array, the same thing applies:
http://us2.php.net/manual/en/language.types.array.php
$array = (array) $object;
Not sure if these are PHP 5 only or not.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s and a universe is created via a big light show... does it
> matter? Can it be perceived? Is this just a proverbial pandrödinger's
> box? You can't implement the bigbang() function if you don't exist.
>
> Cheers,
> Rob.
>
The function doesn't say who's doing the creating, it just checks for
the existence of the universe.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings wrote:
> On Mon, 2008-12-08 at 19:46 -0600, Micah Gersten wrote:
>
>> Robert Cummings wrote:
>>
>>> On Tue, 2008-12-09 at 00:16 +, Nathan Rixham wrote:
>>>
>>>
>>>> Ashley Sheridan wrote:
>>>&g
German Geek wrote:
> On Tue, Dec 9, 2008 at 2:46 PM, Micah Gersten <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Robert Cummings wrote:
> > On Tue, 2008-12-09 at 00:16 +, Nathan Rixham wrote:
> >
> >> Ashley Sheridan wr
>
>
I'm assuming you meant get records one week less than the current system
timestamp.
date('Y-m-d G:i:s', strtotime('1 week ago'));
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tidy without having to put the
> structure in your code all over the place.
>
> Col
>
Why would you want to delete the instructors when deleting the student?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://ww
O'reillys Learning PHP 5:
http://oreilly.com/catalog/9780596005603/index.html
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
jeffery harris wrote:
> Hi guys/gals. I'm a first time user. Does anyone know of a good php book?
>
>
>
ck this out:
http://us2.php.net/manual/en/language.oop5.static.php
It actually won't work until 5.3.0 when they add late static binding.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It flance wrote:
> Hi,
>
> I lost phpmyadmin password. Is there anyway to recover it?
>
> Thank you
>
>
PHPMyAdmin uses MySQL's internal authentication. Log into your MySQL
server and reset your password.
http://dev.mysql.com/doc/refman/5.0/en/resetting-permissi
for this to be frowned
upon. What you are referring to is the old PHP4 style of explicit
pass-by-reference in function usage which is frowned upon.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for the basic idea on how a MUD server would be
> implemented in PHP.
>
> Thanks in advance for anything,
>
> Luke Slater
>
How about AJAX and sessions instead of having TCP sockets?
http://xajaxproject.org/
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://us3.php.net/manual/en/function.number-format.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
LKSunny wrote:
> i need accuracy, how to ?
>
> Thank You.
>
> "Per Jessen"
> ¼¶¼g©ó¶l¥ó·s»D:gjg4fk$58...@saturn.
uot;Default Theme" id="style1"
> value="default" />
> src="himages/switch-button-default.gif" title="Alternate Theme"
> id="style2" value="alternate" />
>
>
>
> Any thoughts?
>
How is this being submitted
Nathan Nobbe wrote:
>
>
> On Sun, Dec 28, 2008 at 8:40 PM, Micah Gersten <mailto:mi...@onshore.com>> wrote:
>
> Nathan Nobbe wrote:
> > good point dan, and just to add further clarification, thats b/c the
> > function specifies $return_var
don't have anything against Linux or Mac, they're great
>> systems. But I have my reasons for running Windows.
>>
>
> There's definitely a Gui for CVS. TurtleCVS IIRC. Presumably there's
> one for SVN.
>
>
TortoiseCVS and TortoiseSVN on Windows
You might want to consider the button element which allows you to
display images, but doesn't send back coordinates. Instead it sends a
preset value.
http://www.w3.org/TR/html401/interact/forms.html#h-17.5
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Ashley Sheridan wrote:
> On Fri, 2009-01-02 at 18:06 -0500, Andrew Ballard wrote:
>
>> On Fri, Jan 2, 2009 at 1:15 PM, Micah Gersten wrote:
>>
>>> You might want to consider the button element which allows you to
>>> display images, but doesn't s
gt;>
>> How do I move the content of $tastes to X of
>> echo "\n";
>> ?
>>
>> Thanks, Eduardo
>>
>
> echo "\n";
>
> echo "this is how you echo a " . $variable . " in a string";
>
While that is true, that
Micah Gersten wrote:
> Nathan Rixham wrote:
>
>> Eduardo wrote:
>>
>>> Hi, I am Eduardo, a new PHP programmer and an old Cobol veteran.
>>> I know that
>>> $tastes=$_POST["tastes"]; moves the content of "tastes" from
>
Vicente wrote:
>>
>>
>
> eps, sorry.. Micah Gersten is right. You will need the echo among
> them.
>
>
>
>
>
Yep, but you caught the quotes mix-up. :)
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
interaction it seemed like the place to ask. Thanks in advance, and have a
> great day!
>
> Frank
>
>
>
>
As nice as the guys on the list are, this will be most accurate:
http://dev.mysql.com/doc/refman/5.0/en/storage-requirements.html
Thank you,
Micah Gersten
onShore
character).
>
> Maybe you're thinking of char, which is limited to 255 characters.
>
You're referencing the 5.1 manual. In the 5.0 manual it says that
VARCHAR was extended to 65535 in 5.0.3, so you're statement is not
entirely correct, nor was Stuart's. That's why I
> only take up it's real space of string(4).
>
> it' may seem like a small amount of space but when you have 8
> char(255) columns in a table with 10 million rows you'd noticed the
> difference considerably.
Actually string(4) in a varchar(100) will take up 5 bytes, b
any standard way to fix it?
>
>
Why are you setting the session max lifetime on the server to 60 * your
timeout? Set it to your timeout and the server will get rid of the session.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General
er drives are more expensive as they
are of higher quality than consumer disks. They require a lot more MTBF
than your normal hard drive at your local computer store. Also, if you
waste 1GB in 1 column, imagine how much wasted space there is in the
whole DB.
Thank you,
Micah Gersten
onShore Networ
Can you use something like APC to cache the instance variable so that
it's persistent across different sessions?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Nathan Rixham wrote:
> Colin Guthrie wrote:
>> 'Twas brillig, and Nathan Rixha
break;
>
> case ($my->getChild()->hasEatenBeans()):
> // something
> break;
> }
>
> evil ... but it works.
>
>
>
>
This is a misuse of the switch statement. Switch is meant to compare
values to a single variabl
d safe.
>>
>> Thanks,
>> V
>>
>>
>
> Thanks V
> So if I store the hash in the db, and in the session var then I should be
> resonably safe provided I salt the hash prior to storing it?
>
>
>
>
Yes, but don't use md5. There are lookups available to help someone
crack it. Try sha1:
http://us3.php.net/sha1
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Depending on the goal, using the base tag in the head section might help:
http://www.w3.org/TR/REC-html40/struct/links.html#h-12.4
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Edmund Hertle wrote:
> Hey,
> I want to "parse" a href-attr
a single process can
address more than 2.5 - 2.7 GB of RAM.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;
> tedd
>
What about an onChange javascript function that checks all the boxes
that need input. Call it whenever any of the inputs change and in the
onSubmit for the form, check it again.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP Gener
tely not true. You can make the button call a PHP script
with AJAX and just update the textbox.
Check out:
http://xajaxproject.org
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul M Foster wrote:
> On Mon, Jan 26, 2009 at 12:03:20AM -0600, Micah Gersten wrote:
>
>
>> Paul M Foster wrote:
>>
>>>
>>> In case this has yet to be answered to your satisfaction...
>>>
>>> Your page will *have* to reload
Paul M Foster wrote:
> On Mon, Jan 26, 2009 at 12:53:55PM -0600, Micah Gersten wrote:
>
>
>> Paul M Foster wrote:
>>
>
>
>
>
>>> Please show me how *without Javascript* and *only with PHP* you can
>>> change the content on a pa
er with
every release. PHP, Apache, MySQL, and Linux always improve their newer
builds for speed whenever possible.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g the InnoDB engine, the Primary Key is stored in the
secondary index, so specifying it explicitly is unnecessary.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; [pthomp...@pthompson scripts]$ php --ini
> Configuration File (php.ini) Path: /etc
> Loaded Configuration File: /etc/php.ini
>
> Thoughts on what's happening would be awesome! Thanks in advance.
>
> ~Philip
>
Run this to find out which ini file is being parsed:
php
e problem isn't the uniqueness of the
passwords, but rather the uniqueness of the hash. The solution is to use
another hash that does not have the same collision issues.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> id=$_SESSION['thisid']";
>>
>
> Don't single quote values inside array brackets when the whole
> expression is in double quotes. You've got:
>
> "... $_SESSION['thisid']";
>
> Do this instead:
>
> "... $_SESSION[thisid]";
>
> Paul
>
Better off doing this so you don't get into the habit of not using
quotes around array params:
"... {$_SESSION['thisid']}";
See this:
http://us2.php.net/manual/en/language.types.string.php#language.types.string.parsing
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
all to do with php.
>>
>> http://dev.mysql.com/doc/refman/5.0/en/datetime.html
>> http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html
>>
>
> $query .= " WHERE stamp < ".(time()-7*3600*24);
>
Using something like that is disastrous for D
Michael A. Peters wrote:
> Anywhoo, that being said, does anyone have a suggestion for a good
> database abstraction class?
>
> Preferably one that already has decent support for several open source
> databases?
Try Doctrine:
http://www.doctrine-project.org/
>From the website:
What is Doctrine?
Shawn McKenzie wrote:
> Micah Gersten wrote:
>> Michael A. Peters wrote:
>>
>>> Anywhoo, that being said, does anyone have a suggestion for a good
>>> database abstraction class?
>>>
>>> Preferably one that already has decent support for several
HallMarc Websites wrote:
> First time caller; long time listener..
>
>
>
> I have been looking at various PHP MVC frameworks; Limb3, Symphony, Mojavi,
> Navigator, WACT, etc.
>
> I'm looking for any input anyone might have regarding which framework seems
> to be the most promising?
>
>
>
stent Systems
> chetan_r...@persistent.co.in | Cell: +91 94033 66714 | Tel: +91 (0832) 30
> 79014
> Innovation in software product design, development and delivery-
> www.persistentsys.com
>
>
>
> -Original Message-
> From: Micah Gersten [mailto:news.php@mic
Jochem Maas wrote:
>
> we use Reply-All because hitting Reply doesn't reply to the list but
> to the OP ... and discussions should generally stay on the list.
This is true unless you're reading the list as a newsgroup. :)
--
Micah
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
scubak1w1 wrote:
> Hello,
>
> Banging my head against this one...
>
> Briefly:
> - I have two forms on the same page
> - both forms are: action=""
> method="post"
> - both forms gave unique ids
> - both forms have a hidden file of the type name="_add_new_module_details" value="1" /> which i
mike wrote:
> http://www.redmine.org/
>
> Looks pretty useful; I want one in PHP though.
>
> Anyone?
Mantis Bug Tracker has some of the features you are looking for:
http://www.mantisbt.org/
--
Micah
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
mike wrote:
> On Wed, Mar 18, 2009 at 8:30 AM, Jan G.B. wrote:
>> Mantis is a pain in the a*** (for non technical persons).
>
> +1
>
> had some annoying bugs, too.
>
> it's only really a bug tracker last i checked anyhow.
>
> trac or redmine is more what would be beneficial.
OP asked for PHP.
mike wrote:
> On Wed, Mar 18, 2009 at 1:22 PM, Micah Gersten
>
>
>> OP asked for PHP. Trac is python and Redmine is Ruby. They've added
>> twitter support, VCS support, and wiki support lately and are working on
>> the major 1.2 upgrade now.
>
> i am th
Ron Piggott wrote:
> How do I know when to use $_GET verses $_POST?
>
> Is there a pre defined variable that does both?
>
> Ron
>
One of the things usually left out of this discussion is the actual
intended use for each of these. I submit the following 2 reference links:
http://www.w3.org/TR/h
Andrew Ballard wrote:
> On Tue, Apr 21, 2009 at 8:34 AM, Grega Leskovsek wrote:
>> provided I want to store hash of a password in MySQL ... Using MySQL,
>> the whole check can be achieved with a SQL query, since the MD5
>> function is provided as part of the database query language ...
>> Can I us
Try returning a value from CreateUser and checking it before sending the
E-Mail.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Miles Thompson wrote:
> An online signup script is randomly missing part of the task. These scripts
> are in
What can help is if one app only has access to it's own DB. Also, for
mysql, there is the mysql_real_escape_string function for a reason.
Also, for the web app, you can usually disable Administrative functions
and grant a minimal set of permissions.
Thank you,
Micah Gersten
onShore Net
For anyone interested, here's a nice book to get anyone started on PHP
Security:
http://oreilly.com/catalog/9780596006563/index.html
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Stut wrote:
> On 17 Jul 2008, at 21:56, Robert Cummings wrote:
&
Does anyone use the Zend Framework? Is it fast?
--
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If it's a simple x < y, you might want to consider putting your if
statement in the SQL query so you don't return so many rows. To make a
counter, just set a variable like:
$counter = 0;
if ($x <$y)
{
print $row;
$counter++
}
Thank you,
Micah Gersten
onShore Networks
In
Set a session variable after the login has been confirmed and check for
it at the beginning of every page. If it's not set, then redirect to login.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
R.C. wrote:
> I'm still trying to get this sc
checkLogin.php
info.php
login.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
R.C. wrote:
> Thank you Micah,
>
> Could you give me some code on that?
>
> Ref
>
> "Micah Gersten" <[EMAIL PROTECTED]> wro
When you use a header redirect, you start with a new page. Everything
you did until then is gone. When you call session_start on the new
page, it resumes the same session, not creates a new one.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
tedd wrote
I just want to point out that public IPs are no longer given out as
Class A, B, and C networks, but based on CIDR. You can use rwhois to
figure out who has use of a certain subnet and what the range of it is.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
);
}
or
foreach($myCalTime as $calTime => $calArrayTime){
$calArray[] = array($calArrayTime['day'] => array('NULL','linked-day
'.strtolower($calArrayTime['reason']),$calArrayTime['day']));
Thank you,
Micah Gersten
onShore Networks
Internal
I'm still confused. What do you mean by same line?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Chris Ditty wrote:
> The array($calArrayTime. is actually another string. I am mainly trying
> to get the values for ['day'][
Nice catch, I missed that.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jason Norwood-Young wrote:
> On Wed, 2008-07-23 at 13:52 -0500, Chris Ditty wrote:
>
>> Can anyone point me in the right direction? I know I am missing something
>
Here's the info on the "weirdness" of between:
http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_between
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
VamVan wrote:
> Hey,
>
> For ranges you can also us
You cannot have commands in the middle of a string. Try building a
string first, or use output buffering and then capture the buffer and
use that as the string for the mail function.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
[EMAIL PROTECTED] wrote
He had code blocks in the middle of a string. That's what I was
referring to.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Ted Wood wrote:
>
> Micah,
>
> Please provide an example of what your response was referring to in
> the origi
It seems like you're still calling functions inside the string. Instead
of concatenating, try the output buffering like was mentioned before.
Also, if you want HTML tags in your PHP code, you need to end and start
the PHP tags again, or print them as output in quotes.
Thank you,
Micah Ge
Are you trying to make it xml compatible or XHTML compatible? '&' is
not valid HTML or XHTML as it has special meaning. If you want it to
adhere to the standard and display correctly, you must use '&'
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http:
Philip Thompson wrote:
> On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote:
>
>> You cannot have commands in the middle of a string.
>
> Technically you can.
>
> $str = "Hi, my name is " . $this->getName();
This is correct, but is not in the middle of the str
Are you talking about looking at blogs in a mobile phone browser or
actually downloading the blog into another format?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Shelley wrote:
> Ok, let me tell you what i want to achieve.
> I want to transfer
I thought wampp was deprecated. Try xampp:
http://www.apachefriends.org/en/index.html
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
mukesh yadav wrote:
> hi ,
> sorry for posting here.I really dont know where to post I asked in the
> mysql IRC
Generally, apache runs as www-data. What was the output of the command?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
I need write a script execute some command, but try start or stop service
like named, network this don't work
I edit visudo and ad
You cannot do this:
$row[] = $result;
You need to loop around this:
$row = mysql_fetch_assoc($result);
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jason Pruim wrote:
> Hey Everyone...
>
> So I am attempting to pull 2 random records fro
Here's a PEAR package that handles this:
http://pear.php.net/package/Mail_Queue/
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Kurth wrote:
> I want to limit these script two send 100 email and then pause for a
> few seconds and then s
and a smaller footprint.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Hélio Rocha wrote:
> Sorry to disagree,
>
> But I think that with PHP4 a lot of people start thinking that they could be
> programmers (maybe they can, developers it's ano
Sometimes speed improvements require removing things. If you end up
backwards supporting everything you end up with a big monster engine
that is incredibly slow.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Hélio Rocha wrote:
> Brainfuck rox!
s
a lot of functionality make available.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Raido wrote:
> Hi,
>
> There are many sites explaining how to build new site etc but I'd like
> to hear what You suggest. (about how to plan whole thing and ho
You might want to check the scope of the properties. If you want to
access them outside of the class, make sure they are declared public.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Marten Lehmann wrote:
> Hello,
>
> I'm using some php
This page can help you understand them better:
http://us2.php.net/manual/en/language.variables.superglobals.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Edward Diener wrote:
> In handling an HTTP POST request I came across some PHP code, whic
Maybe check the return value of the function:
http://us3.php.net/manual/en/function.move-uploaded-file.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jignesh Thummar wrote:
> I'm trying to upload the file. It's showing me successfully up
Here's the PHP doc page.
Let us know if you have more questions:
http://us3.php.net/manual/en/language.oop5.overloading.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Philip Thompson wrote:
> On Jul 30, 2008, at 1:29 PM, Jim Lucas wrote:
>
Sorry about that, I forgot you got that link already.
Here's an answer for you:
I use overloading to dynamically call a function in another object if
the current object does not have it. It helps because PHP does not
support multiple inheritance.
Thank you,
Micah Gersten
onShore Net
Maybe you should try this library. It comes with examples and is fairly
easy to implement.
http://xajaxproject.org/
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Rahul S. Johari wrote:
>
> In theory your solution sounds extremely feasible & p
What I usually do is default to the most common country and show the
associated states.
You can change the states if they change the country.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Andrew Ballard wrote:
> On Thu, Jul 31, 2008 at 12:40 PM, Rahu
You're right. Same principles apply though.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Boyd, Todd M. wrote:
> *cough*
>
> ...pretty sure he wrote "county", guys. ;)
>
>
> Todd Boyd
> Web Programmer
>
--
PHP G
Is this a repetitive thing your clients will do many times? I recently
created a backup solution using ssh keys and the pecl ssh extension to
automate backups. Then a cronjob sorts the files on the server. It's a
lot more secure than allowing PUTs.
Thank you,
Micah Gersten
onShore Net
gt; card number, my application will secure it enough ? how can i get back
> information that it's true...user paid the good and i can send him the
> product ?
>
> thanks a lot for all your feedback.
>
>
Paypal can handle itself, Bank Transfers and Credit Cards
1. To get last months date, you can use strtotime("1 month ago")
instead of mktime.
2. I don't see anywhere in the code where you are limiting by date.
Try using > and <. Between is tricky on dates.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www
I don't know how to use the POSIX classes, but if you use preg_replace:
preg_replace("/[^$params]/", '', $string);
I think this will work.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Alberto García Gómez wrote:
> Fellow
Seems like 1and1 screwed up their Apache installs. My site shows a
blank page when I go to the domain, but when I go to index.php, it works.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Heyes wrote:
> Hi,
>
> Seems my 1and1 server ha
I'm on a shared host, I should have mentioned that.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Heyes wrote:
>> Seems like 1and1 screwed up their Apache installs. My site shows a
>> blank page when I go to the domain, but when
You can write 2 functions to handle this.
Value and OutputValue
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Tyler C. wrote:
> Is the a way to have an array, or use __get() to provide different
> data if you are echoing a variable, rather than if y
What is around this line?
/global/WEB_DAT/documents/fme/institute/get/lehre/course/lib.php:25
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Kai Kauer wrote:
> Am Dienstag, 5. August 2008 15:46:42 schrieb Daniel Brown:
>
>> On Tue, Aug 5,
I'm wondering if anyone here has experience integrating FileMaker with
PHP using either ODBC or JDBC.
--
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know of a JDBC API Wrapper that can be called from PHP?
I'm already using this to connect to Java:
http://php-java-bridge.sourceforge.net/doc/
--
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.ph
You can't steal it, but you can't do anything with it either, so what's
the point of having it?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
V S Rawat wrote:
>
> I was surprised to see some very busy and well to do Chartered
&
1 - 100 of 242 matches
Mail list logo