RE: [PHP] Need help Wth PHP

2011-10-10 Thread Rod Lindgren
I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
> Thanks for the link. I am now wondering if Wordpress is available on my
> server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Need help Wth PHP

2011-10-10 Thread Lester Caine

Rod Lindgren wrote:

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page.


On the original host, there would be a mysql database in addition to the 
'website' and it is that which you need to copy over. This is where it gets fun 
as there is no one way of doing it and it depends on the hosts way of providing 
mysql databases :(


( I don't use mysql at all myself, but someone should be able to direct you to 
the right way of doing it )


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Need help Wth PHP

2011-10-10 Thread Jeffrin Jose
there is a file called wp-config.h  in wordpress files mostly located 
in the source parent there you can see the database name , username
and password. that file also may contain the site url. This way you may
be able to identify the database from the original site. 

If you do not have wordpress in your new server you may be able
to install it using cpanel application..


 
software engineer
department of computer science
Rajagiri school of engineering and technology.


>
>From: Rod Lindgren 
>To: 'Lester Caine' ; php-general@lists.php.net
>Sent: Monday, 10 October 2011 1:37 PM
>Subject: RE: [PHP] Need help Wth PHP
>
>I was able to install Wordpress, but how do I identify the database from the
>original site? Do I need to change some settings in it somewhere with the
>authorizations from the new install on the new server? Right now, if you go
>to the website, a generic page created by the install comes up. I seem to
>have lost the original page. 
>
>Thanks,
>Rod
>
>-Original Message-
>From: Lester Caine [mailto:les...@lsces.co.uk] 
>Sent: Sunday, October 09, 2011 11:31 PM
>To: php-general@lists.php.net
>Subject: Re: [PHP] Need help Wth PHP
>
>Rod Lindgren wrote:
>> Thanks for the link. I am now wondering if Wordpress is available on my
>> server.
>If it's not, you can add it yourself in much the same way you uploaded the 
>'profile' for the wordpress site ... http://wordpress.org/download/
>Essentially it is just another PHP application, but you do need the database
>
>that goes with the original site.
>
>-- 
>Lester Caine - G8HFL
>-
>Contact - http://lsces.co.uk/wiki/?page=contact
>L.S.Caine Electronic Services - http://lsces.co.uk
>EnquirySolve - http://enquirysolve.com/
>Model Engineers Digital Workshop - http://medw.co.uk//
>Firebird - http://www.firebirdsql.org/index.php
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>-
>No virus found in this message.
>Checked by AVG - www.avg.com
>Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
>-
>No virus found in this message.
>Checked by AVG - www.avg.com
>Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
>-
>No virus found in this message.
>Checked by AVG - www.avg.com
>Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>

Re: [PHP] Server Side Include translator as PHP functions

2011-10-10 Thread Tedd Sperling
On Oct 9, 2011, at 7:43 PM, Tommy Pham wrote:

> On Sun, Oct 9, 2011 at 8:41 AM, Complex  wrote:
> 
>> Tedd,
>> 
>> The crucial detail you're lookign for is my lack of choice or control
>> in the matter, for all sorts of reasons that are actually quite stupid
>> but not possible for *me* to change, and not possible for anyone else
>> to change quickly. Thus I am looking for a solution to the problem at
>> hand, instead of a suggestion for what the entire org should be doing
>> instead. I know what they should be doing instead, but that's not my
>> decision. It's not like I'm building a new website this way; I'm
>> trying to move forwards with an existing and large website. The more
>> different code-bases we have for different parts of the site, the
>> harder it will be to actually change to something else (PHP-based, I
>> pray).
>> 
>> 
> At the time when I was working with ASP and SSI, I suggested my client to
> better rewrite the application in OOP language then do patchworks.  But he
> _insisted_ on keeping existing code base.  So I did patchworks here and
> there.  It got to the point where he finally wanted some additional features
> much later that it was impossible to do with ASP and SSI.  It was then that
> he finally decided to go with my suggestions, which is months later.  During
> that time, I could have easily rewritten the application in PHP.  That's why
> I suggested you to consider the site's function and features.  It maybe just
> one thing that the client/boss wants now, then another, and another...
> etc...  Eventually, you're going to through the same thing I did.
> 
> Good luck,
> Tommy

Not me.

I pick and choose my clients based upon several things -- one is their ability 
to fully understand what they want. And if what they want exceeds their 
understanding and thus my comfort level, then I walk.

Live is too short to work for ignorant people. Realize that if they don't 
understand the job, then they won't appreciate the effort, and you won't be 
paid as you should.

Several years ago, one guy asked me how much do I charge. At that time I said 
"$50 per hour" He replied "I've never paid more than $25 per hour -- would you 
consider working for that?" I replied "Sure, but it's going to take me twice as 
long to get anything done." Needless to say, I didn't get hired.

A year later he returned and we had the identical conversation again. It was 
clear that he didn't like the programmers he hired at $25 per hour, but he 
continued looking.

In addition to failing to get what he wanted, he didn't realized that his time 
is also worth something and he was wasting it by measuring programmers by a 
single metric. Some clients are simply not worth the effort and that's my point.

Cheers,

tedd

_
t...@sperling.com
http://sperling.com


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Need help Wth PHP

2011-10-10 Thread Jen Rasmussen
If I remember this correctly ... 

The database information can be setup/modified only with the
install/reinstall. 
If the DB's are moving to a new server, You have to copy out the databases
directly from the DB manager and then do a fresh install of WP. 
You should also copy out any custom theme css .. 

When you go through the installation process, you can specify your new DB
access info and then once installed and theme selected, 
copy in the archived CSS from the old install. It's a bit tricky. 

I'm trying to direct you to the correct process based on memory from when
I've had to do in the past,
so apologies if it's a bit spotty but it is definitely more of a manual than
automated process.

1. Backup DB's directly from old DB manager (i.e. MySQL or other)
2. Archive custom theme css if applied
3. Export posts from old WP install admin as a safety measure 
4. New install of WP at new URL 
4. Specify new server DB access info and new WP and site URL's during new
install
5. Apply appropriate theme and update any custom css with archived css from
old install.

I hope that helps... not saying this is the only way if there is other
advice to be offered, but this is what has worked for me. 

Jen


-Original Message-
From: Rod Lindgren [mailto:r...@okinawa-te.info] 
Sent: Monday, October 10, 2011 3:08 AM
To: 'Lester Caine'; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
> Thanks for the link. I am now wondering if Wordpress is available on my
> server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Need help Wth PHP

2011-10-10 Thread Jen Rasmussen
Ok, scratch "the db info can only be setup/modified with
install/reinstall"..
Forgot about wp-config.php ...doh!

Otherwise, you still need to backup the DBs from old server manually and
move them
to the new DB manager. I believe I did a fresh install because you also have
to update the URL settings in WP admin and I think I just found it easier
and less confusing
to do it the way I recommended.

Whoops ..good luck! 
Jen


-Original Message-
From: Jen Rasmussen [mailto:j...@cetaceasound.com] 
Sent: Monday, October 10, 2011 8:32 AM
To: r...@okinawa-te.info; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

If I remember this correctly ... 

The database information can be setup/modified only with the
install/reinstall. 
If the DB's are moving to a new server, You have to copy out the databases
directly from the DB manager and then do a fresh install of WP. 
You should also copy out any custom theme css .. 

When you go through the installation process, you can specify your new DB
access info and then once installed and theme selected, 
copy in the archived CSS from the old install. It's a bit tricky. 

I'm trying to direct you to the correct process based on memory from when
I've had to do in the past,
so apologies if it's a bit spotty but it is definitely more of a manual than
automated process.

1. Backup DB's directly from old DB manager (i.e. MySQL or other)
2. Archive custom theme css if applied
3. Export posts from old WP install admin as a safety measure 
4. New install of WP at new URL 
4. Specify new server DB access info and new WP and site URL's during new
install
5. Apply appropriate theme and update any custom css with archived css from
old install.

I hope that helps... not saying this is the only way if there is other
advice to be offered, but this is what has worked for me. 

Jen


-Original Message-
From: Rod Lindgren [mailto:r...@okinawa-te.info] 
Sent: Monday, October 10, 2011 3:08 AM
To: 'Lester Caine'; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
> Thanks for the link. I am now wondering if Wordpress is available on my
> server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Server Side Include translator as PHP functions

2011-10-10 Thread Complex
Ah, well, thanks for the job advice, guys. I'll go looking elsewhere
for possible PHP solutions. Or, failing that, continue the build up to
actually being able to replace all of this with a company-wide (and
hopefully PHP-based) solution.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Multiple SQLite statements

2011-10-10 Thread Tim Streater
I would like to use the SQLite3 (not PDO) interface to SQLite, and I would like 
to be able to supply a string containing several SQL statements and have them 
all executed, thus saving the overhead of several calls. It *appears* that this 
may be how it actually works, but I wondered if anyone could confirm that.

--
Cheers  --  Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Please unsubscribe

2011-10-10 Thread Joao Coelho
I have been sending emails to this list to unsubscribe and i still receive 
emails.

CONFIDENTIALITY NOTICE: This communication with its contents may contain 
confidential and/or legally privileged information. It is solely for the use of 
the intended recipient(s). Unauthorized interception, review, use or disclosure 
is prohibited and may violate applicable laws including the Electronic 
Communications Privacy Act. If you are not the intended recipient, please 
contact the sender and destroy all copies of the communication.


[PHP] Oi , Portas/ Hello, Ports

2011-10-10 Thread QI.VOLMAR QI
Alguem sabe se, e como eu posso trabalhar com as portas do computador com
php no windows?

Do someone know if, and how, I could work with Computer logical ports with
PHP on Windows?

ex: shell_exec('cat /dev/usbmon0 | hexdump'); <- Linux


Re: [PHP] Please unsubscribe

2011-10-10 Thread Jim Lucas
On 10/10/2011 8:26 AM, Joao Coelho wrote:
> I have been sending emails to this list to unsubscribe and i still receive 
> emails.
> 

To unsubscribe, visit: http://www.php.net/unsub.php



-- 
Jim Lucas

http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/

C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Oi , Portas/ Hello, Ports

2011-10-10 Thread Jim Giner

""QI.VOLMAR QI""  wrote in message 
news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com...
> Alguem sabe se, e como eu posso trabalhar com as portas do computador com
> php no windows?
>
> Do someone know if, and how, I could work with Computer logical ports with
> PHP on Windows?
>
> ex: shell_exec('cat /dev/usbmon0 | hexdump'); <- Linux
>

If you mean "use php to interrogate a port" I would think the answer is No. 
Computer port=client; PHP=server. 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Oi , Portas/ Hello, Ports

2011-10-10 Thread Ashley Sheridan


Jim Giner  wrote:

>
>""QI.VOLMAR QI""  wrote in message
>news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com...
>> Alguem sabe se, e como eu posso trabalhar com as portas do computador
>com
>> php no windows?
>>
>> Do someone know if, and how, I could work with Computer logical ports
>with
>> PHP on Windows?
>>
>> ex: shell_exec('cat /dev/usbmon0 | hexdump'); <- Linux
>>
>
>If you mean "use php to interrogate a port" I would think the answer is
>No.
>Computer port=client; PHP=server.
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

You can if the port is a server port, i.e. you're creating a daemon. But, if it 
is the client machine you wish to inspect, then as Jim mentioned, PHP is not 
for you and something like java may be better suited, although I'm not sure how 
much power an applet has in this area.

Thanks,
Ash
http://www.ashleysheridan.co.uk
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Decoding Barcode Images

2011-10-10 Thread Floyd Resler
I've been trying to find a solution for decoding barcode images in PHP but 
haven't had much luck so far.  Does anyone have any suggestions?

Thanks!
Floyd


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Decoding Barcode Images

2011-10-10 Thread Jason Pruim

Jason Pruim
li...@pruimphotography.com



On Oct 10, 2011, at 2:42 PM, Floyd Resler wrote:

> I've been trying to find a solution for decoding barcode images in PHP but 
> haven't had much luck so far.  Does anyone have any suggestions?
> 
> Thanks!
> Floyd


Hi Floyd,

What kind of barcodes are you wanting to work with? 2D? Postnet? IMB? QRCodes?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Decoding Barcode Images

2011-10-10 Thread Matthew Pounsett

On 2011-10-10, at 14:42, Floyd Resler wrote:

> I've been trying to find a solution for decoding barcode images in PHP but 
> haven't had much luck so far.  Does anyone have any suggestions?

I'm not familiar with a way to do it directly in PHP, but you could shell out 
to something like zbar to do it.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Decoding Barcode Images

2011-10-10 Thread Shaun J. Farrell
zxing has a java commandline app that you can run.. simple to use great results.

http://code.google.com/p/zxing/

Shaun
www.brewerydb.com

On Oct 10, 2011, at 2:47 PM, Matthew Pounsett wrote:

> 
> On 2011-10-10, at 14:42, Floyd Resler wrote:
> 
>> I've been trying to find a solution for decoding barcode images in PHP but 
>> haven't had much luck so far.  Does anyone have any suggestions?
> 
> I'm not familiar with a way to do it directly in PHP, but you could shell out 
> to something like zbar to do it.
> 
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Decoding Barcode Images

2011-10-10 Thread Floyd Resler

On Oct 10, 2011, at 3:54 PM, Shaun J. Farrell wrote:

> zxing has a java commandline app that you can run.. simple to use great 
> results.
> 
> http://code.google.com/p/zxing/
> 
> Shaun
> www.brewerydb.com
> 
> On Oct 10, 2011, at 2:47 PM, Matthew Pounsett wrote:
> 
>> 
>> On 2011-10-10, at 14:42, Floyd Resler wrote:
>> 
>>> I've been trying to find a solution for decoding barcode images in PHP but 
>>> haven't had much luck so far.  Does anyone have any suggestions?
>> 
>> I'm not familiar with a way to do it directly in PHP, but you could shell 
>> out to something like zbar to do it.
>> 
>> 
>> 
>> 

Thanks for pointing out zxing!  It seems to work great except it doesn't like 
my PDF-417 barcode.  A little tweaking on my end should get it to work.

Thanks!
Floyd



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: Re: [PHP] Re: Oi , Portas/ Hello, Ports

2011-10-10 Thread Tim Streater
On 10 Oct 2011 at 19:30, Ashley Sheridan  wrote: 

> Jim Giner  wrote:
>
>>
>> ""QI.VOLMAR QI""  wrote in message
>> news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com...
>>> Alguem sabe se, e como eu posso trabalhar com as portas do computador
>> com
>>> php no windows?
>>>
>>> Do someone know if, and how, I could work with Computer logical ports
>> with
>>> PHP on Windows?
>>>
>>> ex: shell_exec('cat /dev/usbmon0 | hexdump'); <- Linux
>>>
>>
>> If you mean "use php to interrogate a port" I would think the answer is
>> No.
>> Computer port=client; PHP=server.

> You can if the port is a server port, i.e. you're creating a daemon.. But, if
> it is the client machine you wish to inspect, then as Jim mentioned, PHP is
> not for you and something like java may be better suited, although I'm not
> sure how much power an applet has in this area.

Nothing wrong with using PHP client-side, I run plenty of PHP scripts that way.

--
Cheers  --  Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Re: Oi , Portas/ Hello, Ports

2011-10-10 Thread Ashley Sheridan
On Mon, 2011-10-10 at 22:15 +0100, Tim Streater wrote:

> On 10 Oct 2011 at 19:30, Ashley Sheridan  wrote: 
> 
> > Jim Giner  wrote:
> >
> >>
> >> ""QI.VOLMAR QI""  wrote in message
> >> news:cab7l6ey9rkfwtmprpe0fk3doo5s1c5jyhpnbt5rjj0f_eb5...@mail.gmail.com...
> >>> Alguem sabe se, e como eu posso trabalhar com as portas do computador
> >> com
> >>> php no windows?
> >>>
> >>> Do someone know if, and how, I could work with Computer logical ports
> >> with
> >>> PHP on Windows?
> >>>
> >>> ex: shell_exec('cat /dev/usbmon0 | hexdump'); <- Linux
> >>>
> >>
> >> If you mean "use php to interrogate a port" I would think the answer is
> >> No.
> >> Computer port=client; PHP=server.
> 
> > You can if the port is a server port, i.e. you're creating a daemon.. But, 
> > if
> > it is the client machine you wish to inspect, then as Jim mentioned, PHP is
> > not for you and something like java may be better suited, although I'm not
> > sure how much power an applet has in this area.
> 
> Nothing wrong with using PHP client-side, I run plenty of PHP scripts that 
> way.
> 
> --
> Cheers  --  Tim
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


Yes, but it's then behaving as a daemon. What you can't do is have the
script running on a client as if it were a plugin on a website which is
what I thought Jim was getting at.

-- 
Thanks,
Ash
http://www.ashleysheridan.co.uk




RE: [PHP] Need help Wth PHP

2011-10-10 Thread Rod Lindgren
Thanks for the info. Very helpful. I am working on it. 

What is it that makes Wordpress valuable? The website in question is really
pretty basic. I am trying to figure out the reason Wordpress was used. 

Rod

-Original Message-
From: Jen Rasmussen [mailto:j...@cetaceasound.com] 
Sent: Monday, October 10, 2011 6:37 AM
To: r...@okinawa-te.info; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

Ok, scratch "the db info can only be setup/modified with
install/reinstall"..
Forgot about wp-config.php ...doh!

Otherwise, you still need to backup the DBs from old server manually and
move them
to the new DB manager. I believe I did a fresh install because you also have
to update the URL settings in WP admin and I think I just found it easier
and less confusing
to do it the way I recommended.

Whoops ..good luck! 
Jen


-Original Message-
From: Jen Rasmussen [mailto:j...@cetaceasound.com] 
Sent: Monday, October 10, 2011 8:32 AM
To: r...@okinawa-te.info; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

If I remember this correctly ... 

The database information can be setup/modified only with the
install/reinstall. 
If the DB's are moving to a new server, You have to copy out the databases
directly from the DB manager and then do a fresh install of WP. 
You should also copy out any custom theme css .. 

When you go through the installation process, you can specify your new DB
access info and then once installed and theme selected, 
copy in the archived CSS from the old install. It's a bit tricky. 

I'm trying to direct you to the correct process based on memory from when
I've had to do in the past,
so apologies if it's a bit spotty but it is definitely more of a manual than
automated process.

1. Backup DB's directly from old DB manager (i.e. MySQL or other)
2. Archive custom theme css if applied
3. Export posts from old WP install admin as a safety measure 
4. New install of WP at new URL 
4. Specify new server DB access info and new WP and site URL's during new
install
5. Apply appropriate theme and update any custom css with archived css from
old install.

I hope that helps... not saying this is the only way if there is other
advice to be offered, but this is what has worked for me. 

Jen


-Original Message-
From: Rod Lindgren [mailto:r...@okinawa-te.info] 
Sent: Monday, October 10, 2011 3:08 AM
To: 'Lester Caine'; php-general@lists.php.net
Subject: RE: [PHP] Need help Wth PHP

I was able to install Wordpress, but how do I identify the database from the
original site? Do I need to change some settings in it somewhere with the
authorizations from the new install on the new server? Right now, if you go
to the website, a generic page created by the install comes up. I seem to
have lost the original page. 

Thanks,
Rod

-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk] 
Sent: Sunday, October 09, 2011 11:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

