At 7:26 PM +0200 4/18/10, Michiel Sikma wrote:
On 17 April 2010 13:03, Paulo-WORK pauloworkm...@googlemail.com wrote:
I have reached a solution for my problem with js.
Following all the sugestions and using jquery turned out to be quite
simple.
using .hide( ) and .show( ) i am able to
On 17 April 2010 13:03, Paulo-WORK pauloworkm...@googlemail.com wrote:
I have reached a solution for my problem with js.
Following all the sugestions and using jquery turned out to be quite
simple.
using .hide( ) and .show( ) i am able to change the #div with Js enabled
content and no js.
I have reached a solution for my problem with js.
Following all the sugestions and using jquery turned out to be quite simple.
using .ide( ) and .show( ) i am able to change the #div with Js enabled
content and no js.
So defining with css for example:
#main{display:none;}
Paulo-WORK wrote:
I have reached a solution for my problem with js.
Following all the sugestions and using jquery turned out to be quite
simple.
using .ide( ) and .show( ) i am able to change the #div with Js enabled
content and no js.
So defining with css for example:
#main{display:none;}
At 6:04 PM -0400 4/12/10, Gary wrote:
For those that were looking to see a solution, this is what I have come up
with. It was pointed out on another board (MySQL) that inserting multiple
in one script is probably prohibited because of security reasons.
What I did was open the connection,
Tedd
I had four tables. name, (fname, lname) address(street, town, state, zip),
contact(phone, fax, email), comments (comments).
It was done this way because it is strictly a learning exercise. I had
never created a DB with multiple tables, so I wanted to be able to contruct
one using
tedd wrote:
I don't see any reason to separate the attributes of the person into two
different tables. Why do that?
tedd,
Funny you ask this. I have always thought the same thing. Then just last week
I started listing to the Zend Dev Zone podcasts. I came across this one and
thought it
At 12:26 PM -0400 4/13/10, Gary wrote:
Tedd
I had four tables. name, (fname, lname) address(street, town, state, zip),
contact(phone, fax, email), comments (comments).
It was done this way because it is strictly a learning exercise. I had
never created a DB with multiple tables, so I wanted
Karl
Thanks for the reply, I copied your code and it did not work, tried a few
variations and same result.
Gary
Karl DeSaulniers k...@designdrumm.com wrote in message
news:e56be001-63f6-4df1-8c72-ad468c23e...@designdrumm.com...
Hey Gary, instead try something like this maybe?
On Tue, Apr 13, 2010 at 2:50 PM, tedd tedd.sperl...@gmail.com wrote:
For example, a user has name, address, height, weight, color, language, etc.
Those things can be listed in a single table.
And now for the universal DBA answer - it depends. There are cases
where that information needs to be
Karl DeSaulniers wrote:
Hey Gary, instead try something like this maybe?
$dbc=mysqli_connect('localhost','root','','test') or die('Error
connecting to MySQL server');
$query_name=INSERT INTO name(fname='$fname', lname='$lname');
$query_address=INSERT INTO address (street='$street',
Andrew Ballard wrote:
On Tue, Apr 13, 2010 at 2:50 PM, tedd tedd.sperl...@gmail.com wrote:
For example, a user has name, address, height, weight, color, language, etc.
Those things can be listed in a single table.
And now for the universal DBA answer - it depends. There are cases
where that
At 3:09 PM -0400 4/13/10, Andrew Ballard wrote:
On Tue, Apr 13, 2010 at 2:50 PM, tedd tedd.sperl...@gmail.com wrote:
For example, a user has name, address, height, weight, color, language, etc.
Those things can be listed in a single table.
And now for the universal DBA answer - it depends.
My mistake. You are correct.
Karl
On Apr 13, 2010, at 2:16 PM, Jim Lucas wrote:
Karl DeSaulniers wrote:
Hey Gary, instead try something like this maybe?
$dbc=mysqli_connect('localhost','root','','test') or die('Error
connecting to MySQL server');
$query_name=INSERT INTO
For those that were looking to see a solution, this is what I have come up
with. It was pointed out on another board (MySQL) that inserting multiple
in one script is probably prohibited because of security reasons.
What I did was open the connection, insert into the table, close the
On 13 April 2010 00:04, Gary gwp...@ptd.net wrote:
For those that were looking to see a solution, this is what I have come up
with. It was pointed out on another board (MySQL) that inserting multiple
in one script is probably prohibited because of security reasons.
What I did was open the
Hey Gary, instead try something like this maybe?
$dbc=mysqli_connect('localhost','root','','test') or die('Error
connecting to MySQL server');
$query_name=INSERT INTO name(fname='$fname', lname='$lname');
$query_address=INSERT INTO address (street='$street', town='$town',
state='$state',
After trying everything everyone said in here, I finally had a clear enough
head to read through my logs and both my Apache httpd.conf and my PHP6 php.ini
files. I realized that in my Apache error log, it was listing the fact that
PHP could not load the modules for mysqli and xmlrpc (or
In the /var/log/secure i can see
sudo: apache : sorry, you must have a tty to run sudo; TTY:unknown
So, i edit line and comment in visudo to next
### Default requiretty
And, eureka, work fine from a web page
Thanks all
Mensaje original
Hi dear Sancar,
you seem really the best man in place as what I see in the mailing
list :)) Thats really lovely I would like to say.
Now lets come to the solution I need:
public function memcache($pointer, $data=, $compress=, $timeout=0)
// store or load data from the memcache
{
if
judging by the method invocation you have shown
site::memcache($pointername, $dataset);
that indicates site is a class and memecahce is a method defined in site,
which is being invoked statically in this case.
and in the definition of memecache you showed, the definition does not have
the static
Thank you very much Nathan.
You mean I should change the the method from public to static?
Is that right? I hope I was getting you right.
I now juggled around abit with the code, and as it happens most
of the time, in case I invoke the XML object, that the file
given was not read right.
When i
ppp and static / non-static are unrelated topics.
the former is regarding access control or visibility into the members
(variables or methods) of a class.
the latter is regarding whether a member can be called from the context of
an instance or not. essentially
static means to associate a
I checked out the book from mister rethans and mister gutmans
and mister bakken, mh, its seems easier to simply say how the
book is named :))
To check out, what exactly it means, to create static and public
and so on methods. Yeah, I can easely call them static, as you
prefered.
But now there
SOLUTION FOUND!
i copied libmysql.dll and php_mysql.dll to my c:\windows\ folder
suddenly my script connects. that's all it took.
my extension directory is set to C:\PHP in php.ini, but for some reason,
placing the dlls in
the windows folder did the trick. i searched httpd.conf and php.ini
# [EMAIL PROTECTED] / 2006-10-15 13:59:39 -0700:
As I cannot think of a class-based way to build my report, I think
I'll use a customer class everywhere BUT in the report. Inside the
report I'll just use one SQL statement instead of dozens
of instances and hundreds of queries.
I'll make a
As I cannot think of a class-based way to build my report, I think I'll use a
customer class
everywhere BUT in the report. Inside the report I'll just use one SQL
statement instead of dozens
of instances and hundreds of queries.
I'll make a note inside the class that this and that method is
Hi all,
WE are developing a system and now we have to create our own folder
management system, it however wont be physical folders on the hard drive
but more database entries and then the user will view the output as if
they were directories.
So Im looking for possibly and open source
Angelo Zanetti wrote:
Hi all,
WE are developing a system and now we have to create our own folder
management system, it however wont be physical folders on the hard drive
but more database entries and then the user will view the output as if
they were directories.
So Im looking for
On Mon, October 9, 2006 12:32 pm, Angelo Zanetti wrote:
to an exisisting folder. The moving folder part is not easy. the
other
functions like add, edit and delete and list sub folders is pretty
easy
with the parentID pointing to the parent directory.
To move a folder, you just change its
On Wed, August 24, 2005 9:09 am, Ross wrote:
I have a table which I put php data from a database.
If i have a name 'thisisaveryverylongfirstname' the table stetches to
fit
the name. Is there any way I can force it to wrap to a fixed width of
100px??
If I put a space in BR the text wraps.
Richard Lynch wrote:
PHP's wordwrap function may have an optional argument to FORCE it to
never be wider than X characters, but I don't think so...
http://www.php.net/wordwrap
string wordwrap (string str [, int width [, string break [, bool cut]]])
If the cut is set to 1, the string is
I recommend using Smarty for wrapping:
{$foo|wordwrap:30:br/:true}
--
Regards,
Aljaz mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aljaž Bizjak Zupanc wrote:
I recommend using Smarty for wrapping:
{$foo|wordwrap:30:br/:true}
That does the exact same thing as:
print(wordwrap($foo, 30, 'br /', true));
Which is much more convenient if you're not already using Smarty.
Jasper
--
PHP General Mailing List
I have a table which I put php data from a database.
If i have a name 'thisisaveryverylongfirstname' the table stetches to fit
the name. Is there any way I can force it to wrap to a fixed width of
100px??
If I put a space in BR the text wraps. How can I do this at character 30
of the string?
[snip]
I have a table which I put php data from a database.
If i have a name 'thisisaveryverylongfirstname' the table stetches to
fit
the name. Is there any way I can force it to wrap to a fixed width of
100px??
If I put a space in BR the text wraps. How can I do this at character
30
of the
http://us2.php.net/manual/en/function.wordwrap.php
--
Thanks,
John Ellingsworth
Project Leader
Virtual Curriculum
http://john.ellingsworth.org
Ross wrote:
I have a table which I put php data from a database.
If i have a name 'thisisaveryverylongfirstname' the table stetches to fit
the
[snip]
doesn't work CSS acts the same way with a long unbroken string.
[/snip]
Well, you have no way of determining how many pixels wide something can
be with PHP. You might have to use JavaScript to break up the string as
the table is rendered.
--
PHP General Mailing List (http://www.php.net/)
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
doesn't work CSS acts the same way with a long unbroken string.
[/snip]
Well, you have no way of determining how many pixels wide something can
be with PHP. You might have to use JavaScript to break up the string as
Visit www.lifenit.com for more details..
First Job. Dream Job... Freshersworld.com
__
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
--
PHP General Mailing List
Thomas Munz wrote:
I think, its not possible to init an Objeect on a session.
Yes, it can.
The problem was with serialization. With session.auto_start set to 1 on
php.ini, seems like session's objects are unserialized before loading
the script, so the class is not loaded when the session
Ok, I've write a function that emulates the Perl's bless one. It works
pretty well.
The idea comes to me when Rob suggest to parse the serialized data. I
think this is better -or at least faster- than parsing all serialized
data to modify object values: Just convert the object to an array,
Erm... I've seen there're some aspects to perform... it fails because
the name of the members is changed during conversion to the array. It
puts the class name using '\0' (0 is a zero, not a caps 'o') character
as separator before member name in private and an '*' in protected.
It's not an
Hi guys,
With the help of a guy, we found the solution. So for information, this is
what you have to do to succeed such kind of command.
You have to use the same username in your webserver as the name of the
account in the remote machine you're trying to access with rsh.
typically if you want to
The solution to using .shtml files from within
your PHP scripts is as simple as:
include (somefile.shtml);
Very handy if you have header, sidebar, footer templates
setup using SSI.
-Jim
-Original Message-
From: Gronquist, Jim M
Sent: Wednesday, August 27, 2003 11:13 AM
To: [EMAIL
Ugh
I replace one double quotes with two single quotes and it works like a
charm.
Thanks very much!
-Original Message-
From: Shena Delian O'Brien [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 4:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: funcky parse error message due to {
Great!
I actually had 2 dates - using your suggestion as follows worked:
$mailed=3D$row[mailed];
$payment=3D$row[payment];
$ID=3D$row[ID];
$Timestamp=3Dstrtotime($row[mailed]);
$mailedf=3Ddate(F d, Y,$Timestamp);
$Timestamp=3Dstrtotime($row[payment]);
$paymentf=3Ddate(F d,
Hi all,
We have finally isolated the problem with bad tarballs of phpDocumentor
releases in windows. The tarball is fine. A user who was getting files
with cut off names was unzipping using PKzip, switched to Winzip and the
tarball extraction worked! Here's the complete information:
Found it - sorry. For anyone curious here's what I found:
You _need_ to have an Order directove for Allow, so:
the .htaccess file reads
AuthName IPlease authenticate
AuthType Basic
AuthUserFile /www/.htpasswd
AuthGroupFile /www/.htgroup
Require group internal
Order deny,allow
I wrote in a message:
Here is the URL to a project that is far as I am concerned was finished.
http://www.overbrookfarm.myiglou.com
It is a Flash site that uses PHP for dynamically updating text in some
text
fields. snip. There should already be text inside of it.
I see it. snipMy client
Hi
Already posted a question asking what to do with existing code that uses
register_globals=on and migrating to a new PHP with
register_globals=off; solution seemed to be have to re-code;
I came up with this code, and am basically asking the more enlightened
if this might be a solution, ie,
Or just use extract($HTTP_POST_VARS); Same thing. :)
-Kevin
- Original Message -
From: PHPCoder [EMAIL PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Wednesday, July 03, 2002 12:24 PM
Subject: [PHP] Solution to register_globals=off existing code???
Hi
Already posted
PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Wednesday, July 03, 2002 12:24 PM
Subject: [PHP] Solution to register_globals=off existing code???
Hi
Already posted a question asking what to do with existing code that uses
register_globals=on and migrating to a new PHP with
register_globals=off
PM
Subject: Re: [PHP] Solution to register_globals=off existing code???
Or just use extract($HTTP_POST_VARS); Same thing. :)
-Kevin
- Original Message -
From: PHPCoder [EMAIL PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Wednesday, July 03, 2002 12:24 PM
Subject: [PHP
I figured it out, not what i'd wanted it to be, but it works, if anyone
can improve upon it, please let me know.
?php
function array_key_replace($foo,$original,$replacement,$replacement_value) {
$bar=array();
foreach($foo as $key=$value) {
if ($key==$original) {
I've looked through the archive and seen that people have attempted it but I
am wondering if anyone has actually gone forward with using PHP and frames
together.
I ask as I am using a very simple frame interface. Left side contains a
menu system with all content etc on right. I have a login
On Mon, 6 May 2002, Jeff Lewis wrote:
I've looked through the archive and seen that people have attempted it but I
am wondering if anyone has actually gone forward with using PHP and frames
together.
I ask as I am using a very simple frame interface. Left side contains a
menu system with
On Mon, 6 May 2002, Jeff Lewis wrote:
I've looked through the archive and seen that people have attempted it but I
am wondering if anyone has actually gone forward with using PHP and frames
together.
I ask as I am using a very simple frame interface. Left side contains a
menu system with all
Greg Donald wrote:
On Mon, 6 May 2002, Jeff Lewis wrote:
I've looked through the archive and seen that people have attempted it but I
am wondering if anyone has actually gone forward with using PHP and frames
together.
I ask as I am using a very simple frame interface. Left side
Quoting Jason Wong [EMAIL PROTECTED]:
- Whenever I recompile PHP, I always start with a clean extract from the
source tarball.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Ok this is solve the problem. I did a make clean, but is not very clean :-(.
The answer is
Hello,
some days ago I asked help on this list because I have to develop and
test on Linux/Apache some PHP pages that will have to run on on an
IIS/NT box. On the real server the pages must manage a MS Access
database via ODBC (this mixed setup cannot be changed: explanations in
the original
Hi -
MT There was some development on PHP-Auction, I did a custom-rolled one for a
MT client but it's not like e-bay.
Not yet! (just joking) -
This is the status of phpauction:
- we are finally near to the first stable release
- the features are the basic feature needed by an auction package
Look at PHPAuction: http://www.phpauction.org/html/
-Original Message-
From: Michael O'Neal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 8:56 AM
Cc: Php-General@Lists. Php. Net
Subject: [PHP] Auction PHP Solution?
Hi,
Has anybody seen an ebay-like auction solution done
Hi,
Has anybody seen an ebay-like auction solution done in PHP?
Thanks,
mto
--
Michael O'Neal
Web Producer/ Autocrosser
ST 28 '89 Civic Si
-
M A N G O
B O U L D E R
-
http://www.thinkmango.com
e- [EMAIL PROTECTED]
p- 303.442.1821
f-
Hy there 8)
This one is easy...
The thing IS that when you use the header statement there is absolutly NO
OUTPUt like echo(); inside the PHP-brackets allowed AND NO OUTPUT allowed
outside the PHP-Brackets, before the first header statement appears!
Not even simple linebreaks or anything!
So
: Monday, June 18, 2001 3:54 PM
Subject: Re: [PHP] Solution to headers already sent error.
Hiho,
Merio, Quinn wrote:
So, during the time the lists were down, i was banging my head over a
seemingly impossible error message.
Warning: Cannot send session cache limiter - headers already sent
So, during the time the lists were down, i was banging my head over a
seemingly impossible error message.
This was the error message:
Warning: Cannot send session cache limiter - headers already sent
What?! I exlaimed.. the first line in my page registered the session
variable i was using, so
Hiho,
Merio, Quinn wrote:
So, during the time the lists were down, i was banging my head over a
seemingly impossible error message.
Warning: Cannot send session cache limiter - headers already sent
What?! I exlaimed.. the first line in my page registered the session
variable i was using,
!
Valter Santos
WEB/WAP Consultant
-Original Message-
From: Nikolajus Krauklis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 11:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Solution for PHP - IMAP - WAP ?
Hi,
Maybe somebody knows solution for PHP IMAP and WAP?
How
Hi,
Maybe somebody knows solution for PHP IMAP and WAP?
How hard will be complete this products?
-
Nikolajus Krauklis :: [metasite]
E-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
rk) [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: 06 February 2001 07:23
Subject: [PHP] solution
hi all,
we need to have a solution for the following stuff:
each member of the community should get his own page
something like
www.domain.com/tacco
www.domain.com/micco
hi all,
we need to have a solution for the following stuff:
each member of the community should get his own page
something like
www.domain.com/tacco
www.domain.com/micco
www.domain.com/sicco
.
and we dont liek to build this structure as webfolders
so what we are thinking of is:
a
On 5 Feb 2001 23:31:17 -0800, andreas \(@work\) [EMAIL PROTECTED] wrote:
a 404 php-file which extracts the path and generates a page for that out of
mysql
or is there a better solution out there ?
This approach can work and, properly done, work fairly well. However, a more
elegant approach
73 matches
Mail list logo