[PHP] Detect if javascript is enabled

2001-09-20 Thread Ole Victor
Hi, Does anyone know a simple trick to get PHP detect if the user's browser has javascript enabled? -- Olé -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

Re: [PHP] PHP5, XPath and count()

2004-07-24 Thread Victor Boivie
which entities <i>does</i> it escape It stops at the &, which I think is strange. It escapes the < to < and > to >, but not & to &. It would be better if it escaped none or all entites that "can do harm". Or what do you think? regards, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] syntax questoin

2004-09-16 Thread Victor C.
Hi, I just started with PHP. (I used to work on ASP a lot) What does the syntax ".=" do? i see a line of code that says $Msg .= "Test is complete" I'm thinking it means concatenate $Msg with "Test is complete" and then store the new string into $Msg Am I right? Thanks. -- PHP General Mail

[PHP] php, mySQL query character problem

2004-09-22 Thread Victor C.
ords. Does anyone know what causes this? Also... the value i have for $email is from: $email=explode("@",$emailAddress); $email=$email[0]; Thanks, Victor C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to execute a remote command from php [done]

2004-09-28 Thread Victor Alvarez
- Original Message - From: "Sethi, Samir (IDS DM&DS)" <[EMAIL PROTECTED]> To: "Victor Alvarez" <[EMAIL PROTECTED]> Sent: Monday, September 27, 2004 5:47 PM Subject: RE: [PHP] how to execute a remote command from php Exactly, I had to generate

[PHP] PHP5, XPath and count()

2004-07-20 Thread Victor Boivie
om); var_dump($xpath->query("count(/catalog/cd")->item(0)); ... returns NULL. Any ideas? Thanks in advance, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] nested objects

2007-12-07 Thread Victor Matherly
Thanks that fixed it. That was so simple no wonder I was banging my head on the wall :-). - Original Message - From: "Cesar D. Rodas" <[EMAIL PROTECTED]> To: "Victor Matherly" <[EMAIL PROTECTED]> Sent: Friday, December 7, 2007 2:37:23 PM (GMT-0500) Am

Re: [PHP] nested objects

2007-12-07 Thread Victor Matherly
Actually it is academic intro to OO programing, the overkill html was just helping me understand the concept. Now I can put it to good use :-). - Original Message - From: "Jochem Maas" <[EMAIL PROTECTED]> To: "Victor Matherly" <[EMAIL PROTECTED]> Cc

[PHP] nested objects

2007-12-07 Thread Victor Matherly
>cell_name = $name; }//end setContent function function getContent(){ return $this->cell_content; }//end setContent function } //end TableCell class ?> Victor J. Matherly Technical Services Wave Communications, Inc http://www.wave-communications.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session timeout

2007-12-13 Thread Victor Matherly
ble to expire session configuring php.ini. I know i will have to write code to do whatever when the session expires... Thank you in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Victor J. Matherly Technical Services Wave Com

[PHP] file upload

2004-10-25 Thread Victor C.
Hi, I'm trying to submit a file from "index.php" to "index2.php". I know how to do file upload in PHP. On "index.php" I have: The next page would only need to use $HTTP_POST_FILES['myfile'] to access the submitted file. My question is: if I already know which file I want to submit, say "fil

Re: [PHP] file upload

2004-10-25 Thread Victor C.
ws:[EMAIL PROTECTED] > You can't, at least you SHOULDN'T. Just think about what you're asking > for, you want to download a file from a users computer, without them > knowing about it. > > Major security/privacy issues there that browsers try to prevent. > > Chris &g

Re: [PHP] file upload

2004-10-25 Thread Victor C.
P the file from one > server to the other. Just 2 examples. And, you could even POST the file > from one to the other. > > That solution seems a bit icky to me, but it all really depends on what > you need. Pulling is generally easier than pushing. > > Chris > > Victor C.

[PHP] Millisecond in PHP

2004-10-27 Thread Victor C.
Hi, I'm trying to get PHP to display the millisecond of current time. I can't find that option in "Date()".. Any hints? Thanks a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Millisecond in PHP

2004-10-27 Thread Victor C.
Thank you all for answering! Really appreciate it. "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Victor C. wrote: > > Hi, > > > > I'm trying to get PHP to display the millisecond of current time. I can't > > find