Rod Lindgren wrote:
> Thanks for the link. I am now wondering if Wordpress is available on my
> server.
If it's not, you can add it yourself in much the same way you uploaded the 
'profile' for the wordpress site ... http://wordpress.org/download/
Essentially it is just another PHP application, but you do need the database

that goes with the original site.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww

Re: [PHP] Need help Wth PHP

2011-10-10 Thread Paul M Foster
On Mon, Oct 10, 2011 at 03:58:31PM -0700, Rod Lindgren wrote:

> Thanks for the info. Very helpful. I am working on it. 
> 
> What is it that makes Wordpress valuable? The website in question is really
> pretty basic. I am trying to figure out the reason Wordpress was used. 

It allows the site owner to directly modify the site, without having to
call a programmer or web developer.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Multiple SQLite statements

2011-10-10 Thread Paul M Foster
On Mon, Oct 10, 2011 at 04:14:00PM +0100, Tim Streater wrote:

> I would like to use the SQLite3 (not PDO) interface to SQLite, and I
> would like to be able to supply a string containing several SQL
> statements and have them all executed, thus saving the overhead of
> several calls. It *appears* that this may be how it actually works,
> but I wondered if anyone could confirm that.
 
 --
 Cheers  --  Tim
> 

The docs appear to agree that this is allowed. See:

