RE: [PHP] HELP PLEASE ! Need PHP Advice !!!

2003-02-27 Thread Victor Stan
First of all, are they paying you to automate or to repurpose the content for the web? Taking a page designed for print and then automating it into a page for the web is the wrong approach, your problem is not technical it is a design problem. Technically it is easy, I think, does Quark not have

[PHP] PHP on IIS session problems

2003-03-03 Thread Victor Stan
I get these errors from a simple session_start(); script. Warning: session_start() [function.session-start]: open(/tmp\sess_f4aa3ef3c537bb6327d5e7b991e91be7, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2 Warning: session_start()

RE: [PHP] PHP on IIS session problems

2003-03-03 Thread Victor Stan
-Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 10:23 AM To: Victor Stan; [EMAIL PROTECTED] Subject: Re: [PHP] PHP on IIS session problems I get these errors from a simple session_start(); script. Warning: session_start() [function.session-start

RE: [PHP] PHP on IIS session problems

2003-03-03 Thread Victor Stan
K, thanks, I tried stopping just the web sites from the control panel, but I guess I had to stop the whole thing and restart. - Vic -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:07 AM To: Victor Stan; [EMAIL PROTECTED] Subject: Re

[PHP] Re: PHP Session register variable not always restored with contents

2002-10-24 Thread Victor Soroka
I have same troubles!!! I use php internet trade traffic system, and 10-20% of visitors lose their sessions data. Cut from logs: Remote address: ## Referer: http://mydomain.com/ URI: /out.php?id=1PHPSESSID=235a91cef853e750a6b67a70375e7d88 User-agent: Mozilla/4.0 (compatible; MSIE 5.5;

RE: [PHP] Re: PHP Session register variable not always restored with contents

2002-10-26 Thread Victor Soroka
On Thu, 24 Oct 2002 21:26:30 +, John W. Holmes wrote: What is supposed to be in the session? Maybe these users are just denying cookies? Maybe... But my php compiled with --use-trans-sid and use this feature. In the session i store account, access timestamp etc... P.S. And 10% of traffic

[PHP] BUG with session trans sid ?

2002-11-13 Thread Victor Soroka
I have tried to disable cookies and got strange behavior of PHP 4.0.6. So, I use php4.0.6 in default redhat installation. My code: ini_set('session.use_cookies', FALSE); ini_set('session.use_trans_sid', TRUE); ini_set('session.save_handler', 'user'); Then I set my own session handlers and start

[PHP] My first post

2002-12-03 Thread Victor Espina
Hi. I'm new in PHP. Could you point me where can i download a sample script about how can i paginate some results? TIA -- == Victor J. Espina S. Gerente de Desarrollo / Software Development Manager Software de Venezuela, S.A. Caracas, Venezuela

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

2004-09-28 Thread Victor Alvarez
- Original Message - From: Sethi, Samir (IDS DMDS) [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 keys for nobody and now I am able to execute remote

[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: FORM ACTION=index2.php METHOD=POST ENCTYPE=multipart/form-data INPUT TYPE=file NAME=myfile SIZE=30 INPUT TYPE=submit NAME=Upload File /FORM The next page would only need to

Re: [PHP] file upload

2004-10-25 Thread Victor C.
, 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 Victor C. wrote: Hi, I'm trying to submit a file from index.php

Re: [PHP] file upload

2004-10-25 Thread Victor C.
. 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. wrote: Thanks for answering Chris.. What if I want to send a file from my

[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 that option in Date().. Any hints? Thanks a lot http://us4

[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

[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.BR; $OrderObject =$this-orders[$OrderID=$value]; echo $OrderObject-OrderID.--all the sameBR; } I know that $this-orders is an array of order objects. the result i get

[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. $OrderID=$value is either a typo or is just plain wrong

[PHP] Re: php array question

2004-11-01 Thread Victor C.
PROTECTED] Ben Ramsey wrote: Victor C. wrote: $OrderObject =$this-orders[$OrderID=$value]; This line is confusing. $OrderID=$value is either a typo or is just plain wrong. It looks like what it's meant to say is: $OrderObject = $this-orders[$OrderID]; But this will just set

[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 PROTECTED] I did a print_r

[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, XPath and count()

2004-07-20 Thread Victor Boivie
DOMXpath($dom); 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] PHP5, XPath and count()

2004-07-24 Thread Victor Boivie
at the , which I think is strange. It escapes the to lt; and to gt;, but not to amp;. 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 Mailing

[PHP] php, mySQL query character problem

2004-09-22 Thread Victor C.
... 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

[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: adversus.no- ip.com/test/phpinfo.php 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: Leotta, Natalie (NCI

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

2002-07-06 Thread Victor Spång Arthursson
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 unsubscribe

[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] 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] Learning PHP

2002-04-20 Thread Victor Javier Martinez Lopez
I'm started with PHP and I'm interested in find any place with some docs and example code. Can anyone help me? Thanks in advance.

[PHP] Thanks

2002-04-21 Thread Victor Javier Martinez Lopez
Thanks everyone for your help.

[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/) To unsubscribe

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

2002-05-26 Thread Victor Spång Arthursson
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 demonstrate all

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

2002-05-26 Thread Victor Spång Arthursson
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's? Sincerely Victor -- PHP General Mailing

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

2002-05-26 Thread Victor Spång Arthursson
echo get the number of provided selects from select with name \2\: . count($animals[2]) . br; But this doesn't... Thankful for any help, /Victor On Sunday, May 26, 2002, at 05:35 PM, John Holmes wrote: You can supply an whateverID for the select if you want to. select name

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

2002-05-29 Thread Victor Spång Arthursson
... 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
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 Spng Arthursson
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] Reg exp help

2002-08-30 Thread Victor Spång Arthursson
: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 exp look? Many thanks, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

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

2002-09-04 Thread Victor V. Evtushenko
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] Singleton

2001-10-23 Thread Victor Hugo Oliveira
? 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(any) % as long as I don't close the browser

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

2001-07-03 Thread Victor Spång Arthursson
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] For additional commands, e-mail: [EMAIL

[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 commands, e-mail

Re: [PHP] Getting LDAPS to work

2001-02-20 Thread Victor V . Evtushenko
you should change 689 to whatever you use. 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]

[PHP] Impossible to list attributes of xml-element?

2005-05-26 Thread Victor Spång Arthursson
me the only element in the result in the form of a domelement. This domelement should have a lot of attributes, but I cant find no way to get some kind of list over those attributes, to work further with. Could someone please point me in the same direction? Sincerely Victor -- PHP General

[PHP] DOM: browse childnodes but not recursively

2005-05-27 Thread Victor Spång Arthursson
) that gives me the elements with id 51-56, and a length of 6. Really really thankful for any input on the matter Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DOM: browse childnodes but not recursively

2005-05-30 Thread Victor Spång Arthursson
. 3. Foreach item in the list I check if it has any children. 4. If so, I do the recursive call, with the list of children as input. So far so good, but when I come to the second loop, when the input is the list from the childNodes, everything stops working... Sincerely Victor

[PHP] Strange behaviour of generated images

2002-12-17 Thread Victor V. Evtushenko
$packet-value('IMAGE_THUMBNAIL'); fclose($fp); exit; ? and call for images is made like this: echo a href='$url' target='story'img src='show_image.php?ID=$ids=0' width=65 border=0/a; Does anyone has such a problem before and is there any solution? Thank you, Victor. -- Infodesk S.A. Gustavo

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

2003-01-31 Thread Victor Spång Arthursson
, it doesnt recognizes 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 General

Re: [PHP] Strange_session-problem_with_php-file_in_img_src…

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 =

Re: [PHP] Strange_session-problem_with_php-file_in_img_src…

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_img_src…

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

[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 (http://www.php.net

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 Mailing List (http

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

2003-09-22 Thread Victor Spång Arthursson
/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, visit: http://www.php.net

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

2003-09-22 Thread Victor Spång Arthursson
-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.php.net/) To unsubscribe

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] Best way to create a preference-file?

2003-02-13 Thread Victor Spång Arthursson
be 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
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
: 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
? 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
). I'ld like to have the double qoutes replaced with something else ;) 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

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
, 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
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
, couldnt anyone please bring some clarity into this matter? 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
??? --- I've 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 General Mailing

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

2003-12-02 Thread Victor Spång Arthursson
, 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 = utf8_encode($xml); echo $xml; makes the string ?xml version=1.0 encoding=utf-8? become ?xml version=1.0 encoding=utf-8? 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(empty/, $tempxml, $xml); $xml = trim($xml); $xml = utf8_encode($xml); echo $xml; makes the string ?xml version=1.0 encoding=utf-8? become ?xml version=1.0

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 Spng Arthursson: makes the string ?xml version=1.0 encoding=utf-8? become ?xml version=1.0 encoding=utf-8? 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

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 Spng 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 think it works

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

2003-12-04 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] 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
/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
: 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
=12345 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
? Will this, if so, require two image files per image instead as one? Hope this is not OT, if so, i apologize Sincerely Victor Spng 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
(output.txt)) . ' INTO TABLE table FIELDS TERMINATED BY ' .addslashes('\t') . ' ESCAPED BY '\\' LINES TERMINATED BY ' . '\r' . '; echo $strSQL; mysql_query($strSQL) or die (mysql_error()); ? Would be very thankful if anyone had any input on this, sincerely Victor Spng Arthursson -- PHP General Mailing

[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 Sincerely Victor

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
? 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
And they occur even if I don't urlencode at all Why!?!?!?!? Sincerely Victor Spng 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
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 Spng Arthursson / Denmark-Sweden -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Want to save png to file

2004-07-06 Thread Victor Spång Arthursson
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 List

Re: [PHP] Want to save png to file

2004-07-19 Thread Victor Spång Arthursson
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
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

<    1   2   3   >