[PHP] Timezone

2004-10-27 Thread Victor C.
Is there a way to get PHP to display the full name of time zone? date(t) only displays in the format of 'EDT', 'PDT', etc.. But I need the full name of the timezone, ie. "Pacific daylight saving time". I know I can hard code all of these using switch statemetns. I'm just wondering if there is a fu

[PHP] PHP and send XML

2004-10-28 Thread Victor C.
Hi, I'm trying to pass XML file from Site A to Site B for Site B to parse. Site B is maintained by other company, so I only need to worry about sending over the XML file. I've been hinted that fsockopen() can do the job. I've done the following through PHP: $port="80"; $host="134.134.134.134" $

[PHP] php array question

2004-11-01 Thread Victor C.
Hi, I have a line of php that I don't really understand. foreach($this->orders as $OrderID => $value) { echo $OrderID.""; $OrderObject =$this->orders[$OrderID=>$value]; echo $OrderObject->OrderID."<--all the same"; } I know that $this->orders is an array of "order" objects. the resul

[PHP] Re: php array question

2004-11-01 Thread Victor C.
But why would the this line generate different OrderID on lines 1 and 3? "Ben Ramsey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Victor C. wrote: > > $OrderObject =$this->orders[$OrderID=>$value]; > > This line is confusing. $OrderI

[PHP] Re: php array question

