[PHP] Re: PHP and GD

2004-03-26 Thread Patrik Fomin
:26 +0100 [EMAIL PROTECTED] (Patrik Fomin) wrote: Hi, Is there anyway to split a picture with PHP (GD) ? Im uploading lots of pictures and i want to split them in 6 pieces to make em load faster, is there anyway to do this in PHP ? You mean, split them using PHP? *Before* uploading

[PHP] Sessions and PHP

2004-03-26 Thread Patrik Fomin
used Session_Destroy() to determine if all sessions were destroyed and then APPLICATION['num'] = APPLICATION['num'] - 1 Is there anyway in php to do this? regards patrick - Original Message - From: Patrik Fomin [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Thursday

[PHP] PHP and GD

2004-03-26 Thread Patrik Fomin
:26 +0100 [EMAIL PROTECTED] (Patrik Fomin) wrote: Hi, Is there anyway to split a picture with PHP (GD) ? Im uploading lots of pictures and i want to split them in 6 pieces to make em load faster, is there anyway to do this in PHP ? You mean, split them using PHP? *Before* uploading

Re: [PHP] Sessions and PHP

2004-03-26 Thread Patrik Fomin
how do i determine if a session has been destroyed/created ? patrick John W. Holmes [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Patrik Fomin wrote: Let me rephrase it, i got a login page, once logged in you you got the session $_SESSION['in'] = true; i want

[PHP] PHP and GD

2004-03-24 Thread Patrik Fomin
Hi, Is there anyway to split a picture with PHP (GD) ? Im uploading lots of pictures and i want to split them in 6 pieces to make em load faster, is there anyway to do this in PHP ? regards patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Sessions and PHP

2004-03-24 Thread Patrik Fomin
Hi,, is there anyway to get the number of people connected to the site? in asp you just use Application and session_terminate to accomplish this is there anyway to do this in PHP ? regards patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP and GET/POST

2004-03-08 Thread Patrik Fomin
Hi, i got a page that i devided up into 3 diffrent pages, to call i use form method=postinput type=hidden name=step value=1 or 2-3, but i found out that you can just write the url: mypage.php?step=1 to get to step one, is there anyway to get rid of that possibility, since you enter diffrent

Re: [PHP] PHP and GET/POST

2004-03-08 Thread Patrik Fomin
PROTECTED] --- Patrik Fomin [EMAIL PROTECTED] wrote: i got a page that i devided up into 3 diffrent pages, to call i use form method=postinput type=hidden name=step value=1 or 2-3, but i found out that you can just write the url: mypage.php?step=1 to get to step one, is there anyway to get rid

Re: [PHP] PHP and GET/POST

2004-03-08 Thread Patrik Fomin
great thanks =) regards Patrick Chris Shiflett [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] --- Patrik Fomin [EMAIL PROTECTED] wrote: How should you do it?, i mean i have 3 pages with some forms on two of em First page = some general information to fill in Second page

[PHP] sql query and some math

2003-12-17 Thread Patrik Fomin
Hi, q1) i got a database with 2 diffrent tables, i want to take out all the information that arent duplicated from on of the tables, like this: $sql = SELECT t1.rubrik, t1.info, t2.priser FROM table1 AS t1, table2 AS t2 WHERE t1.arkiv = '0' ORDER BY t1.rubrik; the problem is that i got alot of

[PHP] Re: wml and php

2003-09-28 Thread Patrik Fomin
i cant get this $latnum2 = $_REQUEST['nummer']; to work either, when i use this i dont get anything in $latnum2; regards patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] wml and php

2003-09-27 Thread Patrik Fomin
Hi, does anyone know how to transfer a variable in wml to php?, i got this script that i made and i cant transfer the wml info to php. ?php header(Content-type: text/vnd.wap.wml); echo ?xml version=\1.0\ ?; ? !DOCTYPE wml PUBLIC -//PHONE.COM//DTD WML 1.1//EN http://www.phone.com/dtd/wml11.dtd;

[PHP] sessions and php

2003-09-18 Thread Patrik Fomin
Hi, can anyone help my list the ways to create/view a session, i need to find out if my host supports any of em (kinda strange host), eg: page1.php start_session[test] register_session[test2] etc page2.php retrive session 1, 2 etc and display their contents regards patrick -- PHP General

[PHP] textbox+database

2003-07-30 Thread Patrik Fomin
hi, i have a textbox, after someone puts text into it, it saves into the database, textarea cols=2 rows=2/textarea when it saves to the database the formattion in the textbox dosent work properly, eg: i add this: Test Test Hello and when i retrive the text from the database it looks like

[PHP] Classes

2003-07-25 Thread Patrik Fomin
I need to create a class that looks like this: class Artikel { var $id[]; var $rubrik[]; var $ingress[]; var $kategori[]; var $frontbildtyp[]; var $frontbild[]; var $kategoribild[]; var $aktuell; function SetId($id) { $this-id[$this-aktuell] = $id; } function SetRubrik($id) {