On Wed, Aug 24, 2011 at 3:46 PM, Ashley Sheridan
wrote:
> I solved this issue with timestamps stored in the db with the submission.
This seems like the one sure way to control it. Cookies can be denied,
session can be reset, js methods can be noscripted, etc.
--
PHP General Mailing List (http:/
I'm encountering this on a script, but I can't figure out where it's
actually failing. How do I debug this problem???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Aug 26, 2011 at 2:17 AM, Кирилл wrote:
> Actually i think you outputing something in script, before you use headers -
> there are several solutions:
> 1)make your headers functions at the top of your script
> 2)if there is no any output - you should look for invisible characters like
> BOM
On Fri, Aug 26, 2011 at 7:41 AM, David Robley wrote:
> tamouse mailing lists wrote:
>
>> I'm encountering this on a script, but I can't figure out where it's
>> actually failing. How do I debug this problem???
>
> Look first for unclosed curly braces
On Fri, Aug 26, 2011 at 8:03 AM, Stuart Dallas wrote:
> On 26 Aug 2011, at 06:56, tamouse mailing lists wrote:
>
>> I'm encountering this on a script, but I can't figure out where it's
>> actually failing. How do I debug this problem???
>
> Make sure yo
On Fri, Aug 26, 2011 at 8:06 AM, John Black
wrote:
> On 26.08.2011 07:56, tamouse mailing lists wrote:
>>
>> I'm encountering this on a script, but I can't figure out where it's
>> actually failing. How do I debug this problem???
>>
>
> What does y
On Fri, Aug 26, 2011 at 7:59 AM, Richard Riley wrote:
> tamouse mailing lists writes:
>
>> I'm encountering this on a script, but I can't figure out where it's
>> actually failing. How do I debug this problem???
>
> Depends on what you mean by "scri
On Fri, Aug 26, 2011 at 1:42 PM, Geoff Shang wrote:
> I put this into Google and got this:
> http://htmlfixit.com/cgi-tutes/tutorial_Common_Web_dev_error_messages_and_what_they_mean.php#premature
Yeah, I saw that too. I do know the mechanism that is happening. I
just can't figure out where the p
On Fri, Aug 26, 2011 at 6:48 PM, tamouse mailing lists
wrote:
> On Fri, Aug 26, 2011 at 1:42 PM, Geoff Shang wrote:
>> I put this into Google and got this:
>> http://htmlfixit.com/cgi-tutes/tutorial_Common_Web_dev_error_messages_and_what_they_mean.php#premature
>
>
> Ye
On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings wrote:
> I'm a big fan of editors that work in the terminal.
You'll get my emacs when you pry it out of my cold dead hands.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Sep 13, 2011 at 7:56 PM, James Yerge wrote:
> I'd have to go agree with the exception of s/emacs/vi/ :P
invoke(EditorChoiceReligiousArgument);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Sep 14, 2011 at 11:52 AM, Paul M Foster wrote:
> BTW, my big beef with "online" editors is latency, and it's a *huge*
> problem, as far as I'm concerned. Ultimately this is why I wrote blog
> software for myself which requires you to compose and edit your posts
> locally, and then *upload*
On Thu, Sep 15, 2011 at 3:20 PM, Matthew Pounsett wrote:
>> echo "" | php
Not anything to do with the problem, but you can just write:
php -r "print xml_parser_create('');"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hit reply instead of reply-all /o\
-- Forwarded message --
From: tamouse mailing lists
Date: Thu, Sep 15, 2011 at 4:39 PM
Subject: Re: [PHP] Bug?
To: Igor Escobar
On Thu, Sep 15, 2011 at 4:07 PM, Igor Escobar wrote:
> Anyone can explain this?
>
> https://gist.g
On Thu, Sep 15, 2011 at 8:31 PM, Joshua Stoutenburg
wrote:
> // I hope everyone finds this more humorous than offensive.
My baboon is offended.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Sep 14, 2011 at 5:07 PM, Jonesy wrote:
> On Wed, 14 Sep 2011 14:08:09 +0100, Richard Quadling wrote:
>> On 14 September 2011 13:18, Tim Streater wrote:
>>> On 14 Sep 2011 at 12:40, Richard Quadling wrote:
On 14 September 2011 01:23, tamouse wrote:
> On Tue, Sep 13, 2011 at 3:35
> Notice: This communication, including attachments, may contain
> information that is confidential. It constitutes non-public information
> intended to be conveyed only to the designated recipient(s). If the
> reader or recipient of this communication is not the intended
> recipient, an employee o
I'm having a bit of trouble installing PHP extensions.
I have the following in php.ini:
extension_dir =
".:/usr/local/lib/php/extensions:/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
In /usr/local/lib/php/extensions/no-debug-non-zts-20090626, i have the
following:
-rwxr-xr-x 1 roo
On Sun, Sep 18, 2011 at 4:22 PM, Gregor Mitzka wrote:
> Why don't you use MacPorts? There you can extension in a quite simple way.
> Gregor Mitzka
I DID use MacPorts!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Sep 18, 2011 at 4:36 PM, Benjamin Hawkes-Lewis
wrote:
> On Sun, Sep 18, 2011 at 8:21 PM, tamouse mailing lists
> wrote:
>> I'm having a bit of trouble installing PHP extensions.
>>
>> I have the following in php.ini:
>>
>> extension_dir =
>&
On Mon, Sep 19, 2011 at 9:03 AM, Daniel Brown wrote:
> You have to add the extensions to your php.ini file,
Yeah, did that, still not working.
> and - if
> using them on the web - remember to restart Apache.
Using lighty and fastcgi.
--
PHP General Mailing List (http://www.php.net/)
To unsu
Forgot to include list...
-- Forwarded message --
From: tamouse mailing lists
Date: Wed, Sep 28, 2011 at 4:06 PM
Subject: Re: [PHP] Curl cost
To: muad shibani
On Wed, Sep 28, 2011 at 3:28 AM, muad shibani wrote:
> what are the costs of using PHP Curl to show another websi
On Wed, Sep 28, 2011 at 4:06 PM, tamouse mailing lists
wrote:
> On Wed, Sep 28, 2011 at 3:28 AM, muad shibani wrote:
>> what are the costs of using PHP Curl to show another websites on my site as
>> stumbleon do ..
>> traffic, memory or what?
>
> If you use curl
On Wed, Sep 28, 2011 at 10:52 AM, Jim Lucas wrote:
> On 9/28/2011 12:07 AM, Anton Heuschen wrote:
>> $command = '/usr/bin/php -f /var/www/details/Write.php '.$email.'
>> '.$actionDate.' '.$files.' >> php.log';
>> system($command,$return);
>
> At this point I would suggest that you echo $command be
On Thu, Oct 6, 2011 at 7:28 PM, Jason Pruim wrote:
> Have a question about this block of code
I'm not seeing anything immediately standing out as a problem.
> Sometimes... It is dropping the last $mailmessage line... The payment method
> in the actual email it sends...
Can you see if the l
On Thu, Oct 6, 2011 at 7:28 PM, Jason Pruim wrote:
> Have a question about this block of code
I'm not seeing anything immediately standing out as a problem.
> Sometimes... It is dropping the last $mailmessage line... The payment method
> in the actual email it sends...
Can you see if the l
On Sat, Oct 8, 2011 at 10:36 AM, Complex wrote:
> Can you please tell me if there's already a set of PHP functions for
> translating SSI commands to PHP?
> I'm looking to do two things -- one difficult, one easy -- using PHP
> on a hosted server.
I can't believe that this hasn't already been done
On Sun, Oct 9, 2011 at 12:36 PM, Tedd Sperling wrote:
> On Oct 9, 2011, at 11: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 chang
On Thu, Oct 13, 2011 at 5:08 PM, Daevid Vincent wrote:
> #include
>
> int main()
> {
> printf("R.I.P. Dennis Ritchie: 1941-2011\n");
> return 0;
> }
>
>
> http://www.networkworld.com/news/2011/101311-ritchie-251936.html
>
>
dmr--; /* :-( */
--
PHP General Mailing List (http://www.ph
On Sun, Oct 16, 2011 at 10:34 AM, Govinda wrote:
>> i want to learn php and i do not know much and my english is also
>> limited.isthere anyone who can explain me php by most simple
>> example,like explainig to
>> a child,something like this:if you put "this" symbol or writing, in your php
>> scri
In Sat, Oct 15, 2011 at 7:57 PM, Stephen wrote:
> I am building a site for my photography.
Cool!
> The photographs are displayed by category.
>
> The category table has a field for "order"
>
> In my control panel I want to be able to change the order of the categories
> by changing the values in
On Sun, Oct 16, 2011 at 2:26 PM, Jim Giner wrote:
> "tamouse mailing lists" wrote in message
> news:cahuc_t8icx4y4mca05rrgzopv4ze7hwsndaiyjjmdvbambv...@mail.gmail.com...
> In Sat, Oct 15, 2011 at 7:57 PM, Stephen wrote:
>
> \Category One
>
>
>
> I would
On Fri, Oct 21, 2011 at 12:38 PM, Tedd Sperling wrote:
> On Oct 21, 2011, at 12:27 PM, Daniel Brown wrote:
>
>> I'll get this week's Friday distraction kicked off here with
>> something shared with me by a Facebook friend. If you're on Facebook,
>> try this. It's pretty sweet (and safe for wo
ter, and like before them Dreamwidth, Livejournal, they are places
where people go to meet, and have a sense of community. But there's no
obligation to listen or talk to anyone you don't want to, anytime you
don't want to.
These social networks aren't even as open as mailing
On Fri, Oct 21, 2011 at 4:27 PM, Christopher Lee wrote:
> This message is for the designated recipient only and may contain privileged,
> proprietary, or otherwise private information. If you have received it in
> error, please notify the sender immediately and delete the original. Any
> other
On Mon, Oct 24, 2011 at 7:50 PM, Jason Pruim wrote:
> I have about 89 million records in mysql... the initial load of the page
> takes 2 to 3 minutes, I am using pagination, so I have LIMIT's on the SQL
> query's... But they just aren't going fast enough...
>
> What I would like to do, is pull t
On Thu, Oct 27, 2011 at 10:31 AM, Tontonq Tontonq wrote:
> i have an array like
>
> [0] => Array
> (
> [likes] => 113091
> [name] => blabla
> [access_token] => AAABZCTx
> [id] => 188206217874932
>
> )
>
> [1] => Array
> (
> [likes] => 113091
> [name] => blabla
> [access_token] => AAABZCTz
>
On Tue, Nov 1, 2011 at 8:24 AM, Florian Müller wrote:
>
> Hi all
> I got a little question about a good application design in PHP.
> If I use a mysql connection for example, I have to store my mysql-password
> somewhere in the code. If it's just in the mysql-class, that's not that good,
> becaus
On Fri, Nov 4, 2011 at 2:52 AM, shiplu wrote:
> On Fri, Nov 4, 2011 at 1:47 PM, Sophia wrote:
>
>> Here is the PHP code:
>>
>>
>> >
>>
>> $panka = " c:can-it-rock-
>> :the-boat-of-
>> :love- ";
>>
>> $pankb = preg_split(':',$panka);
>>
>
> It should be preg_split('/:/', $panka);
Maybe just
On Sat, Nov 5, 2011 at 3:33 AM, saeed ahmed wrote:
> i want to start with php sqlite.which light weight versions should i
> download?i have win xp sp3.
>
I though sqlite came bundled...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Nov 3, 2011 at 10:11 AM, Gates, Jeff wrote:
> I am a newbie in PHP.
>
> I need to create a search using Google's Search Appliance for a site I'm
> designing but don't have the slightest idea on how to do it. Because I want
> to incorporate the site's design into the search results page I
On Mon, Nov 7, 2011 at 5:54 AM, Richard Quadling wrote:
> On 4 November 2011 16:52, QI.VOLMAR QI wrote:
>
>> i have this part of code that works with DOMDocument:
>>
>> public function translateNFeXML(NFE $nfe_factory) {
>> $inf_adic = $nfe_factory->createElement('infAdic');
>> if (
Hoisted on me own petard, as it were.
Meant this to go to OP and list, not Jim.
-- Forwarded message --
From: tamouse mailing lists
Date: Thu, Nov 10, 2011 at 3:25 AM
Subject: Re: [PHP] delete and recreate
To: Jim Lucas
On Wed, Nov 9, 2011 at 1:44 PM, Jim Lucas wrote:
>
On Thu, Nov 10, 2011 at 4:35 PM, Marc Fromm wrote:
> I have this bit of code to see if a date is greater or equal to a set date.
>
> echo(date("m/d/Y",strtotime($jobs_effective_start)));// displays entered date
> of 01/03/2012
> echo(date("m/d/Y",strtotime(WSOFFBEGIN))); // displays set date of 0
On Thu, Nov 10, 2011 at 11:24 AM, Matijn Woudt wrote:
> On Thu, Nov 10, 2011 at 5:42 PM, Jim Lucas wrote:
>> On 11/10/2011 6:45 AM, Bastien Koert wrote:
>>> Morning all,
>>>
>>> I've been having some fun with converting a text data file import into
>>> a json object for storage.
>>>
>>> I have a
On Sat, Nov 12, 2011 at 1:38 AM, Ron Piggott
wrote:
> Does anyone know what variable the e-mail message is assigned within the
> context of “Pipe To A Program”? Is there a way to find out? I can’t figure
> this out.
>
> What I have tried so far is below:
>
> ===
> #!/usr/local/bin/php -q
>
>
On Sat, Nov 12, 2011 at 5:12 AM, Ron Piggott
wrote:
>
>
> I used your code and it still didn't work. Would you show me what you put
> in for your Pipe To A Program settings?
>
> What I used is:
>
> Rules: "To" "Contains" customer service e-mail address
>
> "Action"
> /usr/local/bin/php /path/to/e
I'm curious how others feel about this. When I'm creating an SQL
string, either for a non-prepared or prepared execution, I build it in
a variable and then pass the variable to the query or prepare
function. This lets me easily add something to view the SQL statement,
and also if there's an error,
On Sat, Nov 12, 2011 at 7:01 AM, Stephen wrote:
> While I am not a big fan of OOP, I do like PDO, and recommend its use.
Right -- I wasn't actually inquiring about how to access a data base,
merely the pactice of using a variable for the SQL -- In your example,
you are doing this as well, which f
On Sun, Nov 13, 2011 at 3:43 PM, drive view wrote:
> I'm a novice to MySQL and am currently facing the following difficulty.
> I'm trying to update a table with a row of data the primary key of which is
> an ID which I believe is an auto incrementing serial number. My first
> question is how to c
On Tue, Nov 15, 2011 at 12:12 PM, Tedd Sperling wrote:
> PS: I know it's not Friday, but this question came up in class yesterday and
> I thought maybe all of you might like to guess why null is Wednesday?
Wait.. What??
$ php -r 'echo date("l",NULL),"\n";'
Wednesday
Cos:
$ php -r 'echo date("
On Wed, Jan 11, 2012 at 5:49 PM, Matijn Woudt wrote:
> On Thu, Jan 12, 2012 at 12:26 AM, Haluk Karamete
> wrote:
>> I've grouped these env variables, each group returns the same values
>> is there a difference? which ones do you use? which ones should I not
>> use for the purposes listed below
>>
On Thu, Jan 12, 2012 at 7:16 PM, Haluk Karamete wrote:
> Again, coming from ASP background, I'm trying to minimize the typing
> for most needed functionalities..
>
> in asp, to set a session var, you go <%session("age")=90%> and to
> output it, you just go <%=session("age")%>
>
> in php, you've go
On Thu, Jan 12, 2012 at 8:45 PM, Haluk Karamete wrote:
> I agree... that was just a wild idea! :)
> Let's forget about it!
>
> What's a good PHP programming editor you'd recommend on a mac for starters?
(Remember to bottom post.)
My favourite on the Mac is TextMate, but it's not $free. (It's als
On Thu, Jan 12, 2012 at 8:52 PM, tamouse mailing lists
wrote:
> On Thu, Jan 12, 2012 at 8:45 PM, Haluk Karamete
> wrote:
>> I agree... that was just a wild idea! :)
>> Let's forget about it!
>>
>> What's a good PHP programming editor you'd reco
On Tue, Jan 17, 2012 at 2:34 AM, ma...@behnke.biz wrote:
> You should not write the recipients email address in a hidden form, but
> instead
> read it from a config file. This way you can make sure, that no one alters it.
> Although this won't stop anyone from using the mailform.
Cannot emphasiz
On Tue, Jan 17, 2012 at 5:17 PM, Haluk Karamete wrote:
> This brings the question to the following;
> WHEN DOES THE SERVER KNOW THAT A USER IS REALLY GONE OR HE CLOSED HIS BROWSER?
Just addressing this quesiton -- you are correct that the browser does
not tell the application when it closes. What
On Mon, Feb 13, 2012 at 2:39 PM, Tedd Sperling wrote:
> On Feb 13, 2012, at 4:10 AM, Stuart Dallas wrote:
>> On 13 Feb 2012, at 06:28, Rui Hu wrote:
>>> How PHP sets variables in $_SERVER, say, $DOCUMENT_ROOT? What should I know
>>> if I want to modify $_SERVER myself?
>>
>> Once your script start
I'm just a bit baffled why this isn't a standard library function.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, Mar 10, 2012 at 9:37 AM, Tedd Sperling wrote:
> On Mar 9, 2012, at 10:20 PM, Jim Giner wrote:
>> "tamouse mailing lists" wrote in message
>> news:CAHUC_t8g43GE3xqvSU5SwFePGS1XG=tk1mhrbem9gjaarve...@mail.gmail.com...
>>> On Mon, Feb 13, 2012 at 2:39 PM,
On Sun, Mar 18, 2012 at 10:19 PM, Tamara Temple
wrote:
> On Tue, 13 Mar 2012 16:35:44 +0200, Arno Kuhl sent:
>
>> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
>> Sent: 13 March 2012 03:25 PM
>> To: a...@dotcontent.net; php-general@lists.php.net
>> Subject: Re: [PHP] Getting knotted wi
On Sun, Mar 18, 2012 at 2:18 PM, Tim Streater wrote:
> On 18 Mar 2012 at 17:46, Simon J Welsh wrote:
>
>> This is expected. The error doesn't occur to the second file is included, so
>> everything in the first included file is parsed and run before execution is
>> halted.
>
> Simon,
>
> Thanks fo
On Sat, Mar 10, 2012 at 7:43 PM, Tedd Sperling wrote:
> On Mar 10, 2012, at 3:53 PM, tamouse mailing lists wrote:
>> On Sat, Mar 10, 2012 at 9:37 AM, Tedd Sperling
>> wrote:
>>> That's correct, but to access those variables outside of their scope (such
&g
On Mon, Mar 19, 2012 at 10:43 AM, Arno Kuhl wrote:
> -Original Message-
> From: tamouse mailing lists [mailto:tamouse.li...@gmail.com]
> Sent: 19 March 2012 10:28 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Getting knotted with quotes encoding - (one possi
On Sat, Mar 24, 2012 at 7:41 AM, Jay Blanchard
wrote:
>
> On Mar 23, 2012, at 11:24 PM, Robert Cummings wrote:
>
>> On 12-03-23 05:41 PM, Jay Blanchard wrote:
>>> [-- DELETED GARBAGE --] :)
>>
>> I just realized... I've been stuck in a thinking rut. I latched onto one
>> solution that works well
On Wed, Mar 28, 2012 at 3:53 PM, Alexis wrote:
> Actually Fatih, I have also been playing around with the PEAR mimemail
> option and have just got that to work, so will not be pursuing this problem
> any further, but thank you very much for the time you spent helping me.
>
> Alexis
>
>
> On 28/03/
On Tue, Mar 27, 2012 at 8:33 AM, Maciek Sokolewicz
wrote:
> Also note: checking file extensions has nothing to do with security; relying
> on such a crude technique to work is a very very bad idea. It also limits
> the possible formats that people would like to send their CV as; for example
> I ca
On Tue, Mar 27, 2012 at 5:47 AM, rene7705 wrote:
> Yea, i'm quite sure I want to develop on Windows 7. Ubuntu still has
> quircks when it comes to using 3 monitors on a single system, as far as I
> know. I just like windows 7 a lot better at the moment.
> And how would it be dangerous to do so?
Y
On Tue, Mar 27, 2012 at 7:24 AM, Curtis Maurand wrote:
>
>
> rene7705 wrote:
>> On Tue, Mar 27, 2012 at 1:21 PM, Peter Ford
> wrote:
>>
>>> On 27/03/12
> 12:13, rene7705 wrote:
>>>
hey, I just read
> the rsync man page for the first time, and while it
> sure
looks simple enough for
On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh wrote:
> Hi Guys,
>
> Given below is a PHP script. Can someone help me with the output of the
> code. According to my understanding the output should be 3, 50, 20, 10. Can
> someone elaborate on the same and provide me an explanation on the flow?
>
> T
On Thu, Mar 29, 2012 at 1:17 PM, tamouse mailing lists
wrote:
> On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh wrote:
>> Hi Guys,
>>
>> Given below is a PHP script. Can someone help me with the output of the
>> code. According to my understanding the output should be 3,
On Thu, Mar 29, 2012 at 1:30 PM, tamouse mailing lists
wrote:
> On Thu, Mar 29, 2012 at 1:17 PM, tamouse mailing lists
> wrote:
>> On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh wrote:
>>> Hi Guys,
>>>
>>> Given below is a PHP script. Can someone
2012/3/29 Martín Marqués :
> El día 29 de marzo de 2012 14:14, David OBrien escribió:
>> actually this would work well ... compare what they send with the output of
>> the formatdate
>>
>> function checkDateTime($data) {
>> if (date('Y-m-d H:i:s', strtotime($data)) == $data) {
>> retur
On Thu, Mar 29, 2012 at 12:19 PM, Stuart Dallas wrote:
> On 29 Mar 2012, at 17:57, Arno Kuhl wrote:
>
>> I found automatic typecasting can be a bit of a gotcha.
>>
>>
>>
>> $sText = "this.is.a.test.text";
>>
>> if ( $pos = strpos($sText, "test") !== FALSE) {
>>
>> echo substr($sTex
On Fri, Mar 30, 2012 at 7:05 AM, David OBrien wrote:
> Find a way to do it using PHP's imagemagick extensions
>
> http://php.net/manual/en/book.imagick.php
>
> On Fri, Mar 30, 2012 at 5:56 AM, rene7705 wrote:
>
>> Hi.
>>
>> I have a script that uses imagemagick's convert command on the commandlin
On Sat, Mar 31, 2012 at 1:37 AM, rene7705 wrote:
> escapeshellcmd() seems simplest.
It might be if all you care about are shell meta characters, and
admittedly it will save you from someone entering "& rm -rf / &" in
your input field. But dealing with generic user input, even escaped,
can still b
On Sat, Mar 31, 2012 at 1:45 AM, saeed ahmed wrote:
> i have made a php script with a tutorial helpi dont know where is a
> error.please have a look
Before you actually run code in a browser, check your syntax with php
-l (for "lint", the old command to check C syntax on unixy systems) on
a c
On Sat, Mar 31, 2012 at 6:36 AM, Maciek Sokolewicz
wrote:
> On 31-03-2012 10:29, tamouse mailing lists wrote:
>>
>> On Sat, Mar 31, 2012 at 1:45 AM, saeed ahmed
>> wrote:
>>>
>>> i have made a php script with a tutorial helpi dont know where is a
>&
On Sun, Apr 1, 2012 at 11:03 PM, Karl James wrote:
> Is anyone online at the moment.
>
> I need help with a phpmyadmin table issue.
>
> I get a critical error when I try to upload images
>
> From the web portal admin page.
>
> I can send you a screen shot and allow you access to
>
> The database t
On Sun, Apr 1, 2012 at 10:52 PM, Ron Piggott
wrote:
> Hi Everyone:
>
> I am assigning the value of 4 images to variables following a database query:
>
> $image_1 = stripslashes( $row['image_1'] );
> $image_2 = stripslashes( $row['image_2'] );
> $image_3 = stripslashes( $row['image_3'] );
> $image_
Ugh, gmail mangled the code there. Here's a pastebin of the response
which is better formatted: http://pastie.org/3712761
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Apr 2, 2012 at 12:20 AM, tamouse mailing lists
wrote:
> Ugh, gmail mangled the code there. Here's a pastebin of the response
> which is better formatted: http://pastie.org/3712761
Sweet. I spent so long on my reply, two others snuck in before me. :)
--
PHP General Mailing
On Mon, Apr 2, 2012 at 4:34 AM, Maciek Sokolewicz
wrote:
> Usually if you think you need to use eval: think again. In this case, it
> again holds true.
>
> Instead of doing what you do, you can also reference the variable as:
> echo ${'image_'.$i};
> or
> echo $GLOBALS['image_'.$i];
>
> Both are p
On Wed, Apr 4, 2012 at 6:16 AM, Bastien wrote:
>
>
> Bastien Koert
>
> On 2012-04-03, at 10:39 PM, Tim Dunphy wrote:
>
>> Hello list,
>>
>> I am quite sure that you've heard this question at least a few times
>> before. :) But I have been dabbling a bit in PHP for years and I've
>> decided that
On Thu, Apr 5, 2012 at 3:15 PM, Ethan Rosenberg wrote:
> I know I am missing something fundamental - but I have no idea where to
> start to look.
It's really difficult to figure out what you're asking. Your code
snippets and associated output seem all jumbled up. It would help
greatly if they wer
On Thu, Apr 5, 2012 at 10:04 PM, Kirk Bailey wrote:
> jim, I am a novice at this language as I said.
> And were people this nice to you when YOU asked beginner questions?
When I ask beginner questions, I spend time doing my homework first.
This list is not a class to teach you to write PHP. The p
rline; }
> .justify{text-align:justify;}
> .center{text-align:center;}
>
>
>
> This page inventories the contents of this directory and lists all
> image files in order- as
> the computer determines such matters. Here is the full inventory.
>
>
> foreach (
On Sat, Apr 7, 2012 at 1:55 PM, Maciek Sokolewicz
wrote:
> On 07-04-2012 16:37, Bogdan Ribic wrote:
[snip]
>
> Bogdan,
> you are reviving a thread over a week old, and repeating what 4 other people
> have already stated. Please don't do that, it just results in
> mailinglist-noise.
>
> - Tul
plus
I am having a really odd problem. I have a class and if I do a return
nothing is returned. If I do an echo of the variable that is being
returned I can see it so there is something to return. Is there some
strange bug in PHP?
Ben
--
Ben Edwards - Poole, UK, England
If you have a problem sendin
On Tue, 2005-02-08 at 16:47 +, Chris Ramsay wrote:
> [snip]
> I am having a really odd problem. I have a class and if I do a return
> nothing is returned. If I do an echo of the variable that is being
> returned I can see it so there is something to return. Is there some
> strange bug in PHP
Am I correct in thinking Magic Quotes automatically adds quotes to all
posted variables, therefore if you are displaying post variables on a
form you have to remove the quotes. They are only needed if you are
actually inserting/updating into the database. Whether magic quotes
are on or not you d
On Thu, 2005-02-10 at 13:28 +0100, Jochem Maas wrote:
> Ben Edwards (lists) wrote:
> > Am I correct in thinking Magic Quotes automatically adds quotes to all
> > posted variables, therefore if you are displaying post variables on a
> > form you have to remove the quotes. Th
On Thu, 2005-02-10 at 13:45 +0100, Jochem Maas wrote:
> Ben Edwards (lists) wrote:
> > PS phpsc.net seems to be down, or is the domain wrong?
>
> er yes, oops. as Jeffery pointed out it should have been
> phpsec.org. had a brainfreeze sorry.
OK, trying to do a function to r
The following code is passed $_POST to clean magic quotes code out ;_
function remove_magic_quotes( &$array ) {
foreach( $array as $index => $value ) {
if ( is_array( $array[$index] ) ) {
remove_magic_quotes( $array[$index] );
} else
I have the following code;_
$sql = "select * from text where id= '$id' ";
$row = fetch_row_row( $sql, $db );
$img_loc= $row["img_loc"];
$text_type = $row["text_type"];
$seq
Hey there-
I went to install phpopenchat today and when I run the test.php script
that comes with, I get this error:
*Fatal error*: Call to undefined function: session_save_path() in
*/path/to/website/htdocs/phpopenchat/config.inc.php* on line *98
*I'm not sure why this is coming up since the s
Hi
I have a current application where I am listing a table of order details,
where a fulfillment company can enter the tracking number and the cost of
the shipment.
At present, I have up to 40 orders displayed, and when they click on the
update¹ button, the code executes as
if ((isset($trac
//
...
...
Regards
Enda
--
On 18/05/2004 23:20, "Enda Nagle - Lists" <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have a current application where I am listing a table of order details,
> where a fulfillment company can enter the tracking number and the cost of
Miles Thompson" <[EMAIL PROTECTED]> wrote:
> At 07:56 PM 5/18/2004, Enda Nagle - Lists wrote:
>
>> >Its OK guys,
>> >
>> >Got something else myself.
>> >Here¹s the solution... Any suggestions appreciated...
>
Mark,
You need to do this:
$name = " . $FirstName . " , " . $LastName . ";
Regards
Enda
--
On 05/06/2004 01:22, "BigMark" <[EMAIL PROTECTED]> wrote:
> why is this not working. I am using instead of a form ($name =
> $_POST[name];)
> and linking to it from a users logged in page.
>
> $First
401 - 500 of 638 matches
Mail list logo