[PHP] date problem

2011-04-01 Thread Dan Dan
Hi Folks, I am trying to get the day of month for a particular day of week (e.g. Tuesday) for the first, second, third, fourth week in a month. The code i have seems issues in March, but works e.g. in April: print date("d-m-Y H:i:s",strtotime('1 March 2011 Tuesday')); >> 01-03-2011 00:00:00 prin

Re: [PHP] date problem

2011-04-01 Thread Dan Dan
x27;March 2011 third Tuesday'))."\n"; print "fourth: ".date("d-m-Y H:i:s",strtotime('March 2011 fourth Tuesday'))."\n"; first Tuesday :01-03-2011 00:00:00 first: 08-03-2011 00:00:00 second: 15-03-2011 00:00:00 third: 22-03-2011 00:00:00

Re: [PHP] date problem

2011-04-02 Thread Dan Dan
gt; print "second: ".date("d-m-Y H:i:s",strtotime('second Tuesday of March > 2011'))."\n"; > print "third: ".date("d-m-Y H:i:s",strtotime('third Tuesday of March > 2011'))."\n"; > print "fourth: &

[PHP] php.net links page question

2003-01-30 Thread dan
i would like to suggest a link for the php.net links page, how would i go about doing that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: redirecting a domain

2003-03-27 Thread Dan
s in you index.html file without the comment markup of course. Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Make thumbnail online

2003-03-27 Thread Dan
On Sun, 11 Jan 2004 16:32:36 +0330, [EMAIL PROTECTED] (Sadeq Naqashzade) wrote: >Hi every one, >I want to create thumbnail of a photo stored in MySQL table online. > >Best Wishes, >S. Naqashzade > > http://www.php.net/manual/en/ref.image.php -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Internet Explorer toolbar

2003-03-27 Thread Dan
On Thu, 27 Mar 2003 12:32:06 -0800 (PST), [EMAIL PROTECTED] (Manuel Ochoa) wrote: >Is there any way of using php to launch a new browser without the IE toolbars? No. PHP is server side, not client side. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Installing PHP

2002-10-03 Thread Dan
configure the webserver. Does any know where i can get step by step instructions in setting this up. The instructions that come from php.net are too confusing. THanks Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Arrays

2002-06-10 Thread Dan
I'm trying to get my head around arrays and how to munipulate them. what I need to do is add html around the arrays eg. ".$name."; I have my head around that but I the number of lines the I need to create is going to change so I need the script to repeat untill all the arrays are used. -- -

[PHP] Re: Arrays

2002-06-10 Thread Dan
"; } ?> What I need to do now is in the echo string is make use something like: $echo = "". $name .""; I have tryed doing it this way but it will only desplay one array when I call $echo down the page. What can I do to desplay all of them? "Dan" <

[PHP] How do I stop foreach if $menu not set??

2002-06-11 Thread Dan
I Have worked out this, but when $menu is not set it does the foreach function anyway, and desplays an error. What Can I do to stop the foreach function from working if $menu is not set?? 'Overview', 'moreinfo.php' => 'More Info' ); } #These parts are topics and there may be more than two. if

[PHP] contents from a database

2002-07-16 Thread Dan
ntent WHERE section='$section' "; $result = mysql_query($query); while($res = mysql_fetch_array($result)) { $sub="".$res[art_ name]." "; } I know there is something I can add after $sub. Please can you tell me what it is? thanks heaps, Dan -- PHP Gener

Re: [PHP] String Array Creation and assigment

2003-10-29 Thread Dan
York: Harper Business'; ... none of the above work, what's right? help will be appreciated. Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] String Array Creation and assigment

2003-11-03 Thread Dan
i found the problem myself, array has to be defined like this: $b=array[0=>0]; then $b can be any array of any type of index and values as you wish to "assign" to it. "Dan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > please help with the f

RE: [PHP] html or php to pdf whith pdflib?

2003-12-20 Thread dan
i use htmldoc, which converts html to pdf, saves trying to render lines and borders in a pdflib how painful. On Sat, 2003-12-20 at 10:20, Chris wrote: > Hi Reicardo, > This can't be done by using the pdf_* functions in php without reading the > whole source file, parsing the HTML and then working

