Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
om the net? We must be from different planets... > > How to do you vacation from something implanted into your brain? > http://www.imdb.com/title/tt0100802/ -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> I haven't the slightest idea what you are talking about. Vacation? Away > from the net? We must be from different planets... > Very likely, as us Saturnians inhabit the moons, not the planet. Only rocky planet-dwellers talk like that! -- Dotan Cohen http://what-is

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> If they can reach you by phone you are not on vacation. You are still > attached to their leash. > And they still throw me bones :) It's worth it! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
eses don't match ... but that's a different story I guess. > That actually sounds like a subplot of a good movie. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
n experienced PHP developer. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
mand >        Using object variable "item" call object member method "get service id" > > if condition results are false issue following command >        Using object variable "item" call object member method "get id" > > Thanks, that is probably

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
s would be > fairly simple. > Yes, the other end of the phone is an experienced PHP developer. > In any case, Ashley's nailed the foolproof technique for sure :) But I am the fool to prove it! No internet access! -- Dotan Cohen http://what-is-what.com http://gibberish.c

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
here one had to talk over the phone when a computer or other internet-enabled device was not accessible. Therefore, we would prefer to formulate a shared language now for use in such situations. Surely when coding, people "say" what they are typing in their heads. I do, but not in Englis

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
> open parenthesis > $item getServiceId > question symbol > $item getServiceId > colon > $item getId > close parenthesis > > How would you mention the -> constructs? Certainly they are not assumed? -- Dotan Cohen http://what-is-what.com http://gibberish.co.il

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Dotan Cohen
was hoping that there would be a shared language for constructs such as -> and the like. Thanks. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable name as a variable?

2009-10-05 Thread Dotan Cohen
Thanks, all! I will experiment with the three different solutions presented and see what best fits this application. As to the security aspect, yes, I am aware that this is a simplification and that the values must be sanitized. Have a great week. -- Dotan Cohen http://what-is-what.com http

[PHP] Variable name as a variable?

2009-10-05 Thread Dotan Cohen
ill be a very general-purpose tool, a switch statement on the hidden field's value would not be appropriate here. Naturally, the situation will be much more complex and this is a non-obfuscated generalization of the HTML side of things which should describe the problem that I need to solve

Re: [PHP] שנה טובה!

2009-09-20 Thread Dotan Cohen
c and can handle these messages! So isn't it about > time we had a version of PHP that does not require 'jiggery pokery' to cope > with any text? > Unfortunately I am not one of those responsible for such matters, but I do believe that Zeev and Andi have a good ide

Re: [PHP] שנה טובה!

2009-09-19 Thread Dotan Cohen
> I think this is an English language list. > The OP was just wishing everyone a happy new year. I then replied back asking him not to CC the list with such matters, but in a flash of brilliance CCed the list (bad, gmail, bad!) myself. I apologize. -- Dotan Cohen http://what-is-what.co

Re: [PHP] שנה טובה!

2009-09-19 Thread Dotan Cohen
ניצן, תזהר לא לכלול את תפוצות הדואר כשאתה שולח דברים אלו. תודה. שנה טובה! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il

Re: [PHP] Sanitizing mysql inserts of user data

2009-08-20 Thread Dotan Cohen
It wasn't the colons being mistaken for comments that threw me off, I realized that they were not comments. But being unfamiliar with PDO and named parameters I did not understand exactly what was happening. I will try to google some more information on PDO now. Thanks. -- Dotan Cohen htt

Re: [PHP] Sanitizing mysql inserts of user data

2009-08-20 Thread Dotan Cohen
t; in place of an actual value, and do malicious things to your > database, or obtain information you don't want users to see (like credit > card numbers). If you're curious, search for "SQL injection" to get more > information and see examples. > I am familiar with SQL injection, I wrote about it here: http://what-is-what.com/what_is/sql_injection.html -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sanitizing mysql inserts of user data

2009-08-17 Thread Dotan Cohen
nction.maxdb-stmt-bind-param.php http://il2.php.net/manual/en/mysqli-stmt.bind-param.php I do not see how there could possibly be a prepared statement for a user comment. I am not a programmer by trade, so I may be missing something obvious. If so, a link and a friendly RTFM would be great. -- Dot