2004-11-01 Thread Victor C.
erSecurities, Inc. Member NASD, SIPC and Registered Investment Advisor|Changed 9:55 Am, Des Moines, IA, | [dbname] => [dbpath] => [age] => [zip] => [gender] => [income] => [home] => [homevalue] => [length] => [children] => [childrenAge] => [marital] => [networt

[PHP] Re: php array question

2004-11-01 Thread Victor C.
Hi Ben, I tried your portion of code and find out what was wrong... Apparently I used & in adding order to the array and that was messing things up... Everything is working now. Thanks for all the help "Victor C." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

[PHP] page redirect question

2004-11-09 Thread Victor C.
Hi, Is there anyway to redirect php page other than using HEADER("LOCATION:URL") ? Header can only be called if nothing is written to HTML... Is there anyway around it? Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php5 built-in soap - apache performance & wsdl generation

2005-07-14 Thread Victor Alvarez
do it. I gave a try to Webservice Helper (jool.nl) and I didn't find the result convenient for my purpose. Is there any simple and useful tool to automatic generate the wsdl? I finally did it manually from scratch. Thank you very much in advance. Kind regards, Victor.

[PHP] how to install phpize and php-config?

2005-07-25 Thread Victor Alvarez
sual /usr/local/bin/php? Thanks in advance, Victor.

[PHP] wsdl cache?

2005-08-15 Thread Victor Alvarez
not able to update it! Could anybody explain me why and how could I avoid this problem? Thanks. Kind Regards, Victor.

[PHP] PHP forms

2001-01-31 Thread Victor Hamutenya
Hi, my name is Victor from Namibia, I do web development with PHP, I hapenned to find your email address on one of the PHP sites on the Net, as one of the contributors on the PHP notes. Can you please, if it is possible, tell me how to write in a form field with PHP script. Like in

[PHP] Re: [PHP-DB] .htpasswd?

2001-02-04 Thread Victor Foitzik
e user and the group file according to your needs. Another way to do this directly with MySQL is to use the apache auth_mysql module which allows you to store authentication data in a MySQL DB. See http://mysql.com/downloads/contrib.html and http://httpd.apache.org/docs/misc/FAQ-G.html for mo

[PHP] Strange behaviour of generated images

2002-12-17 Thread Victor V. Evtushenko
UMBNAIL'); fclose($fp); exit; ?> and call for images is made like this: echo ""; Does anyone has such a problem before and is there any solution? Thank you, Victor. -- Infodesk S.A. Gustavo Mejia Ricart #70 Santo Domingo, Dominican Republic -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Strange session-problem with php-file in

2003-01-31 Thread Victor Spång Arthursson
zes the session variable… I think it's because that the web server loads it or something like that and it does not know that a session variable belongs to the user who loaded the file with the img scr on… Please, help! How can I overcome this? Best regards, Victor -- PHP Genera

Re: [PHP] Strange_session-problem_with_php-file_in_

2003-01-31 Thread Victor Spång Arthursson
fredagen den 31 januari 2003 kl 18.08 skrev Chris Shiflett: Instead of trying to tell us what the problem is, just explain what trouble you are having. We can then tell *you* what the problem is. Ok, first I have the function session_start(); function return_session_raettighet($session = n

Re: [PHP] Strange_session-problem_with_php-file_in_

2003-02-01 Thread Victor Spång Arthursson
of the session is called from within another function, and that it's defined outside this function? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Strange_session-problem_with_php-file_in_

2003-02-01 Thread Victor Spång Arthursson
Problem solved. The error came because I was calling the function inside another function, outside the latter it worked good. So I simply passed the variable with the second function - works great! Thanks anyway for all your time trying to help me! /V -- PHP General Mailing List (http://www.p

[PHP] Best way to create a preference-file?

2003-02-13 Thread Victor Spång Arthursson
possible to update the file in an easy way, that is, not rewrite it but update it… Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is this possible? Group related results from mysql to one field…

2003-03-06 Thread Victor Spång Arthursson
that I don't get multiple rows for the same file… Is this possible to achieve? Many many thanks to the one who can give me some input! Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php/GD/t1lib problem

2003-03-11 Thread Victor Spång Arthursson
Sincerely: Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] trim away x > 1 number of spaces from a strin

2002-07-24 Thread Victor Spång Arthursson
Hi! Could someone help me with a replace that takes all occurances of " ", that is space more than one, and replaces them with ""…? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reg exp help

2002-08-30 Thread Victor Spång Arthursson
g/2002:11:47:48 +0200] "POST /weblogg.php HTTP/1.1" 200 3149813 217.215.84.222 - - [30/Aug/2002:11:48:09 +0200] "POST /weblogg.php HTTP/1.1" 200 3149902 Here I'ld like to remove all lines that looks like 217.215.84.222 some text ending with line break… How should the reg

[PHP] Re: How do I keep a page from caching in I.E

2002-09-04 Thread Victor V. Evtushenko
he cached page so I have to click on Refresh > to get the actual page content. I've placed the following at the top of the > HTML file but it doesn't seem to do anything. Any help would be appreciated. Victor. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why can't I get imagepstext to work?

2002-07-03 Thread Victor Spång Arthursson
No matter what I try, it doesn't work… I have GD installed and my phpinfo is on this link: Please, someone, help… Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Nothing will execute after calling imagejpeg.

2002-07-04 Thread Victor Spång Arthursson
This thread has been up before, but there was never sent a reply to it, and I'm having the same problem… Anyone who knows what to do? Sincerely Victor > -Original Message- > From: Kris Johnson [mailto:[EMAIL PROTECTED]] > Sent: Saturday, June 01, 2002 11:11 PM > To

[PHP] How to copy a transparent png over an existing image using GD?

2002-07-06 Thread Victor Spång Arthursson
me tutorial who explains this step by step…? My problem is that the transparent image loses its transparens when I do the copyimageresized… Thankful for any help, sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] EXIF and thumbnails

2002-07-09 Thread Victor Spång Arthursson
Hello! I know it's possible to read thumbnails from the EXIF-headers in for example jpeg-images. But is it also possible to _write_ EXIF-data, that is, if I want to create a thumbnail where there is none? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Write EXIF - is it possible?

2002-07-12 Thread Victor Spång Arthursson
Is it possible to write to exif-headers in pictures? Wonders: Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
Is it possible? I have a file that takes 5 minutes to run, and I would like to be able to start it when loading a page. But I can't include it because it forces the browser to timeout… exec("script.php") doesn't seem to work… Sincerely Victor -- PHP General Mailing List

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
måndagen den 22 september 2003 kl 14.31 skrev Jay Blanchard: exec("php script.php"); will run the script. How does this look on a OSX/UNIX system? Can the path to php be found in a system variable, for convinience and portability of the script? Sincerely Victor -- PHP General Ma

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
/usr/local/php/bin/php. But how do I make the call exec("/usr/local/php/bin/php process1.php"); so that the page from which the call is made doesnt wait for the result but instead just continues? Sincerely, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
on is if I will get it to work on a windows-server using exec("php script.php args >NUL") ;) Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
Ok, it works fine on my development server with Mac OS X. But the hosting server seems to be WinNT, and on this it doesnt work. Anyone who can help me with some standard paths to php.exe? "c:\php\" Doesnt work ;) Sincerely Victor -- PHP General Mailing List (http://www.ph

