tedd schreef:
Hi gang:
I just had a script stop following this statement:
header("Location:users.php");
It *was* working, but now instead of running "users.php", it defaults to
the parent script.
When I place exit() after it, such as:
header("Location:users.php");
exit();
The scr
2009/10/28 Raymond Irving :
> I'm try to do something like what Martin Scotta did but I'm looking for a
> solution that did not require me to loop through get_declared classes() to
> find a sub class.
Place all your child classes in the same namespace, and use
ReflectionNamespace::getClasses().
2009/10/28 David Otton :
> 2009/10/28 Raymond Irving :
>
>> I'm try to do something like what Martin Scotta did but I'm looking for a
>> solution that did not require me to loop through get_declared classes() to
>> find a sub class.
>
> Place all your child classes in the same namespace, and use
>
Try the Radicore framework at http://www.radicore.org This will allow you to
import your table definitions into its Data Dictionary, export those
definitions to produce table classes, then you can generate the basic
maintenance tasks using transaction patterns. This takes 5 minutes per
table, a
On Tue, 2009-10-27 at 21:07 -0700, ben...@gmail.com wrote:
> I am trying to take MySQL tables and use the table structure to create
> HTML/PHP forms in as few steps as possible for further development. I
> have a project that has hundreds of tables and requires hundreds of
> forms to be created an
From: Skip Evans
> I just downloaded the Netbeans 6.5 IDE to use as a code
> editor, installed the PHP plugin for syntax highlighting and
> it didn't look so good, so I find on the forum a guy who has
> made a collection of files, starting in a directory called
> config, that will apparently c
[snip]
Anyone know of a way to can take Mysql tables/fields from phpMyAdmin or
.sql
file and quickly make into HTML forms?
[/snip]
Search the archive of this list. I posted a function that does this a
long while back.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
ben...@gmail.com wrote:
> I am trying to take MySQL tables and use the table structure to create
> HTML/PHP forms in as few steps as possible for further development. I
> have a project that has hundreds of tables and requires hundreds of
> forms to be created and don't want to do so field by field
[snip]
Anyone know of a way to can take Mysql tables/fields from phpMyAdmin or
.sql file and quickly make into HTML forms?
[/snip]
Here is that function...(there are many mods that can be made to this,
but it works)
/*
* SQL Extactor
* Author: jblanchard
*
* Business Rule:
*
* REVISI
From: Ashley Sheridan
> On Tue, 2009-10-27 at 21:07 -0700, ben...@gmail.com wrote:
>
>> I am trying to take MySQL tables and use the table structure to
create
>> HTML/PHP forms in as few steps as possible for further development. I
>> have a project that has hundreds of tables and requires hundre
On Wed, Oct 28, 2009 at 8:53 AM, Bob McConnell wrote:
> From: Ashley Sheridan
>
>> On Tue, 2009-10-27 at 21:07 -0700, ben...@gmail.com wrote:
>>
>>> I am trying to take MySQL tables and use the table structure to
> create
>>> HTML/PHP forms in as few steps as possible for further development. I
>>
Hello all,
Please have a look here:
http://www.nuvemk.com/c_categoria/seccao/1
When we click on "Fitofármacos", I can display the correspondent children!
This is great! And I'm really happy!
:)
When we click on Fitofármacos children - "Herbicidas", I was expecting to
have returned Herbicidas
If you go Tools>Options> Keymap tab, you can click the 'Import' button at
the bottom. It just imports the zip file.
I'm new to Netbeans myself and decided to install this colour scheme,
however I can't get it to display correctly.
I'm also missing word wrap and a more simple one-click FTP upload
Hi,
I was just wondering what the difference/advantage of these two
methods of writing a string are:
1) $string = "foo{$bar}";
2) $string = 'foo'.$bar;
I always use method 2 but have been noticing method 1 more and more in
source code. Is this just user preference?
I would use a generic search
[snip]If your solution requires you to create hundreds of forms, which
could
take months to code, you need to take another look at the problem. I
don't believe you have thought it through very well.[/snip]
Actually you could use the function I provided to do this on the fly or
have the function wr
[snip]I was just wondering what the difference/advantage of these two
methods of writing a string are:[/snip]
Method 2 is faster, YMMV.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nick Cooper wrote:
> Hi,
>
> I was just wondering what the difference/advantage of these two
> methods of writing a string are:
>
> 1) $string = "foo{$bar}";
>
> 2) $string = 'foo'.$bar;
>
> I always use method 2 but have been noticing method 1 more and more in
> source code. Is this just user
Hey,
No import button in NetBeans 6.5 on Ubuntu.
Skip
Tom Calpin wrote:
If you go Tools>Options> Keymap tab, you can click the 'Import' button at
the bottom. It just imports the zip file.
I'm new to Netbeans myself and decided to install this colour scheme,
however I can't get it to display co
Hey all,
I modified an Apache config file to list the HTML file first,
after the PHP file, it still pulls up the PHP file first.
Is there another setting in Apache I should be looking for?
I need it to check for the HTML file first.
Thanks,
Skip
DirectoryIndex index.html index.php
-
2009/10/28 Jim Lucas:
> Nick Cooper wrote:
>> Hi,
>>
>> I was just wondering what the difference/advantage of these two
>> methods of writing a string are:
>>
>> 1) $string = "foo{$bar}";
>>
>> 2) $string = 'foo'.$bar;
>>
>> I always use method 2 but have been noticing method 1 more and more in
>>
Bob McConnell wrote:
Three questions.
1. Why did you install an obsolete version? 6.7.1 is current and 6.8 is
now in beta.
Because that what Ubuntu installs with apt-get install
netbeans and I like to stick with Ubuntu tested stuff.
2. You just asked this question on the NetBeans mailing
On Wed, 2009-10-28 at 16:29 +, Nick Cooper wrote:
> 2009/10/28 Jim Lucas:
> > Nick Cooper wrote:
> >> Hi,
> >>
> >> I was just wondering what the difference/advantage of these two
> >> methods of writing a string are:
> >>
> >> 1) $string = "foo{$bar}";
> >>
> >> 2) $string = 'foo'.$bar;
> >>
Nick Cooper wrote:
> 2009/10/28 Jim Lucas:
>> Nick Cooper wrote:
>>> Hi,
>>>
>>> I was just wondering what the difference/advantage of these two
>>> methods of writing a string are:
>>>
>>> 1) $string = "foo{$bar}";
>>>
>>> 2) $string = 'foo'.$bar;
>>>
>>> I always use method 2 but have been notici
On Tue, Oct 27, 2009 at 5:50 PM, Skip Evans wrote:
> Any Netbeaners out there know how to install syntax highlighting stuff?
1 - Exit NetBeans
2 - Unzip the file in your ~/.netbeans/ folder.
3 - Start NetBeans
4 - Select the new color profile from Tools -> Options -> Fonts and
Colors -> Profile d
On Wed, 28 Oct 2009 11:29:49 -0500
Skip Evans wrote:
> Bob McConnell wrote:
> >
> > Three questions.
> >
> > 1. Why did you install an obsolete version? 6.7.1 is current and
> > 6.8 is now in beta.
>
> Because that what Ubuntu installs with apt-get install
> netbeans and I like to stick with
Hi Nick
Nick Cooper wrote on 2009-10-28 17:29:
Thank you for the quick replies. I thought method 2 must be faster
because it doesn't have to search for variables in the string.
So what is the advantages then of method 1 over 3, do the curly braces
mean anything?
1) $string = "foo{$bar}";
2)
Hi gang:
I am reviewing some old code (circa 2003) where the programmer had
one script call another and placed variable values in the URL, like
so:
That seems innocent enough. However, in the called script (i.e.,
"user_edit.php") there are no:
$user_id = $_GET['user_id'];
$ac
2009/10/28 tedd :
>
> Hi gang:
>
http://php.net/manual/en/security.globals.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg Maruszeczka wrote:
Download NB 6.7.1 (or even better, 6.8 Beta which looks pretty good to
me), run the install script and you're done. It's built-in updater will
handle the rest. Then if you're still feeling antsy about the choice of
syntax colors you can choose any of five different theme p
The curly braces look like something from the smarty template engine.
Warren Vail
-Original Message-
From: Kim Madsen [mailto:php@emax.dk]
Sent: Wednesday, October 28, 2009 10:18 AM
To: Nick Cooper
Cc: Jim Lucas; php-general@lists.php.net
Subject: Re: [PHP] PHP String convention
Hi N
Jay,
What function do you have? Thanks to everyone for their feedback.
Best,
Ben
On Wed, Oct 28, 2009 at 9:17 AM, Jay Blanchard wrote:
> [snip]If your solution requires you to create hundreds of forms, which
> could
> take months to code, you need to take another look at the problem. I
> don'
On Wed, 2009-10-28 at 18:18 +0100, Kim Madsen wrote:
> Hi Nick
>
> Nick Cooper wrote on 2009-10-28 17:29:
>
> > Thank you for the quick replies. I thought method 2 must be faster
> > because it doesn't have to search for variables in the string.
> >
> > So what is the advantages then of method 1
I don't do this personally, but you can probably get your script
working by doing something like this:
foreach( $_GET as $k => $v ) $$k = $v;
You would put that at the top of your page, but be aware that it
allows other people to set variables on your page (just like register
globals does).
If y
On Wed, Oct 28, 2009 at 1:27 PM, tedd wrote:
> Hi gang:
>
> I am reviewing some old code (circa 2003) where the programmer had one
> script call another and placed variable values in the URL, like so:
>
>
>
> That seems innocent enough. However, in the called script (i.e.,
> "user_edit.php") t
On Wed, 2009-10-28 at 13:47 -0400, Andrew Ballard wrote:
> On Wed, Oct 28, 2009 at 1:27 PM, tedd wrote:
> > Hi gang:
> >
> > I am reviewing some old code (circa 2003) where the programmer had one
> > script call another and placed variable values in the URL, like so:
> >
> >
> >
> > That seem
Kim Madsen wrote:
Hi Nick
Nick Cooper wrote on 2009-10-28 17:29:
Thank you for the quick replies. I thought method 2 must be faster
because it doesn't have to search for variables in the string.
So what is the advantages then of method 1 over 3, do the curly braces
mean anything?
1) $string
To all:
I found the problem, which basically was that I had declared a
variable in a preceding script with the same name, namely $user_id.
When I changed my script to $u_id, everything worked as before.
Clearly, Globals are evil.
It's a bitch to have to work with code you can't change unle
From: tedd
> I found the problem, which basically was that I had declared a
> variable in a preceding script with the same name, namely $user_id.
>
> When I changed my script to $u_id, everything worked as before.
> Clearly, Globals are evil.
>
> It's a bitch to have to work with code you can'
I want to use Textarea as the text-file viewer and editor of my homepage.
But Textarea doesn't work exactly as i intended.
In sometimes, TextArea doesn't show up
and moreover the some parts of the file are displayed(rendered) in browser
without TextArea!
--
PHP General Mailing List (http://www
Bob McConnell wrote:
From: tedd
I found the problem, which basically was that I had declared a
variable in a preceding script with the same name, namely $user_id.
When I changed my script to $u_id, everything worked as before.
Clearly, Globals are evil.
It's a bitch to have to work with co
[snip]I want to use Textarea as the text-file viewer and editor of my
homepage. But Textarea doesn't work exactly as i intended.
In sometimes, TextArea doesn't show up and moreover the some parts of
the file are displayed(rendered) in browser without TextArea![/snip]
Not enough information to comp
On Wed, Oct 28, 2009 at 10:39 AM, Jean Lee wrote:
> I want to use Textarea as the text-file viewer and editor of my homepage.
> But Textarea doesn't work exactly as i intended.
> In sometimes, TextArea doesn't show up
> and moreover the some parts of the file are displayed(rendered) in browser
> w
At 2:48 PM -0400 10/28/09, Robert Cummings wrote:
Bob McConnell wrote:
From: tedd
I found the problem, which basically was that I had declared a
variable in a preceding script with the same name, namely $user_id.
When I changed my script to $u_id, everything worked as before.
Clearly, Globa
Hello,
on 10/22/2009 11:28 AM resea soul said the following:
> Hi,
>
> I want to be able to get a screenshot of a given website on the fly.
> Can you give me any suggestions.
If you are still looking at solutions for this problem, here you can
find a solution that works on Windows:
http://www.p
Hey everyone, I have an issue.
I need my (employee) users to be able to insert shows into the our MySQL
database and simultaneously upload an image file (and store the path in the
table).
I have accomplished this with a product-based system (adding products and
uploading images of the product), a
Manuel Lemos wrote:
Hello,
on 10/22/2009 11:28 AM resea soul said the following:
Hi,
I want to be able to get a screenshot of a given website on the fly.
Can you give me any suggestions.
If you are still looking at solutions for this problem, here you can
find a solution that works on Window
Maybe you could use http://us.php.net/manual/en/function.mysql-insert-id.php
to get the inserted id.
On Oct 28, 2009, at 12:21 PM, Allen McCabe wrote:
Hey everyone, I have an issue.
I need my (employee) users to be able to insert shows into the our
MySQL
database and simultaneously upload
On Wed, 2009-10-28 at 12:21 -0700, Allen McCabe wrote:
> Hey everyone, I have an issue.
>
> I need my (employee) users to be able to insert shows into the our MySQL
> database and simultaneously upload an image file (and store the path in the
> table).
>
> I have accomplished this with a product
Allen,
Use mysql_insert_id(). This will return the id of the last record
inserted.
Take care,
Floyd
On Oct 28, 2009, at 3:21 PM, Allen McCabe wrote:
Hey everyone, I have an issue.
I need my (employee) users to be able to insert shows into the our
MySQL
database and simultaneously uploa
On Wed, Oct 28, 2009 at 4:21 PM, Allen McCabe wrote:
> Hey everyone, I have an issue.
>
> I need my (employee) users to be able to insert shows into the our MySQL
> database and simultaneously upload an image file (and store the path in the
> table).
>
> I have accomplished this with a product-ba
Use mysql_insert_id() instead of the select you´re using now.
"Allen McCabe" escreveu na mensagem
news:657acef20910281221y5ab6ab7t4882f4f00da2c...@mail.gmail.com...
> Hey everyone, I have an issue.
>
> I need my (employee) users to be able to insert shows into the our MySQL
> database and simul
On Wed, 2009-10-28 at 15:24 -0400, Robert Cummings wrote:
> Manuel Lemos wrote:
> > Hello,
> >
> > on 10/22/2009 11:28 AM resea soul said the following:
> >> Hi,
> >>
> >> I want to be able to get a screenshot of a given website on the fly.
> >> Can you give me any suggestions.
> >
> > If you ar
Hello,
on 10/28/2009 05:24 PM Robert Cummings said the following:
>>> I want to be able to get a screenshot of a given website on the fly.
>>> Can you give me any suggestions.
>>
>> If you are still looking at solutions for this problem, here you can
>> find a solution that works on Windows:
>>
>>
You all are great! Thank you so much.
On Wed, Oct 28, 2009 at 12:27 PM, Martin Scotta wrote:
>
>
> On Wed, Oct 28, 2009 at 4:21 PM, Allen McCabe wrote:
>
>> Hey everyone, I have an issue.
>>
>> I need my (employee) users to be able to insert shows into the our MySQL
>> database and simultaneous
Manuel Lemos wrote:
Hello,
on 10/28/2009 05:24 PM Robert Cummings said the following:
I want to be able to get a screenshot of a given website on the fly.
Can you give me any suggestions.
If you are still looking at solutions for this problem, here you can
find a solution that works on Windows
I am reading the following PHP document. But I feel very inconvenient
as the materials are spread on many short webpages. I would prefer
long webpages. I'm wondering if some body can point me some better PHP
document?
http://www.php.net/manual/en/
--
PHP General Mailing List (http://www.php.net/
http://en.wikibooks.org/wiki/PHP_Programming might help you :)
On Wed, Oct 28, 2009 at 2:12 AM, Peng Yu wrote:
> I am reading the following PHP document. But I feel very inconvenient
> as the materials are spread on many short webpages. I would prefer
> long webpages. I'm wondering if some body
On Wed, Oct 28, 2009 at 05:49:43PM -0200, Manuel Lemos wrote:
> Hello,
>
> on 10/28/2009 05:24 PM Robert Cummings said the following:
> >>> I want to be able to get a screenshot of a given website on the fly.
> >>> Can you give me any suggestions.
> >>
> >> If you are still looking at solutions f
Manuel Lemos wrote:
>>> http://www.phpclasses.org/gtkmozembed-shot
>> It hurts my eyes to go on the phpclasses website. It's like someone
>> vomited tabs and links :|
>
> I have no clue why you felt the need to be so aggressive.
>
> Anyway, if you are that sensitive to design issues, why don't yo
I want to build a website using PHP. But to make a website from
scratch will take a long time. I observed many websites look similar.
Therefore, I think that there are a lot of commonalities between them.
I'm wondering if there are some depository of free prebuild websites
(based on PHP or some ot
Hi Peng,
here's a site that has free css templates for you to use:
http://www.templatemo.com/page/1
Peng Yu wrote:
I want to build a website using PHP. But to make a website from
scratch will take a long time. I observed many websites look similar.
Therefore, I think that there are a lot of c
I feel like I'm really close to a solution for the clean-url method in
htaccess. I've successfully got it now so that:
http://benchwarmersports.com/packages/basketball/2010/nba-all-star-game
maps to:
http://benchwarmersports.com/packages.php?category=basketball&year=2010&title=nba-all-star-g
On Wed, 2009-10-28 at 16:54 -0400, Haig Dedeyan wrote:
> Hi Peng,
>
> here's a site that has free css templates for you to use:
>
> http://www.templatemo.com/page/1
>
>
> Peng Yu wrote:
> > I want to build a website using PHP. But to make a website from
> > scratch will take a long time. I obs
> -Original Message-
> From: MEM [mailto:tal...@gmail.com]
> Sent: quarta-feira, 28 de Outubro de 2009 15:55
> To: 'php-general@lists.php.net'
> Subject: Help with my first recursion menu
>
> Hello all,
>
> Please have a look here:
> http://www.nuvemk.com/c_categoria/seccao/1
>
>
> When
tedd wrote:
> At 2:48 PM -0400 10/28/09, Robert Cummings wrote:
>> Bob McConnell wrote:
>>> From: tedd
>>>
I found the problem, which basically was that I had declared a
variable in a preceding script with the same name, namely $user_id.
When I changed my script to $u_id, everyt
Thank you, Jay Blanchard and Andrew Ballard!!!
Could you explain what was my fault concerned about this case?
Thanks in advance!
My codes were
.
..
" . $contents . "";
?>
""Jay Blanchard"" wrote in message
news:31454d514ff9a949b1fdfe294d5d1d80080...@ygex01wal.onecall.lo
Hello,
on 10/28/2009 06:37 PM Paul M Foster said the following:
>> Anyway, if you are that sensitive to design issues, why don't you
>> participate in the contest to propose a better design instead of just
>> complaining against the work that others do to help the PHP community?
>>
>> You can earn
On Thu, Oct 29, 2009 at 4:05 AM, Skip Evans wrote:
> Now, if I can just get rid of that red line at the 80 column mark. I haven't
> bothered with 80 columns since I wrote assembly on a terminal connected to a
> PDP-11 in college.
I myself and I'm sure many others will agree that sticking to 'arou
68 matches
Mail list logo