[PHP] lookin for a Menuing System...

2002-04-28 Thread Dan
I could do this myself but I don't want to waist time writing something that I could have just asked for.. what I need is a menuing system.. When link is clicked the sub-topics appear under the topic you just clicked on.. e.g. if you where to click on Contact. Contact --becomes: Contact En

[PHP] Re: lookin for a Menuing System...

2002-04-29 Thread Dan
on the menu is clicked the page refreshes to another page anyway and desplays the sub-tpoic at the same time anyway.. Also with PHP if a user clicks back on the browser window the script knows where is was.. or if someone refreshes the page the script stays where it is... Thanks Dan. "Da

[PHP] Can't AddType .htm

2002-04-03 Thread Dan
work and .htm files don't work. If I try other suffixes other than .htm say ".dog" for example that works. So it seems something elsewhere is over riding it. Anyone got any suggestions. Regards Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Extract data

2001-12-04 Thread Dan
Hello guys I'm making poll script that stores data like this: 0|0|0|0|0 But i'm getting this error all the time: Warning: unexpected regex error (14) in c:\program files\apache group\apache\htdocs\eztatic\poll.php on line 25 25: list(q1,q2,q3,q4,q5)= split ("|", $answer, 5); Could an

[PHP] assignment operator works for comparison??

2001-04-10 Thread Dan
This confused me for awhile, because the single equal sign seemed to work for comparison, but created inexplicable errors in my programs. It seems strange to me that a successful variable value assignment does not return true. example: --Dan -- PHP General Mailing List (http

Re: [PHP] assignment operator works for comparison??

2001-04-10 Thread Dan
ssful variable value assignment does not return > >true. > > > >example: > > > > > > > $shiny = 1; > > if($shiny = 0){ echo("This wont print"); } > > echo( $shiny ); //this will return 0 > > > >?> > > > >--Dan > > >

Re: [PHP] assignment operator works for comparison??

2001-04-10 Thread Dan
You are right, thank you. > It looks to me like the value of an assignment is the value assigned, as in > Perl. But I don't know for sure, haven't come across this in the manual. > > Kirk > > > > > if($shiny = 0){ > > > This does not compare anyting, it assigns 0 to $shiny > > > > yes i know, bu

[PHP] limiting lines

2001-07-29 Thread dan
Hi, I would like to run a variable of unlimited length through a filter that would limit its length to 55 lines (ie limiting it's length to less than 1 printed page). Does anyone know of an easy way to do this? thanks. Regards, Dan Barber Mojolin --- Mojolin: The Open S

Re: [PHP] Re: limiting lines

2001-07-29 Thread dan
t that to a "\n" ? thanks again. Dan Mojolin: The Linux Employment Site http://mojolin.com > If you're expecting new lines, you could do this: > > $length = explode("\n", $message); > > if (sizeof($length) > 55) { > // error > } > -- PH

[PHP] cross-compile PHP

2004-09-27 Thread Dan
Has anybody gained general experience with crosscompling PHP? I want to run PHP on an axis devboard82 in combination with sqlite. The crosscompiler is gcc-cris (cris-dist-1.56). I appreciate any feedback, thanks, Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] cross-compile PHP

2004-09-27 Thread Dan
Has anybody gained general experience with crosscompling PHP? I want to run PHP on an axis devboard82 in combination with sqlite. The crosscompiler is gcc-cris (cris-dist-1.56). I appreciate any feedback, thanks, Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] BOA and PHP

2004-10-05 Thread Dan
Is it possible to run PHP with a BOA webserver? What have I to change to make them work togehther? Feedback is appriciated, thanks, Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: anchor name on URL

2008-11-20 Thread Dan
> > The Webkist engine afaik is licensed under the GPL, because of the use > of the code from the original KHTML. I'm not sure how this fits with M$ > proprietary plan however... > Webkit is licensed under LGPL and BSD licenses. > You say that, have you heard the latest for IE9? They're already >

Re: [PHP] My project requires creating office documents on PHP. Any recommendations on what to use?

2010-11-20 Thread Dan
On Nov 20, 2010, at 1:10 AM, chetan ahuja wrote: > My project requires creating office documents on PHP. Any recommendations on > what to use? When you say office documents do you mean you have to create them using Microsoft office? Or just need to replicate current paper documents? If you n

[PHP] Intelligent Forms and Form Processing

2005-02-15 Thread dan
Hello, all - I am working on a few small projects to try and teach myself how to build intelligent forms. I have come as far as making a few simple ones that are created when their parent function is called. Something like the following: function displayMyForm($username='',$password='',$accou

Re: [PHP] Intelligent Forms and Form Processing

2005-02-15 Thread dan
Matt M. wrote: Any feedback will be appreciated. why reinvent the wheel? take a look at: http://pear.php.net/package/Html_quickform To the people who want to truly understand how the system works, the wheel, as it stands, is wothless :) I know I can use a drop-in solution, and I might consider i

Re: [PHP] MySQL and MySQLi compiling

2005-02-17 Thread dan
Chris wrote: Hi, I've been trying to get these 2 compiled together for a while, and have had no luck. WHere my problem lies, I think, is that I'm not sure what directory should be specified on the --with-mysql part ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/include/m

Re: [PHP] mysql query

2005-02-17 Thread dan
Sebastian wrote: Hello, im working on an article system and looking to avoid running three queries. example, i have this query: SELECT id,title FROM articles WHERE id=$_GET[id] now say $_GET[id] = 5 I would like to get the previous id 4 and the next id 6 (if there is one) so i can do something like

Re: [PHP] php temporary files

2005-02-21 Thread dan
Péntek Imre wrote: Hi, Now I want to see all my temporary php files in /tmp/php. I made these settings: [EMAIL PROTECTED]:~# cat /etc/php.ini |grep /tmp/php upload_tmp_dir =/tmp/php session.save_path = "/tmp/php" soap.wsdl_cache_dir="/tmp/php" [EMAIL PROTECTED]:~# But when I use gzopen() or gzfile

[PHP] Re: [MondayMorningRant] Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-02-28 Thread dan
RANT BABY :-) Dan Trainor wrote: Hello, all - First, I'd like to appologize for treading a bit off-topic here, but I think that it will cover a lot of questions that others may have. My company hosts several "Adult-oriented" Web Sites. Among other tools dunno about the rest

Re: [PHP] Apache and PHP

2005-02-28 Thread dan
Gustav Wiberg wrote: Hi there! I've just installed Apache on a new computer. (just for testing) It's Windows XP. I've then installed PHP and it says that Apache could be not configured automatically. Newbies question as hell probably but here it goes: I can access my Apache-server, I have the doc

Re: [PHP] Semi-OT: Anti-password trading/sharing solutions

2005-02-28 Thread dan
Richard Lynch wrote: Dan Trainor wrote: I'm not quite sure why you chose the PHP community as a recipient -- There are quite a few Apache modules out there. And Modules such as mod_auth_mysql and mod_auth_ldap (?) and, really, any old mod_auth_XYZ module would be a closer "match" fo

Re: [PHP] Re: Authentication fails - problem line found

2005-03-04 Thread dan
phpninja wrote: I think all php functions are case sensitive and must be all lowercase. try changing "IsSet" to "isset" and give it a run. I im not 100% sure because i always type every function in php lowercase and keep it the same throughout the application so i dont ever have to worry about that

Re: [PHP] Re: Authentication fails - problem line found

2005-03-04 Thread dan
John Swartzentruber wrote: On 3/4/2005 2:23 PM Dan wrote: phpninja wrote: I think all php functions are case sensitive and must be all lowercase. try changing "IsSet" to "isset" and give it a run. I im not 100% sure because i always type every function in php lowercase

Re: [PHP] a new it company

2005-03-09 Thread dan
Dan Tappin wrote: I think Rory has trouble jumping to conclusions. I was attacked off list by Rory thinking I was another list member... another dant (remember the OT adult content rant / thread?). I would agree that this is not really spam... just bad judgment. The flood of angry replies to

[PHP] Temporary storage of data

2005-03-10 Thread dan
Hello, all - I am building a script that basically records some data on the local server for a period of about one hour. At that time, the data is sent to another server by means of HTTP POST. The problem I'm faced with is how to store the data locally. There are a few things that we're going

Re: [PHP] Temporary storage of data

2005-03-10 Thread dan
dan wrote: Hello, all - I am building a script that basically records some data on the local server for a period of about one hour. At that time, the data is sent to another server by means of HTTP POST. The problem I'm faced with is how to store the data locally. There are a few things

Re: [PHP] Regular Expressions?

2005-04-08 Thread dan
[EMAIL PROTECTED] wrote: Windows 2000 Server IIS 5/Apache 1.3.33 MySQL 4.1.1 Smarty 2.6.9 PHP 5.0.3 Hi all, I am looking for help handling a form input to SQL. I believe the solution has to do with regular expressions. My big problem is that when a user submits data such as: Joe's Crabshack The '

[PHP] Creating intelligent forms

2005-04-13 Thread dan
Hello, all - I had some questions regarding the creation of "intelligent" forms - forms that take data, and then parse it for errors, "real" data, etc etc. The first idea I had was to make a function to display the form. When the form is submitted, the page would be called again (i.e. the form'

[PHP] Global Variables

2005-04-28 Thread Dan
iables and remember them throughout the session. How do I do that? Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: editor that typesets the php code

2005-04-28 Thread Dan
herwise, there's bluefish ( gtk2-based ) , which does a very nice job of syntax highlighting etc, and it's open-source. I used it for ages until I decided a needed a debugger that didn't suck. Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail() Problem

2005-05-09 Thread dan
Mary-Anne Nayler wrote: Hi. I am very new to this group and this is my first request for help so please be patient. when I try to use the mail() function in a PHP based webpage I get the following error: Fatal error: Call to undefined function: mail() in on line I have tried changing some ma

[PHP] Form handling

2005-05-11 Thread dan
Hello, all - I've been researching how to handle forms properly, and I think I figured out a way that might be beneficial for me to use. It is as follows: (index.php) session_start(); if (isset($_SESSION['step'])) { switch $_SESSION['step'] { case "1":

[PHP] auto_prepend_file in Apache Directory container

2005-05-12 Thread dan
Hello, all - I'm trying to override the value of php.ini's 'auto_prepend_file' function, inside of an Apache Directory container. I'm not having much luck. In fact, no luck at all. This never happens. So I'm wondering now, are functions set by 'php_value' inside of an Apache config file only

Re: [PHP] Best CC gateway

2005-05-12 Thread dan
Sam Smith wrote: Any recommendation for the easiest credit card gate way for PHP running on FreeBSD? Authorize.net? Thanks Sam - I've been using CyberSource and have been quite happy with it. I got a deal on it by gonig through Bank of America and acquiring a merchant account, as well - altho

Re: [PHP] Form handling

2005-05-12 Thread dan
2005 4:57 pm, dan said: Hello, all - I've been researching how to handle forms properly, and I think I figured out a way that might be beneficial for me to use. It is as follows: (index.php) session_start(); if (isset($_SESSION['step'])) { switch $_SESSION['st

Re: [PHP] auto_prepend_file in Apache Directory container

2005-05-12 Thread dan
dan wrote: Hello, all - I'm trying to override the value of php.ini's 'auto_prepend_file' function, inside of an Apache Directory container. I'm not having much luck. In fact, no luck at all. This never happens. So I'm wondering now, are functions set by &#

Re: [PHP] Form handling

2005-05-13 Thread dan
Richard Lynch wrote: On Thu, May 12, 2005 12:55 pm, dan said: I was just looking for some sort of confirmity and ease of use. I've been experimenting with some of my own ways to handle form data. There's nothing that I hate more than clutter, so that's why I wanted to break the fo

Re: [PHP] auto_prepend_file in Apache Directory container

2005-05-13 Thread dan
Richard Lynch wrote: On Thu, May 12, 2005 12:48 pm, dan said: I'm trying to override the value of php.ini's 'auto_prepend_file' function, inside of an Apache Directory container. I'm not having much luck. In fact, no luck at all. This never happens. So I'm wonde

Re: [PHP] Form handling

2005-05-13 Thread dan
Jason Barnett wrote: Dan wrote: Richard Lynch wrote: ... The "value added" of the central switch seems dubious to me. Just my opinion. Richard - I want your opinion, which is why I'm taking a stab at the list ;) What other methods would be good to use? Using a giant if statemen

[PHP] Re: www.soongy.com

2007-08-17 Thread Dan
don't see the appeal, what is this for? - Dan ""Gevorg Harutyunyan"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, I am Gevorg. I just wanted to introduce you my new PHP based work here www.soongy.com <http://www.soongy.com/> . It is

[PHP] Re: About Session And Cookies

2007-08-31 Thread Dan
Wow, you really need to be carefull when ever you're dealing with money, although if you're just handing the objects in a cart and passing that to a secure payment system then it's not as big of a deal. Cookies can be stolen. Sessions are vulnerable to snooping if you're on a shared server. T

[PHP] Re: text to HTML

2007-08-31 Thread Dan
the limited need of paragaphs and newlines then go with Ron's solution, it'll work just fine. - Dan "Ron Piggott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Is there a PHP command that turns text into HTML? EXAMPLE: "before" Hi. How are

Re: [PHP] help with session

2007-08-31 Thread Dan
You should be sanatizing code here. When you save it to the session and when it's output. Look arround the newsgroups or online for info about it, it's everywhere. - Dan "mike" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 8/26/07, Jason C

[PHP] Re: Which CAPTCHA is the besta?

2007-08-31 Thread Dan
one by making it yourslef... yes form scratch. If there's a one of a kind script nobody has seen it before and they probably dont' have programs to crack it. Plus it's really easy for users to use since it can be made simple. Plus then you have control over the source. - Dan &qu

Re: [PHP] for loop inside a switch

2007-08-31 Thread Dan
Sanjeev is right. You're thinking about the problem backwards. You're trying to build a Switch inside a loop. Remember, if you ever have to do some operating multiple times you're using a forloop, then the thing that you want to repeat(switch case) is INSIDE the for loop. -

[PHP] Sessions running out of storage space - Increase memory?

2007-10-03 Thread Dan
ideas on how to fix this problem or a more elegant solution to my huge data needs? - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions running out of storage space - Increase memory?

2007-10-03 Thread Dan
After thinking about this a while I also thought of making my own cache. The problem with that is would it be any faster or have any less strain on the server than having multiple requests/connections to the database? - Dan "Per Jessen" <[EMAIL PROTECTED]> wrote in mess

Re: [PHP] Sessions running out of storage space - Increase memory?

2007-10-03 Thread Dan
The data doesn't change often but the querys do. Thats why I was origionally thinking of just storing the entire result in a session and just use the part of the session I needed. So caching wouldn't really work. That was something intresting though that I didn't know earlier

Re: [PHP] Sessions running out of storage space - Increase memory?

2007-10-05 Thread Dan
n message news:[EMAIL PROTECTED] stick in in an array in a session >>> "Dan" <[EMAIL PROTECTED]> 10/3/2007 2:21 PM >>> I need to retrieve a huge amount of data form a database and do so many times. To eliminate the overhead of connecting to the data

Re: [PHP] A two flavored post

2007-10-12 Thread Dan
o have the new JS generated link. - Dan Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 10/4/07, tedd <[EMAIL PROTECTED]> wrote: Hi gang: I asked this question on the javascript list, but for some reason it's taking forever to post there

Re: [PHP] Function return

2007-11-02 Thread Dan
O secure way to validate client side, none, absolutely none. Check that the date coming in is a valid date then create a date object with it, that way even if they somehow do slip past your date validation then the object just won't be created correctly. There's lots to validat

php-general@lists.php.net

2007-11-30 Thread Dan
Unfortunatly javascript can't access the filesystem so it can't get filenames. The closest way you could do something like this would be to use Java (not javascript, totally different). It's a permissions thing, just the way JS and everything else is designed. - Dan "&

[PHP] Re: how do i get a printout of original multipart post data

2007-11-30 Thread Dan
h network card you want to use (you probably only have one), start capture. You'll now see all the packets going down the wire. Go ahead and do the post and you'll be able to see the post data. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: running cmd via php

2007-12-11 Thread Dan
ht want to know that exec doesn't always work some hosts have it turned off for obvious security reasons, also there's other alternatives other than exec such as shell_exec I think that's the name, etc although that's for Linux which can do a lot of the stuff that Window

[PHP] Re: running cmd via php

2007-12-11 Thread Dan
ht want to know that exec doesn't always work some hosts have it turned off for obvious security reasons, also there's other alternatives other than exec such as shell_exec I think that's the name, etc although that's for Linux which can do a lot of the stuff that Window

Re: [PHP] Using require instead of redirect architecture

2007-12-19 Thread Dan
he had is the way I've seen this problem done the most. It works, it's simple and this way you have one less PHP file, just enter your data and congratulations. The load to the server shouldn't be any different if you did it the way you suggested. Oh, well just my opinio

[PHP] Re: Best way to allow users to post youtube video links ?

2007-12-20 Thread Dan
anyway and you don't have to do any other validation or filtering besides only letting alphanumeric through. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Unix date

2007-12-28 Thread Dan
it in so you never have to worry about the local time options. - Dan "tedd" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi gang: Using: $unix_in = 1255845600; echo(date("M d, Y h:i:s a",$unix_in)); On one sever, produces: Oct 18, 2009 02:00:00

Re: [PHP] Unix date (even more bazaar)

2007-12-28 Thread Dan
d? What the hell is the difference between these two stings? Arr I knew this day would come. tedd Hi Tedd, next time you could just reply to your origional thread, you can change the subject without making new thread, it's just harder for other people to follow. Anyway, check

[PHP] Re: fopen() for http:// sometimes working, sometimes not

2007-12-28 Thread Dan
, if you try to validate http://localhost it goes ahead and validates your server's html. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: automatic caller

2008-01-02 Thread Dan
ust use the Skype API and use them for calls. Since this is just a prototype then there probably won't be many calls made on it and it should not be very expensive. You would have to combine the skype API though with some kind of text to speech software. - Dan -- PHP General Mailing Li

[PHP] Re: How to secure Flash Video?

2008-01-04 Thread Dan
it. Jesh, this is really a lot harder than I thought. Oh well, guess there's never absolute security. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Dan
ld make much sense from clear plain JS anyway. Flash is also a good bet. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to take video embed codes and change all their widths/heights?

2008-01-17 Thread Dan
t;value="http://www.youtube.com/v/' + MovieID + '&rel=1">name="wmode" value="transparent">src="http://www.youtube.com/v/' + MovieID + '&rel=1" type="application/x-shockwave-flash" wmode="transparent" width=&qu

Re: [PHP] changing the ini from a file

2008-01-17 Thread Dan
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Jan 16, 2008 12:02 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: Jim Lucas wrote: > Wolf wrote: >> I'm using .htaccess to do >> php_value auto_prepend_file "auth.php" >> >> The problem is that there are very specific fil

[PHP] Re: a better way to do a data import?

2008-01-21 Thread Dan
ou have that, most mysql interfaces have an import ability where you can give it a file which is a list of commands (insert, update, etc.) and it will run them itself. That should be much faster. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Resetting drop-downlists in input-fields for texts

2008-01-21 Thread Dan
g basis or not, nor what versions it might be limited by. David This is only if you are using IE's autocomplete, I believe google and a ton of third party toolbars have auto complete/ form auto fill in features. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: open a secondary window/tab in the browser from php

2008-02-18 Thread Dan
"julian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I have an application that along filling in some forms, it produces a pdf file, as confirmation of all entered data. I want to send this pdf file to a different window/tab of the browser, so it is displayed and can l

[PHP] Re: Fwrite Function

2008-02-18 Thread Dan
If that's really your code then your script is going to get abused in no time. It's important to sanatize any user input before just writing it to a file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Dan
aving to install php. What is the name of this? - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Newbie ' If Statement' Question

2008-03-19 Thread Dan
it just treat it as a string still? - Dan "Al" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Here's how I'd do it. $row= $emp_row->getRecordId();//Or, you can put this inside the heredoc with {} //heredoc $str= << txt; if (!empty($

[PHP] MCrypt not decrypting simple text

2008-03-20 Thread Dan
et_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_CBC); $iv = mcrypt_create_iv($size, MCRYPT_DEV_RANDOM); return mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $password, pack("H*", $encrypted_text), MCRYPT_MODE_ECB, $iv); } // End of function - Dan -- PHP General Mailing List (htt

