[PHP] Wordpress Theme Switcher plugin redirect modification

2007-07-30 Thread Erik Gyepes
Hello, I would like to modify the Theme Switcher Plugin for Wordpress (http://dev.wp-plugins.org/wiki/ThemeSwitcher). When I currently request the page to switch the theme (for example: mydomain.com/?wptheme=My+Theme) I'm redirected to the index.php, but instead I would like to redirect back

[PHP] How to work with virtual (seo) URLs?

2006-11-18 Thread Erik Gyepes
Hi folks, my another question is how to work with URLs like below in PHP: http://www.example.com/section/ http://www.example.com/section/subsection/ http://www.example.com/section/subsection/subsubsection/ http://www.example.com/section/subsection/subsubsection/ These URLs works very well w

Re: [PHP] How to check value in multidimensional array

2006-11-18 Thread Erik Gyepes
Oliver Block wrote: Am Samstag, 18. November 2006 19:46 schrieb Erik Gyepes: What exactly do you need to do? You should read the manual too, at I would like to check if the value is really in the array, if it is not then I would like do some other things. (so not check if it is an array

[PHP] How to check value in multidimensional array

2006-11-18 Thread Erik Gyepes
Hi guys, I have an array with navigation items like that: $navigationItemArr = array("Home"=>"home", "Profile"=>"profile", "Photogallery"=>"photogallery", "Contact"=>array("contact","subsection") ); How can I check for a value

[PHP] PDO and PGSQL: ERROR: syntax error at or near "SET"

2006-08-07 Thread Erik Gyepes
. ""; die(); } ?> When running the script I get the following error message: Error!: SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "SET" at character 19 I know that I doing something bad, maybe with the udi column, how to use auto incrementing columns wit

[PHP] PHP5 + Mysql5 + Apache 2.0.55

2006-01-14 Thread Erik Gyepes
Hi all. I'm trying to set up mysql 5 with php 5 on my windows machine, but I can't get work it. Also I can't see any loaded extensions with phpinfo(). I have set extensions directory in php.ini, PATH dir in windows, what else I may to do? I used linux a lot of time and now I cant remember how

Re: [PHP] LAN IP address

2005-08-29 Thread Erik Gyepes
Okay. There I have script for you: http://pokusy.depi.sk/internalip.zip. Just download it and see the source. You can see how it works here: http://pokusy.depi.sk/inernalip/ip.php. Hope that helps you. Erik Philippe Reynolds wrote: Yes, I would hard code my IP address but when the computer

Re: [PHP] LAN IP address

2005-08-29 Thread Erik Gyepes
Hi. I think you want to get the internal IP adress which computer uses? Am I right? If yes, that is not possible with PHP directly, but it is possible with Java and PHP. Erik Philippe Reynolds wrote: Hi all, I would like to find a way to get my computers LAN IP address through PHP. I tr

[PHP] ftp_nlist dont work for me :(

2005-08-29 Thread Erik Gyepes
dont get work it at home at my machine. May I enable something in PHP? Some settings, or what? Thanks very much. Erik Gyepes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for CMS advice

2005-08-22 Thread Erik Gyepes
Zachary Kessin wrote: I am about to start on a project that seems like it would be right for a CMS system. It will be about 80% rather boring stuff with about 20% custom database work. I have looked at XOOPS and a few others. However I can not seem to find one rather important thing about XOOP

Re: [PHP] Looking for CMS advice

2005-08-22 Thread Erik Gyepes
Zachary Kessin wrote: I am about to start on a project that seems like it would be right for a CMS system. It will be about 80% rather boring stuff with about 20% custom database work. I have looked at XOOPS and a few others. However I can not seem to find one rather important thing about XOOP