Re: [PHP] Start php-script with exec()?

2003-09-22 Thread Victor Spång Arthursson
php OR asp. I quickly thanked and hung up. So now the question stands to you folks on this list ;) Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] provide flag -X when connecting to mysql

2003-10-13 Thread Victor Spång Arthursson
is, as xml? Best regards from Copenhagen/Malmoe Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] provide flag -X when connecting to mysql

2003-10-13 Thread Victor Spång Arthursson
2003-10-13 kl. 16.39 skrev Marek Kilimajer: No, it is not. But there are plenty of classes that can do it for you. Can you recommend any? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fetch entire mysql-result to an array immediately

2003-10-15 Thread Victor Spång Arthursson
Is that possible? The mysql_fetch_array fetches the result by one row each time, but I dont want to iterate through a result but only just fetch it right away… Regards Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] replace special chars

2003-11-05 Thread Victor Spång Arthursson
" ;) There could be other strange characters as well that needs to be replaced, so some sort of universal function would be really nice to get tips on… ;) Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] replace special chars

2003-11-05 Thread Victor Spång Arthursson
2003-11-05 kl. 16.07 skrev Pavel Jartsev: Try "htmlspecialchars()" and/or "htmlentities()". htmlentities() did it best! Thanks, /.v -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML and PHP

2003-11-06 Thread Victor Spång Arthursson
postgresql, and meanwhile documents are edited they are, until finished, going to be saved as xml-documents on the server. Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: XML and PHP

2003-11-06 Thread Victor Spång Arthursson
er in Flash, which can open nodes like parent.nextsiebling.nextsibling… Anyone have an idea? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] easy and simple way to read xml into array

2003-11-17 Thread Victor Spång Arthursson
Hi! Need to read a xml-file into an array, but searching around I havent found a way that's easy and simple… Arent there an easy way in PHP to accomplish this? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] easy and simple way to read xml into array

2003-11-18 Thread Victor Spång Arthursson
ter? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] include-problem

2003-12-01 Thread Victor Spång Arthursson
also tried with a $fp = readfile("http…") with the same result, which is output of the echo-statement in the remote file which I am expecting to be evaluated remotely. How can I do to include the PHP-script and have it to be ran before it is included? Sincerely Victor -- PHP Ge

[PHP] XML, strings and foreign (swedish/danish) characters

2003-12-02 Thread Victor Spång Arthursson
o get XML to work together with PHP, or should I simply resign and try with ASP instead? Very thankful for any help that points in the right direction… Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-03 Thread Victor Spång Arthursson
; $xml = trim($xml); $xml = utf8_encode($xml); echo $xml; makes the string "" become "" And the crap in fron of the string, which seems to come from nowhere, makes the parser complain about not well formed markup in the xml-source… Regards, Victor -- PHP

