Search found 8 matches
- Tue Mar 04, 2008 1:53 pm
- Forum: Joomla! Coding 101
- Topic: Webhosting: warning on delete SQL commnad
- Replies: 1
- Views: 342
Webhosting: warning on delete SQL commnad
Hi joomlers, my web is running on webhosting (siteground.com). In one of many Joomla components is script with DELETE some data from database written in following way: /* delete data from db-table: */ $database->setQuery("DELETE FROM #__SomeTable WHERE id=".$PassSomeID." AND id_XY=0 A...
- Mon Mar 03, 2008 10:36 am
- Forum: Joomla! Coding 101
- Topic: standard-adressing vs. web-addressing in PHP
- Replies: 8
- Views: 846
Re: standard-adressing vs. web-addressing in PHP
The problem is resolved. in config.mycomponent.php is defined: $conf_ImageUploadDirectory="/images/UserPhotos/"; ... and in scripts of my components is used: $uploaddir=mosPathName($mosConfig_absolute_path.$conf_ImageUploadDirectory); ... /* and in process for upload file: */ $uploadfile=$...
- Fri Feb 22, 2008 7:24 am
- Forum: Joomla! Coding 101
- Topic: standard-adressing vs. web-addressing in PHP
- Replies: 8
- Views: 846
Re: standard-adressing vs. web-addressing in PHP
I have not seen any documentation that would allow you to use relative positioning for the functions you have mentioned. As far as I know, they require absolute positioning. I asked to admin on my web-hosting (btw. it is SiteGround) for info about absolute path. There is: absolute location is: /hom...
- Tue Feb 19, 2008 2:54 pm
- Forum: Joomla! Coding 101
- Topic: standard-adressing vs. web-addressing in PHP
- Replies: 8
- Views: 846
Re: standard-adressing vs. web-addressing in PHP
Rogue4ngel wrote:I'm not exactly sure what you mean. Is it that you can't get the web site information from the host, or your just not sure how to do it?
Of course, I ask my web-host administrator for these infomation, but inspite of I would want to know other solution (in my opinion - more intelligent).
FF
- Tue Feb 19, 2008 10:31 am
- Forum: Joomla! Coding 101
- Topic: standard-adressing vs. web-addressing in PHP
- Replies: 8
- Views: 846
Re: standard-adressing vs. web-addressing in PHP
Depending on your web site hosting, there should be a listing for your absolute address. If you can't find it, I'd contact your web host and ask them to give you the absolute address. It would make your life a lot easier than trying to try to 'trick 'the functions to work differently. So it is the ...
- Mon Feb 18, 2008 4:02 pm
- Forum: Joomla! Coding 101
- Topic: standard-adressing vs. web-addressing in PHP
- Replies: 8
- Views: 846
standard-adressing vs. web-addressing in PHP
Hi friend, sorry for my little bit confused topic title (standard-adressing vs. web-addressing in PHP). My problem is (maybe) very simply: I have some code for upload file to some Joomla directories on server: $uploaddir=$conf_ImageUploadDirectory; /* value for $conf_ImageUploadDirectory is defined ...
- Thu Jan 03, 2008 7:23 pm
- Forum: Joombie Coding Q/A
- Topic: Using xvideoplaypack plugin in my own component
- Replies: 2
- Views: 665
Re: Using xvideoplaypack plugin in my own component
Hi all, this information may be make happy many beginners (and Joomlers also). I have installed some plugin (in old terminology - mambot). In my case it is (for example) plugin "xvideoplaypack". And how I can to use this plugin (its funcionality) in my custom component? Answer is very simply. Here i...
- Tue Jan 01, 2008 9:45 pm
- Forum: Joombie Coding Q/A
- Topic: Using xvideoplaypack plugin in my own component
- Replies: 2
- Views: 665
Using xvideoplaypack plugin in my own component
Hi friends, I would like to use plugin (in this case it is "xvideoplaypack" mambot) in my custom components. detail info: - I installed that plugin (XtremVideoPlayer) - the main file ("xvideoplaypack.php") of this plugin contains next code (bit of this): $_MAMBOTS->registerFunction( 'onPrepareConten...