Re: [PHP] Cannot exec in my own directory

2009-08-17 Thread Dotan Cohen
les included in this instance. I only mentioned it to show that PHP can read from that directory. Thanks. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot exec in my own directory

2009-08-17 Thread Dotan Cohen
> That's a potential security flaw waiting to happen. A script like this > shouldn't be kept in a web-accessible directory. > Thanks, Ash. That directory is HTTP-password protected. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List

Re: [PHP] Cannot exec in my own directory

2009-08-17 Thread Dotan Cohen
ure. > So if every thing else fails I'll recommend you to move the script to > /var/ww (usually your server root) instead of /home/user > I have no access to that directory. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.

Re: [PHP] Cannot exec in my own directory

2009-08-17 Thread Dotan Cohen
m the CLI in an SSH session results in the expected behaviour: the script specified in the exec command is run. Not so if I call the php script from a web browser. Thanks for the tipoff. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://w

Re: [PHP] Cannot exec in my own directory

2009-08-16 Thread Dotan Cohen
> Please copy your script in the Linux include paths. Such as /usr/local/bin > and give it neccecary permission and try your script again. > I do not have root access on this machine. That is why I run the script from /home/username/ -- Dotan Cohen http://what-is-what

Re: [PHP] Sanitizing mysql inserts of user data

2009-08-16 Thread Dotan Cohen
t two newlines in a row (or none, depending on application). It also limits spaces to a single space and ensures that all ampersands are escaped properly before sanitation with htmlentities. Dotan Cohen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sanitizing mysql inserts of user data

2009-08-16 Thread Dotan Cohen
to SQL Injection Attacks."? Logically, it does _not_ mean the same thing. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot exec in my own directory

2009-08-16 Thread Dotan Cohen
me/username/ directory there are other files, such as database_connection.inc that I regularly include_once in my PHP scripts, so I know that PHP has read access to that directory. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Sanitizing mysql inserts of user data

2009-08-16 Thread Dotan Cohen
g($dirty); return $clean; } Is this good enough to prevent SQL injection attacks? Should I add anything else? Thanks! Dotan Cohen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cannot exec in my own directory

2009-08-16 Thread Dotan Cohen
I have a script in /home/username/script.sh with permissions 777. I can SSH into the server and execute ./script.sh to run the script, but calling it from exec in PHP does not run it. What should I start checking? Thanks. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP

Re: [PHP] Does something like this exist?

2009-06-29 Thread Dotan Cohen
re utilized by which classes (eg, instantiation) > > I've done some looking around but haven't really been able to find > anything that does even some of this.  I could write functionality > that does this but didn't want to reinvent the wheel. > I think that you'

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Dotan Cohen
>> I'm self-employed. I don't plan on ever laying myself off. > >    Mind out of the gutter, Rob.  Words like "self," "laying," and > "off" will get you flagged. > How naive I was to think that I might be the only one to make the c

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Dotan Cohen
> I'm self-employed. I don't plan on ever laying myself off. > Wow, I really replaced "laying" with "getting" in my mental eye and that sentence made too much sense. Please, don't ever do that to me again! -- Dotan Cohen http://what-is-what.com http:/

Re: [PHP] Show the entire browser request

2009-06-09 Thread Dotan Cohen
ire request verbatim (valid or not) that I'd like to add. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Show the entire browser request

2009-06-09 Thread Dotan Cohen
> There are no risks that I can see in the code. You're welcome to use > it, and a link to http://stut.net/ is always appreciated ;-) > In August when I will have more time to devote to it I will put it on the site. With link, and it is _me_ who appreciates _your_ help. Thanks! Dot

Re: [PHP] Show the entire browser request

2009-06-09 Thread Dotan Cohen
it would give you credit for writing the code as well. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Show the entire browser request

2009-06-09 Thread Dotan Cohen
; Stuart, that is quite a bit of work! Nice! I also learned some really nice tips here, such as your usage of define for the header and footer, and why that is the cleanest solution when you need the content-length. The usage of sockets is new to me too, but this was easy to follow. Thanks! -- D