Re: [PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-03 Thread Victor Spång Arthursson
2003-12-02 kl. 22.08 skrev Manuel Lemos: The code // Prepare the content of the xml-file to go to the xsl-parser $xml = str_replace("", $tempxml, $xml); $xml = trim($xml); $xml = utf8_encode($xml); echo $xml; makes the string "" become "" And the crap in fron of the string, which seems to come

Re: [PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-03 Thread Victor Spång Arthursson
2003-12-03 kl. 10.22 skrev Victor Spång Arthursson: makes the string "" become "" Temporarely solved the problem using substring to trim the crap-chars away, but I'ld prefer to solve it in a more beautiful way, but perhaps this behaviour is a bug and therefore not

Re: [PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-04 Thread Victor Spång Arthursson
2003-12-03 kl. 11.18 skrev Victor Spång Arthursson: Temporarely solved the problem using substring to trim the crap-chars away, but I'ld prefer to solve it in a more beautiful way, but perhaps this behaviour is a bug and therefore not possible to solve in any other way… But do we thi

Re: [PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-04 Thread Victor Spång Arthursson
as far as IE concerns… Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Regexp help (simple)

2004-01-20 Thread Victor Spång Arthursson
abc1234 ABC12345-1 ABC12345-01 I would also like to split them into an array consisting of 2 elements; [0] = the first 2 or 3 letters [1] = the rest Example: string = ab12345 [0] = ab [1] = 12345 string = åäö1234-66 [0] = åäö [1] = 1234-66 Lots of thanks in advance, sincerely Victor -- PHP General

Re: [PHP] connecting PHP to MS Access

2004-01-20 Thread Victor Spång Arthursson
(col_name,...)] Read more here: <http://www.mysql.com/doc/en/LOAD_DATA.html> Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regexp help (simple)

2004-01-21 Thread Victor Spång Arthursson
t = split_bokid("ääö123"); echo $test[1]; echo $test[2]; the values: ŠŠš 12345 So, is there any way I can set the encoding on the incoming values, which will come from url's and databases, so that they don't fuck up? Sincerely, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regexp help (simple)

2004-01-22 Thread Victor Spång Arthursson
on_split_bokid.php?bokid=åäö12345> Sincerely: Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Need some advice concerning forms (multi select pulldown) and arrays

2002-05-25 Thread Victor Spång Arthursson
Hello! I know it's possible to use arrays in combination with forms, but I need some advice about where to find some information/tutorial concerning how to use arrays together with "multi-select-tags"... Sincerely Victor -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Need some advice concerning forms (multi select pulldown) and arrays

2002-05-26 Thread Victor Spång Arthursson
n the same page Is it possible? Anyone who can describe how to do this or provide a link to some tutorial? And also, where in the manual can I read about this? Sincerely, Victor On lördag, maj 25, 2002, at 08:59 , Miguel Cruz wrote: > Have a play with this little program - it should demo

Re: [PHP] Need some advice concerning forms (multi select pulldown) and arrays

2002-05-26 Thread Victor Spång Arthursson
owed > by an [] and you'll end up with a multi-dimensional array if things go > right... Sounds better - but I've a lot of items and I'ld like to know which of the arrays that go to which item... Can I just write …name=array[whateverid] and then in some way reveal the whateverid

Re: [PHP] Need some advice concerning forms (multi select pulldown) and arrays

2002-05-26 Thread Victor Spång Arthursson
count($animals) . ""; This works great // get the number of provided selects from select with name "2" echo "get the number of provided selects from select with name \"2\": " . count($animals[2]) . ""

[PHP] How to create this login page in a good way?

2002-05-29 Thread Victor Spång Arthursson
ot;}" on the end of each page... Perhaps I've thought wrong, but if so, please help me with ideas... Best regards, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] arrays and same index

2002-05-30 Thread Victor Spång Arthursson
.jpg"][] = 0 and then $array["untitled_1.jpg"][] = 4 overwrites $array["untitled_1.jpg"][] = 3... How should I solve this? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP-mysql: affected rows

2002-05-31 Thread Victor Spång Arthursson
is without having to do a new query with COUNT in it..? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Singleton

2001-10-23 Thread Victor Hugo Oliveira
Any suggestions anyone ? Thanks, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Singleton

2001-10-23 Thread Victor Hugo Oliveira
This would be very good to access a Singleton with one user, but how would it be done for all users to acess the same object. Is it possible to hold and open file pointer in this object ? Thanks, Victor -Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED]] Sent: terça-feira

[PHP] Object sharing

2001-10-24 Thread Victor Hugo Oliveira
Does anyone know a way to share an object with all sessions ? The idea is to access the same database connection poll. Thanks, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: [PHP] Object sharing

2001-10-24 Thread Victor Hugo Oliveira
Is there an easy way to save an object in this section ? The object will have something like an open file or a database connection... Thanks, Victor -Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 24 de outubro de 2001 16:43 To: [EMAIL PROTECTED

[PHP] New on PHP, need help with sessions

2001-07-02 Thread Victor Spång Arthursson
Hi! I'm converting from ASP/VBScript, and need to know how to declare a session variable. In VBScript I just type in: <% session("any") = "victor" %> Then I can print that variable on any page on the same webpage using: <% response.write session("

Re: [PHP] How to prevent people from downloading images

2001-07-03 Thread Victor Spång Arthursson
cause I'm a Mac user and we don't have right buttons =) Or if you printed it as a binary I'ld still be able to take a screendump using Cmd (applekey) + Shift + 3 =) Sincerely, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP] Redirect