http://us.php.net/manual/en/function.sqlite-exec.php

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Need help Wth PHP

2011-10-10 Thread Rod Lindgren
I see. There are other ways to do this. If I knew how it works, maybe I
could get this site working. I am missing some essential concept here.

-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com] 
Sent: Monday, October 10, 2011 7:00 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Need help Wth PHP

On Mon, Oct 10, 2011 at 03:58:31PM -0700, Rod Lindgren wrote:

> Thanks for the info. Very helpful. I am working on it. 
> 
> What is it that makes Wordpress valuable? The website in question is
really
> pretty basic. I am trying to figure out the reason Wordpress was used. 

It allows the site owner to directly modify the site, without having to
call a programmer or web developer.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Please unsubscribe

2011-10-10 Thread Sharl.Jimh.Tsin
在 2011-10-10一的 08:26 -0700,Joao Coelho写道:
> I have been sending emails to this list to unsubscribe and i still receive 
> emails.
> 
> CONFIDENTIALITY NOTICE: This communication with its contents may contain 
> confidential and/or legally privileged information. It is solely for the use 
> of the intended recipient(s). Unauthorized interception, review, use or 
> disclosure is prohibited and may violate applicable laws including the 
> Electronic Communications Privacy Act. If you are not the intended recipient, 
> please contact the sender and destroy all copies of the communication.