Re: [PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
> If its the request from the browser, why not just fire up a packet sniffer > and get it that way? Unless it's using SSL/TLS/VPN/something that would > encrypt it, you should be able to see the request in clear text. > The browser is running on a Symbian cellphone. -- Dotan C

Re: [PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
owever, I am trying to diagnose a web browser that is _not_ correctly forming it's requests, therefore I need the real request itself, as it was. I am starting to realize that PHP is not the language for this, I may have to look into an Apache module or something lower-level. Thanks! -- Do

Re: [PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
>    Roger that.  Check out getallheaders() then: > >        http://php.net/getallheaders > Well, that seems to be partway there, but it doesn't include the GET request. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http:/

Re: [PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
el, but I am trying to help someone who is writing a text-based web browser but gets "Bad Request" messages from some websites. As he is able to visit http://simplesniff.com (my site) I figured that it would help if I could just reply back with a page that contained the exact request

[PHP] Show the entire browser request

2009-06-08 Thread Dotan Cohen
I need to diagnose a web browser problem, and I'd like PHP to return a page that shows the entire browser request, exactly as it was sent. It would naturally contain all the data in the HTTP Headers Information from phpinfo() but formatted exactly as the browser sent it. Thanks. -- Dotan

Re: [PHP] So called "PHP Expert"

2009-03-21 Thread Dotan Cohen
There are people in here, you insensitive clod! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: So called "PHP Expert"

2009-03-21 Thread Dotan Cohen
fession. Where did the OP's expert study? I should make it know that I'm self-taught, so I do not rule out the possibility that one could teach himself. But I do not play the expert card, either. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List

Re: [PHP] Having trouble with a form to mail script.

2009-03-21 Thread Dotan Cohen
t; > > > > > > > > > > …and when I > use it with the associated sendmail2.php script: > > > > > > > > $emailAddress = $_REQUEST['emailAddress'] ; > > $pwd = $_REQUEST['pwd'] ; > > $confirm = $_REQUEST[

Re: [PHP] Re: So called "PHP Expert"

2009-03-21 Thread Dotan Cohen
> Maybe someone else will disagree and say that its a masterpiece, then > I'll bow out gracefully. > Actually, it is a masterpiece and it _should_ be treated like the prize that it is with it's own page on some wiki. Under the title "How not to do it". -- Dotan C

Re: [PHP] PHP Site Security issue

2009-03-19 Thread Dotan Cohen
...and get it off of GoDaddy's servers. They are notorious for problems! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Site Security issue

2009-03-19 Thread Dotan Cohen
Someone hacked your server. Report it to the server admin. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э

Re: [PHP] PHP Quiz

2009-03-18 Thread Dotan Cohen
PHP's weak points. Whoever designed the HTML did a terrific job. The site displays perfectly when increasing text font size. Give him a compliment. Alright, I signed up! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-

Re: [PHP] PHP Quiz

2009-03-18 Thread Dotan Cohen
ded 2) The answer is a matter of opinion. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и

Re: [PHP] Long Execution Time - Safe Mode

2009-03-05 Thread Dotan Cohen
g that PHP might not be the right tool for this job. To avoid a flame war, I won't mention alternatives. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж

Re: [PHP] Re: Browser timeout

2009-03-02 Thread Dotan Cohen
2009/3/2 Rick Lim : > Try > set_time_limit (0); > While technically that would work, the user would likely cancel the request, or send it multiple times, in 40 seconds. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-

Re: [PHP] Browser timeout

2009-02-27 Thread Dotan Cohen
t; messages, nothing worked. > Run the script in the background, and give the user a page that self-refreshes every 10 seconds. Or, better yet, use AJAX. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-

Re: [PHP] Which file "Included" me?

2009-02-18 Thread Dotan Cohen
ot see in the code. 2) I thought that yoursite.com is the attacked site, and mysite.com is the attacking site. Now I see that the author just messed up and they both should have been yoursite.com. Why not just use SCRIPT_NAME then? It doesn't contain the path variables. -- Dotan Cohen http:

Re: [PHP] Which file "Included" me?

2009-02-18 Thread Dotan Cohen
> http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html > > explains a technique to validate the input as well (don't trust that is > clean) > I do not understand the exploit. How is he spoofing any $_SERVER variables? The attack description doesn'

Re: [PHP] PHPers: help KDE wiki, please!

2009-02-17 Thread Dotan Cohen
> Aren't you a php developer? ;) > No, just a hobbyist who likes to tinker :) Hopefully by this time 2011 I will be a mechanical engineer, though! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-

[PHP] PHPers: help KDE wiki, please!

2009-02-17 Thread Dotan Cohen
KDE really needs a developer with PHP experience to sort out some issues with their wiki: http://aseigo.blogspot.com/2009/02/php-helper-for-userbase.html I anyone could donate the time, KDE and myself personally would appreciate it. Thanks! -- Dotan Cohen http://what-is-what.com http

Re: [PHP] Full versus relative URLs

2009-02-17 Thread Dotan Cohen
include paths (id somedir/foo.inc) are IMHO an even worse practice. > I did not know that his was possible. Thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-

Re: [PHP] Full versus relative URLs

2009-02-17 Thread Dotan Cohen
of course. > It's not vulnerable to injection in the sense that the attacker could not redirect the links to his site. At a maximum he could disable the links, but he could not redirect them. That's why I mean by hardcoded. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il

Re: [PHP] Full versus relative URLs

2009-02-16 Thread Dotan Cohen
ntly that had the > link that explained this issue on PHP_SELF. > Alternatively, $_SERVER['PHP_SELF']) could be switch()ed for known values, and $path be set accordingly with hardcoded values. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-

Re: [PHP] Full versus relative URLs

2009-02-16 Thread Dotan Cohen
r, > where inserting links like that is a pain. > For that you'd have to ask on the Dreamweaver list. I don't really like those tools. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-

Re: [PHP] Full versus relative URLs

2009-02-16 Thread Dotan Cohen
in one place: "; ?> Full URLs don't break when users save the pages to disk. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-

Re: [PHP] Full versus relative URLs

2009-02-16 Thread Dotan Cohen
> My casual observation seems to indicate that the former will load faster > than the latter. But has anyone done any benchmarking on it? Did you clear the cache between tests? That could explain the speed difference. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד

Re: [PHP] for the security minded web developer - secure way to login?

2009-02-14 Thread Dotan Cohen
grab some salt off your server, use > javascript to encrypt the pass, and then sending it back. > Have you seen the fit Firefox 3 makes for self-signed certs? So far as the end user is concerned, the site is inaccesible. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-

Re: [PHP] Don't Forget to Punch the Clock, Shorty!

2009-02-12 Thread Dotan Cohen
letting you know why many list members won't visit that site. [1] http://en.wikipedia.org/wiki/Richard_Whitney_(financier) -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه

Re: [PHP] Don't Forget to Punch the Clock, Shorty!

2009-02-12 Thread Dotan Cohen
> Anyone care to try this out? Feedback welcome. > > http://dftpcs.com > No. What is it? -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З

Re: [PHP] Opinions needed

2009-02-12 Thread Dotan Cohen
em than a database problem. Guess what my suggestion will be... -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э

Re: [PHP] How can an elephant count for nothing?

2009-02-12 Thread Dotan Cohen
Have you tried with a mouse? -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-08 Thread Dotan Cohen
2009/1/8 Richard Heyes : >> until you have to dump it, zip it, ssh it over to another box and then >> import it back in > > That's what fag breaks are for... :-) Well, that and smoking. > http://xkcd.com/303/ -- Dotan Cohen http://what-is-what.com http://gibberish.co

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-07 Thread Dotan Cohen
novices (myself included) who may not know better. Be careful with large databases if you do not have experience with them. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Dotan Cohen
gt; interaction it seemed like the place to ask. Thanks in advance, and have a > great day! > > Frank > http://justfuckinggoogleit.com/search?q=char+varchar+text+mysql -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا

Re: [PHP] Thank you everyone, What a wonderful world

2009-01-03 Thread Dotan Cohen
2009/1/3 Behzad : > since you have modern weapons, equipped > with lasers! Did somebody say sharks with frigin' lasers? -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل

Re: [PHP] Thank you everyone, What a wonderful world

2009-01-03 Thread Dotan Cohen
2009/1/3 Daniel Brown : > On Sat, Jan 3, 2009 at 14:00, Behzad wrote: >> >> Who are we? Vampires or Blinds? > >Worse. We're geeks. > And we have a troll in our midst. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-

Re: [PHP] Thank you everyone, What a wonderful world

2009-01-03 Thread Dotan Cohen
pted. According to the Geneva convention, it is _Hamas_ that is responsible for the civilian deaths in Gaza. By the way, Egypt (who knows better than anyone else in the world) blames Hamas fully for what has happened in the past week. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il

Re: [PHP] Re: Webhotel structure

2008-12-31 Thread Dotan Cohen
2008/12/31 tedd : > At 9:47 AM +0200 12/31/08, Dotan Cohen wrote: >> >> 2008/12/31 tedd : >>> >>> Everythink about getin' a job? >>> >> >> There's that word again! You keep using that word. I do not think that >> it means what

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-31 Thread Dotan Cohen
e OP: congrats! You will enjoy this! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й

Re: [PHP] Re: Webhotel structure

2008-12-31 Thread Dotan Cohen
to look at my work homepage www.protelevision.com where > I am a HW engineer. > I cannot see that website as I have flash disabled. When your company puts up an HTML site I would be glad to look over it. Thanks. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread Dotan Cohen
2008/12/31 tedd : > Everythink about getin' a job? > There's that word again! You keep using that word. I do not think that it means what you think it means. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread Dotan Cohen
host, compared to my less than 2$ a month, > but their help is a major candidate for winning the price of the most > useless help ever. > > A google search found a blog where the guy say they do not support ssh on > pivate hosting, so I guess not. > > /Peter > -- Dotan Cohen

Re: [PHP] Re: Webhotel structure

2008-12-30 Thread Dotan Cohen
rver). Otherwise, I recommend Konqueror (From KDE) as the best graphical tool for managing files on a remote server. Good luck. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه

Re: [PHP] Webhotel structure

2008-12-30 Thread Dotan Cohen
2008/12/28 tedd : >>> So I would prefer to remove everythink and start all over . > > He's talking about everythink. Whenever I do that, I have problems too. > Interestingly enough, today I opened Dan Kegel's (of Wine fame) website and was greeted with this: "D

Re: [PHP] Page name for form submit: REQUEST_URI or SCRIPT_NAME

2008-12-28 Thread Dotan Cohen
tedd > Thanks, Tedd. That approach seems a bit dangerous for non-standard browsers such as mobile phones and the like who's developers might not have though about it. Also, in the event that a user saves the form locally (likely in this case) I need it to have a place to go! Tha

Re: [PHP] Webhotel structure

2008-12-27 Thread Dotan Cohen
2008/12/27 Daniel Brown : >What? > What's not clear? He asked about webhotels, he obviously intends on having extramarital cybersex. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-

Re: [PHP] PHP Help Needed

2008-12-27 Thread Dotan Cohen
//www.google.com/search?q=php+mysql+file+download+script >http://www.joeclipart.com/blog/images/2007/06/20070628crack.jpg >http://www.phpbuilder.com/tips/item.php?id=5 > That was subtle :) -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י

Re: [PHP] Page name for form submit: REQUEST_URI or SCRIPT_NAME

2008-12-27 Thread Dotan Cohen
, using REQUEST_URI gives the actual > request, where PHP_SELF gives the actual file. > That is a good point, and it is rather likely that the form may wind up on an index.php page where the filename is not part of the URI. Thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co

Re: [PHP] PHP Help Needed

2008-12-27 Thread Dotan Cohen
2008/12/27 Ashley Sheridan : > RTFM > > http://www.php.net > Or STFW http://justfuckinggoogleit.com/search?q=php%20mysql%20file%20download%20script -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ

[PHP] Page name for form submit: REQUEST_URI or SCRIPT_NAME

2008-12-27 Thread Dotan Cohen
, but I ask here anyway to know if there are other differences that I did not account for. Thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К

Re: [PHP] MERRY XMAS

2008-12-24 Thread Dotan Cohen
2008/12/24 Richard Heyes : >> word > > Which one? > Open Office 3.0, to be exact. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-

Re: [PHP] MERRY XMAS

2008-12-24 Thread Dotan Cohen
2008/12/24 German Geek : > Merry xmas to everyone! Thanks for the support and fun discussions. > חג חנוכה שמח! Happy Hanuka to those who celebrate it! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر

Re: [PHP] Chrome 1.0 released

2008-12-13 Thread Dotan Cohen
2008/12/14 Yeti : > I have to defend poor little IE a little now. It supports XHTML and > CSS2 pretty well so far. And those standards came out a couple of > months ago. > How about HTML 4[.1] support? I would have like to see that fixed before adding new features. -- Dotan Cohen

Re: [PHP] Chrome 1.0 released

2008-12-13 Thread Dotan Cohen
ed on the internet because of that limitation, and my argument is that one browser that is _known_ problematic should not be cause to eliminate a feature for everyone else. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث

Re: [PHP] Chrome 1.0 released

2008-12-13 Thread Dotan Cohen
stop acting like IE compatibility is the holy grain of web design then our customers will have no reason to think that either. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Dotan Cohen
2008/12/12 Robert Cummings : > Do you mean "as seen on /." ? > I do, at least.. at least I mean what I say... that's the same thing, you know. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-

Re: [PHP] Chrome 1.0 released

2008-12-12 Thread Dotan Cohen
seen on ./, it seems that Google may be pressing OEMs to include Chrome bundled on new computers. That cannot happen with a beta web browser. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-

Re: [PHP] basic php question...

2008-11-04 Thread Dotan Cohen
2008/11/4 Boyd, Todd M. <[EMAIL PROTECTED]>: >> Is there a compliance test? > > There's a link at the bottom of this page for an automated test: > > http://pamil-visions.com/W3C-compliance.php > Thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co.

Re: [PHP] basic php question...

2008-11-04 Thread Dotan Cohen
mpliance too, which they weren't. Now, lots of $$$ later, they are. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ä-ö-ü-ß-Ä-Ö-Ü

Re: [PHP] basic php question...

2008-11-04 Thread Dotan Cohen
Is there a compliance test? -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ä-ö-ü-ß-Ä-Ö-Ü

Re: [PHP] basic php question...

2008-11-04 Thread Dotan Cohen
without Javascript enabled, such as those who use the popular Firefox extension NoScript or who are browsing from a cellphone / PDA. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ä-ö-ü-ß-Ä-Ö-Ü

Re: [PHP] basic php question...

2008-11-04 Thread Dotan Cohen
2008/11/4 bruce <[EMAIL PROTECTED]>: > and what's the best way to do the redirect > Header redirects are my preferred method, because of the Back button on the browser. > sample code would be cool! > It is available at php.net/manual -- Dotan Cohen http:

Re: [PHP] Mailing lists

2008-11-03 Thread Dotan Cohen
2008/11/3 Daniel P. Brown <[EMAIL PROTECTED]>: >Dark matter, grey matter, fecal matter, it doesn't matter. > It's all mind over matter. I've got no mind, and it doesn't seem to matter. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו

Re: [PHP] Mailing lists

2008-11-03 Thread Dotan Cohen
2008/11/3 Richard Heyes <[EMAIL PROTECTED]>: >>> OMG Pwnies! >>> >> Fixed that for you. > > In my best Manuel voice (kinda topical)... Keh?? > /. memes. You may be better off not knowing. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-

Re: [PHP] Mailing lists

2008-11-01 Thread Dotan Cohen
#x27;t spend the last two-hundred-thirty-two years butchering > the language just for you to correct us, Sheridan! If you guys had > gotten it right in the first place, we wouldn't have had to improve > it! ;-P > You mean fork it? funEnglish? -- Dotan Cohen http://what-is-what.c

<    1   2   3   4   5   6   >