On Thu, Sep 18, 2008 at 4:35 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:
If you need abstraction, check this out:
http://us.php.net/pdo
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
On Sep 18, 2008, at 5:52 PM, Terry J Daichendt wrote:
I'm pasting this code from the example at php.net and getting these
errors. Can anyone determine what I'm doing wrong?
page 2';
// Or maybe pass along the session id, if needed
echo 'page 2';
?>
Well, this is weird. When I copied your t
On Thu, Sep 18, 2008 at 5:35 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:
> You can't upgrade PHP?
>
> Thank you,
> Micah Gersten
> onShore Networks
> Internal Developer
> http://www.onshore.com
>
>
>
> Dan Joseph wrote:
> > On Thu, Sep 18, 2008 at 4:35 PM, Micah Gersten <[EMAIL PROTECTED]>
> wrot
各位好.
XHTML 移动概要 (XHTML MP) / WAP 2.0 教程:
http://www.phparch.cn/index.php/web/66-mobile/188
正在编写中,已完成部分已加链接。
欢迎大家多提意见或建议并留下你的想法供大家交流。
谢谢。
--
With best regards,
Shelley Shyan
http://phparch.cn
Terry J Daichendt wrote:
> You have a real attitude problem, please don't bother with me again.
>
>
> "Jochem Maas" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Terry J Daichendt schreef:
>>> I'm pasting this code from the example at php.net and getting these
>>
>> which examp
Si, puedes tener espacio en blanco delante de session_start(), pero no
puedes tener espacio delante de 'http://www.onshore.com
CanihoJR wrote:
> No puedes tener ningun espacio en blanco delante de session_start();
>
> Sorry for my english:
> you cant have any blank spaccing before SESSION_START(
You have a real attitude problem, please don't bother with me again.
"Jochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Terry J Daichendt schreef:
I'm pasting this code from the example at php.net and getting these
which example might that be, with 1000's of built in
Andrew Barnett schreef:
It sounds like there is a space or output before the
a blank space before the
Andrew
2008/9/19 CanihoJR <[EMAIL PROTECTED]>:
No puedes tener ningun espacio en blanco delante de session_start();
Sorry for my english:
you cant have any blank spaccing before SESSION_STA
Terry J Daichendt schreef:
I'm pasting this code from the example at php.net and getting these
which example might that be, with 1000's of built in functions you
can imagine there is probably more than one.
errors. Can anyone determine what I'm doing wrong?
yes. but can your read? the erro
It sounds like there is a space or output before the :
> No puedes tener ningun espacio en blanco delante de session_start();
>
> Sorry for my english:
> you cant have any blank spaccing before SESSION_START()
>
>
> Prueba:
> TRY:
>
> session_start();
>
> echo 'Welcome to page #1';
>
> $_SESSION['
No puedes tener ningun espacio en blanco delante de session_start();
Sorry for my english:
you cant have any blank spaccing before SESSION_START()
Prueba:
TRY:
page 2';
// Or maybe pass along the session id, if needed
echo 'page 2';
?>
I'm pasting this code from the example at php.net and getting these errors.
Can anyone determine what I'm doing wrong?
page 2';
// Or maybe pass along the session id, if needed
echo 'page 2';
?>
Warning: session_start() [function.session-start]: Cannot send session
cookie - headers already s
You can't upgrade PHP?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Dan Joseph wrote:
> On Thu, Sep 18, 2008 at 4:35 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:
>
>
>> If you need abstraction, check this out:
>> http://us.php.net/pdo
>>
>> Thank you,
>
On Thu, Sep 18, 2008 at 4:35 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:
> If you need abstraction, check this out:
> http://us.php.net/pdo
>
> Thank you,
> Micah Gersten
> onShore Networks
> Internal Developer
> http://www.onshore.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To
If you need abstraction, check this out:
http://us.php.net/pdo
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Dan Joseph wrote:
> On Thu, Sep 18, 2008 at 3:36 PM, Dan Shirah <[EMAIL PROTECTED]> wrote:
>
>
>> If you already have your results in an array, t
On Thu, Sep 18, 2008 at 3:36 PM, Dan Shirah <[EMAIL PROTECTED]> wrote:
>
> If you already have your results in an array, try using count($result);
> That should count the number of results returned to your result array.
>
> Or you could try uncommenting the mssql extension in your php.ini file and
On 9/18/08, Dan Joseph <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Anyone else using the odbc_* functions to interact with MS SQL Server 2005?
>
> I'm having a problem getting odbc_num_rows() to return anything other than
> -1 when querying a stored procedure. I can get it to work using Top in a
> norma
On Thu, 2008-09-18 at 15:30 -0400, Eric Butera wrote:
> On Thu, Sep 18, 2008 at 3:28 PM, Ashley Sheridan
> <[EMAIL PROTECTED]> wrote:
> > On Thu, 2008-09-18 at 15:20 -0400, Eric Butera wrote:
> >> On Thu, Sep 18, 2008 at 3:15 PM, Ashley Sheridan
> >> <[EMAIL PROTECTED]> wrote:
> >> > Hi All,
> >>
On Thu, Sep 18, 2008 at 3:28 PM, Ashley Sheridan
<[EMAIL PROTECTED]> wrote:
> On Thu, 2008-09-18 at 15:20 -0400, Eric Butera wrote:
>> On Thu, Sep 18, 2008 at 3:15 PM, Ashley Sheridan
>> <[EMAIL PROTECTED]> wrote:
>> > Hi All,
>> >
>> > I'm not sure if this is possible, but basically I was wonderin
On Thu, 2008-09-18 at 15:20 -0400, Eric Butera wrote:
> On Thu, Sep 18, 2008 at 3:15 PM, Ashley Sheridan
> <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I'm not sure if this is possible, but basically I was wondering if
> > anyone had any experience with using PHP to read/deconstruct a PDF file.
>
On Thu, Sep 18, 2008 at 3:15 PM, Ashley Sheridan
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm not sure if this is possible, but basically I was wondering if
> anyone had any experience with using PHP to read/deconstruct a PDF file.
>
> I'm asking because a system I built at work is being used by a
Hi All,
I'm not sure if this is possible, but basically I was wondering if
anyone had any experience with using PHP to read/deconstruct a PDF file.
I'm asking because a system I built at work is being used by a complete
computer illiterate. Even after careful step-by-step instruction, she
still k
Christoph Boget schreef:
Perhaps I'm misunderstanding what a static method variable is supposed
to do. I thought the value would be static for an class' instance but
it appears it is static across all instances of the class. Consider:
class StaticTest
{
public function __construct()
{
}
Thanks all, I appreciate the follow ups and the help with the code. I'm
still relatively new with this stuff, and never had any formal training,
it's all just been learn as I go, and I have to learn fast as this project
is relatively urgent to get completed. I plan on going through all of my
co
Stut wrote:
On 18 Sep 2008, at 16:37, David Rocks wrote:
Stut wrote:
On 18 Sep 2008, at 05:57, David Rocks wrote:
I am running a test PHP web app on my local machine that uses
REMOTE_ADDR and most of the time ::1 is returned as the IP addr and
sometimes it is 127.0.0.1 . I am on OS X 10.5
Actually Stut pointed out that I was calling both dimmensions when my sorry
butt should only have been referencing the second one.
I had everything over expanded so I could see where the code was breaking.
Thank you everyone for the help! That was fantastic!
Frank
""Frank Stanovcak"" <[EMAIL PRO
I prefer the htmlentities because it allows me to edit the real code, not an
edited form of the code. All the <> still appear.
On Tue, Sep 16, 2008 at 9:41 AM, TQ White II <[EMAIL PROTECTED]> wrote:
>
> I add str_replace('textarea', 'textareaHIDE', ... to the display code and
> the reverse to the
Frank Stanovcak wrote:
> I am trying to pass a multi dimmed array as a variable parameter to a custom
> function to build a query for me. Here is the basic code and what I am
> getting.
>
> $WhereList[0][0] = 'OESalesOrder.OrderNo';
> $WhereList[0][1] = '=';
> $WhereList[0][2] = '2272';
> $SQLS
This would be a little neater:
foreach(func_get_arg(2) as $k => $WhereArray) {
//echo $WhereArray[0][0];
$SQLStmt .= ' ' . $WhereArray[0] . ' ' . $WhereArray[1] . ' ' .
$WhereArray[2];
if($k != 0) $SQLStmt .=' ' . $WhereArray[3];
};
Simcha Younger
-Original Message-
F
On 18 Sep 2008, at 16:37, David Rocks wrote:
Stut wrote:
On 18 Sep 2008, at 05:57, David Rocks wrote:
I am running a test PHP web app on my local machine that uses
REMOTE_ADDR and most of the time ::1 is returned as the IP addr
and sometimes it is 127.0.0.1 . I am on OS X 10.5.5 and using
Stut wrote:
On 18 Sep 2008, at 05:57, David Rocks wrote:
I am running a test PHP web app on my local machine that uses
REMOTE_ADDR and most of the time ::1 is returned as the IP addr and
sometimes it is 127.0.0.1 . I am on OS X 10.5.5 and using APACHE 2.
PHPINFO always returns ::1 for REMOTE
thanks for all your input.
unfortunately, i cannot set up a new database as it is being used by other
applications/websites.
the versions of odbc, php and apache are all the same...
please do let me know if you have any other suggestions!
thanks
On Wed, Sep 17, 2008 at 5:48 PM, Chris <[EMAIL PRO
On 18 Sep 2008, at 16:29, Frank Stanovcak wrote:
I am trying to pass a multi dimmed array as a variable parameter to
a custom
function to build a query for me. Here is the basic code and what
I am
getting.
$WhereList[0][0] = 'OESalesOrder.OrderNo';
$WhereList[0][1] = '=';
$WhereList[0][2] =
On Sep 17, 2008, at 957PM, David Rocks wrote:
I am running a test PHP web app on my local machine that uses
REMOTE_ADDR and most of the time ::1 is returned as the IP addr and
sometimes it is 127.0.0.1 . I am on OS X 10.5.5 and using APACHE 2.
PHPINFO always returns ::1 for REMOTE_ADDR. I
I am trying to pass a multi dimmed array as a variable parameter to a custom
function to build a query for me. Here is the basic code and what I am
getting.
$WhereList[0][0] = 'OESalesOrder.OrderNo';
$WhereList[0][1] = '=';
$WhereList[0][2] = '2272';
$SQLString = SQLCall('OESalesOrder',$FieldLi
On 18 Sep 2008, at 05:57, David Rocks wrote:
I am running a test PHP web app on my local machine that uses
REMOTE_ADDR and most of the time ::1 is returned as the IP addr and
sometimes it is 127.0.0.1 . I am on OS X 10.5.5 and using APACHE 2.
PHPINFO always returns ::1 for REMOTE_ADDR. Is
If you're looking for a persistent variable in one class instance, then
you need a member variable. If you want it persistent across all class
instances, you want a static variable.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Christoph Boget wrote:
> Per
I am running a test PHP web app on my local machine that uses
REMOTE_ADDR and most of the time ::1 is returned as the IP addr and
sometimes it is 127.0.0.1 . I am on OS X 10.5.5 and using APACHE 2.
PHPINFO always returns ::1 for REMOTE_ADDR. Is this a PHP or a APACHE 2
thing?
--
PHP General
On Thu, Sep 18, 2008 at 2:09 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> Lupus Michaelis wrote:
>
>> Richard Heyes a écrit :
>>
>>> New domain name extensions can be accounted for easily, eg:
>>>
>>> \.(?:[a-z]){2,4}
>>
>>It excludes .museum tld.
>
> Don't make assumptions about which TLDs that
Christoph Boget schrieb:
Perhaps I'm misunderstanding what a static method variable is supposed
to do. I thought the value would be static for an class' instance but
it appears it is static across all instances of the class. Consider:
class StaticTest
{
public function __construct()
{
}
Quoting Christoph Boget <[EMAIL PROTECTED]>:
Perhaps I'm misunderstanding what a static method variable is supposed
to do. I thought the value would be static for an class' instance but
it appears it is static across all instances of the class. Consider:
class StaticTest
{
public function _
Perhaps I'm misunderstanding what a static method variable is supposed
to do. I thought the value would be static for an class' instance but
it appears it is static across all instances of the class. Consider:
class StaticTest
{
public function __construct()
{
}
public function test( $n
Hi,
Anyone else using the odbc_* functions to interact with MS SQL Server 2005?
I'm having a problem getting odbc_num_rows() to return anything other than
-1 when querying a stored procedure. I can get it to work using Top in a
normal query (non-stored procedure).
SELECT Top 100 * FROM Tabl
Luke wrote:
>so it's like Microsoft Access? I don't get it...
No, Microsoft Access is a development environment sitting on top of a
simplistic database (JET). Access gives you a nice GUI to help you
interactively build up your database, and it makes a great prototyping
tool and data massage tool,
so it's like Microsoft Access? I don't get it...
2008/9/18 Ross McKay <[EMAIL PROTECTED]>
> Bastien Koert wrote:
>
> >what about dia on llinux? Not quite as nice as visio...but livable
>
> The Enterprise Architect version of Visio lets you add column
> definitions to your entities, add foreign ke
Stut wrote:
Or better, the MX record... :)
An MX record is not required to accept email for a domain. The relevant
RFC (can't recall the number right now) states that it should fall back
to using the A record if no MX record is present.
Excellent. That's my "new thing" learned for the day.
On 18 Sep 2008, at 09:44, Colin Guthrie wrote:
Per Jessen wrote:
Lupus Michaelis wrote:
Richard Heyes a écrit :
New domain name extensions can be accounted for easily, eg:
\.(?:[a-z]){2,4}
It excludes .museum tld.
Don't make assumptions about which TLDs that are or are not allowed -
the
Per Jessen wrote:
Lupus Michaelis wrote:
Richard Heyes a écrit :
New domain name extensions can be accounted for easily, eg:
\.(?:[a-z]){2,4}
It excludes .museum tld.
Don't make assumptions about which TLDs that are or are not allowed -
the domain part of an email address could be vali
Nathan Rixham wrote:
Atom and RSS are completely different; the only similarities lie in
the fact they are both XML, and both used frequently for syndicating
news.
Really? OK, back to the books, thanks
You need an atom parser; or just load the feed into DOMDocument..
SimplePie and RssPhp are
49 matches
Mail list logo