just confirm it.

>>A request has been entered into the mailing list processing queue. You
>>should receive an email at joao.coe...@doj.ca.gov shortly describing
>>how to complete your request. 

-- 
Best regards,
Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**)

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?10073.


signature.asc
Description: This is a digitally signed message part


Re: [PHP] Need help Wth PHP

2011-10-10 Thread Govinda
> I see. There are other ways to do this. If I knew how it works, maybe I
> could get this site working. I am missing some essential concept here.

Rod, 

this list is about/using PHP especially.  There are better lists/forums for 
getting help with frameworks built from PHP, like e.g. wordpress.
I think you are just going to have to start from the beginning and learn 
wordpress as if from scratch, if you choose to stay in that environment.  As 
you study, you'll breeze through where you already know.. and discover (more 
slowly) where are the holes in your understanding, that you need.

Besides finding a suitable forum/list, just doing searches on Google will 
undoubtedly yield the answers you want, too.

-Govinda


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] OpenSSL PKCS12 Exporting

2011-10-10 Thread Justin Kaufman
Greetings, 
I'm having some trouble with exporting pkcs12 certs; I can't seem to find a way 
to add the CA certificate to the file. I've tried concatenating the signed cert 
and the CA cert in PEM format and feeding it to openssl_pkcs12_export(), but 
it's only reading the first certificate in the string. I tried searching, but 
couldn't find much info on the subject; so I'm hoping someone more experienced 
than I can point me in the right direction. Thanks in advance!

Best regards,


Justin Kaufman
jlkauf...@me.com




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php