[PHP] Re: MCrypt not decrypting simple text

2008-03-21 Thread Dan
Ok, looks like I'm not getting much intrest here, can anyone recomend which newsgroup I should post this under? Is there a crypto group or anything of the like?: - Dan ""Dan"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm using MCrypt

[PHP] Re: Stored Procedure Question

2008-03-24 Thread Dan
I'm not sure that it can be done. I've never heard of anyone doing it before. Why don't you just call the PHP script from your C++ program after you call the stored proc? - Dan <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I am very aware most of yo

Re: [PHP] Requested PHP apps / sites

2008-04-10 Thread Dan
rtual whiteboard, etc. Could be cool. - Dan Oh, what you're looking for is a think tank. I'd been trying to find people in my area to get together and do the same thing. No such luck around here, but you may have luck in your local area. Working offline with people, when you can boun

[PHP] Re: Choosing PHP or ? for building an automatic photo web.

2008-06-08 Thread Dan
an just go to mygallery.php or something, and have php build the thing on the fly. - Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Calling an executable for processing some data sent from PHP

2007-06-15 Thread Dan
Ok, so I have a PHP script, and I also have a program written in Pascal, it's compiled in the native executable for whatever OS the server is running. I want to have the user input info and then send that info to the Pascal program to call a function and send the info as parameters. Is there