2001-07-06 Thread Victor Spång Arthursson
Hi! Still new on PHP, converting from vb$cript, I wonder how I do a redirect... In vbscript: <% response.redirect("page.extension") %> In PHP??? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Users of RDBMS

2004-09-08 Thread Victor Saldaña D.
On Wed, 8 Sep 2004 12:01:55 -0700 (PDT), Pahlevanzadeh Mohsen <[EMAIL PROTECTED]> wrote: > Dears, > I need to create user for MySQL. > Please guide me.. Please RTFM http://dev.mysql.com/doc/mysql/en/Adding_users.html -- Victor Saldaña D. -- PHP General Mailing List (http://w

[PHP] usage stats

2004-09-13 Thread Victor Saldaña D.
hi people, i need to found usage stats for a paper in my work. i found some stats, but the method is not very strong. any link please -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] very basic php mysql question

2004-09-20 Thread Victor Saldaña D.
On Mon, 20 Sep 2004 15:17:33 -0700, AMC <[EMAIL PROTECTED]> wrote: > http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Best way to save preferences?

2004-09-26 Thread Victor Spång Arthursson
Which is the best way to save preferences (for a site) to make them easily accessable for changes? What I want is a way to save arrays and read them in again without having to use a database… Thankful for suggests, sincerely Victor -- PHP General Mailing List (http://www.php.net/) To

[PHP] function for backing up mysql

2004-04-14 Thread Victor Spång Arthursson
Hi! Wonder if anyone knows if there somewhere "out there" are any good functions that streams out data from mysql as a sql-file, like phpmyadmin does? The best would be one which I told which database and which tables to dump, and which directly stared streaming the data… Sincere

Re: [PHP] function for backing up mysql

2004-04-14 Thread Victor Spång Arthursson
the first to want this, I thought that there perhaps were some good scripts out there to use. Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] function for backing up mysql

2004-04-14 Thread Victor Spång Arthursson
ommand line access? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strange urlencode/decode problem

2004-04-21 Thread Victor Spång Arthursson
hes() or similiar functions… And they occur even if I don't urlencode at all… Why!?!?!?!? Sincerely Victor Spång Arthursson - Copenhagen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Alternative to freetype?

2004-06-03 Thread Victor Spång Arthursson
Hi! Since it's almost impossible to find a web server which has freetype installed, I wonder which the alternatives are to put text on an image…? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Resize an image with transparency

2004-06-28 Thread Victor Spång Arthursson
all black pixels in the finished image, the one for output, become transparent as well, which is not what I want… So, please, deadline before vacation, help if you know! Sincerely Victor Spång Arthursson / Denmark-Sweden -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] Want to save png to file

2004-07-06 Thread Victor Spång Arthursson
if I try so save the stream to a file, the transparency disappears… Please please please somebody help! Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Want to save png to file

2004-07-16 Thread Victor Spång Arthursson
2004-07-08 kl. 06.25 skrev Wudi: int imagepng ( resource image [, string filename]) Back on track again! What I don't know is how to save the file - do I read the datastream from imagepng and then create a file and write the stream to it? Sincerely Victor -- PHP General Mailing

Re: [PHP] Want to save png to file

2004-07-19 Thread Victor Spång Arthursson
7;t become transparent… /.victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] resize transparent png - impossible?

2004-07-19 Thread Victor Spång Arthursson
Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Transparent png and TrueColor?

2004-07-19 Thread Victor Spång Arthursson
Seems like the problem I'm experiencing with transparent png-files are that they are in TrueColor - is it not possible to create a trueColor-file and make it transparent? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PDFlib, transparency and TIFF images

2004-02-04 Thread Victor Spång Arthursson
of mask to acquire transparency effects? Will this, if so, require two image files per image instead as one? Hope this is not OT, if so, i apologize… Sincerely Victor Spång Arthursson Sweden / Denmark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Major problems trying to use load data local infile

2004-02-24 Thread Victor Spång Arthursson
hp"); $strSQL = "LOAD DATA LOCAL INFILE '" . addslashes(realpath("output.txt")) . "' INTO TABLE table FIELDS TERMINATED BY '" .addslashes('\t') . "' ESCAPED BY '\\' LINES TERMINATED BY '" . '\r' . &

<    1   2   3   >