Re: [PHP] Calling an executable for processing some data sent from PHP

2007-06-15 Thread Dan
eters in any of those functions, can you do that? - Daniel ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/15/07, Dan <[EMAIL PROTECTED]> wrote: Ok, so I have a PHP script, and I also have a program written in Pascal, it&#x

Re: [PHP] Calling an executable for processing some data sent from PHP

2007-06-15 Thread Dan
Is there some way I could keep the program open and give it further arguments? ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/15/07, Dan <[EMAIL PROTECTED]> wrote: Will that script also work on Apache in Windows? OS X? Just checki

[PHP] Calling Pascal code/functions from PHP

2007-06-15 Thread Dan
I know for some languages there is a way to call code from another language. For example you can call C funcitons from Pascal, etc. Is there any way I can call Pascal functions/code from PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Calling an executable for processing some data sent from PHP

2007-06-15 Thread Dan
ut I'll try the solutions suggested. Yes daemonizing it would probably work too. - Daniel ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/15/07, Dan <[EMAIL PROTECTED]> wrote: Wow, thanks for the code and the fast respo

Re: [PHP] Calling Pascal code/functions from PHP

2007-06-15 Thread Dan
niel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/15/07, Tijnema <[EMAIL PROTECTED]> wrote: On 6/15/07, Dan <[EMAIL PROTECTED]> wrote: > I know for some languages there is a way to call code from another > language. > For example you ca

[PHP] Re: Extract specific div element from page

2007-06-15 Thread Dan
Or you could just use Javascript combined with PHP, just use javascript it's something like this document.getElementById('tagId').innerHtml that will give you the html(contents) of the tag you specify. Then just do something like document.form.value = document.getElementById('tagId').innerHtm

Re: [PHP] Creating 'Previous - Next Buttons' Logic - Novice Question

2007-06-15 Thread Dan
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/15/07, revDAVE <[EMAIL PROTECTED]> wrote: Novice Question: I would like to create a set of pages that could use some kind of logic to have "previous - next buttons "so that when the button was clicked it would a

  1   2   3   4   5   6   7   8   9   10   >