php equivalent to jython?
hi i wonder if there is a php equivalent to jython so you can use java classes with php? thanks ...
hi i wonder if there is a php equivalent to jython so you can use java classes with php? thanks ...
Hello i wish to be able to deploy a PHP web application along with a local installation of PEAR. To be more specific, i am trying to find a way to do a 'per-application' or local installation of PEAR if this is possible. For example: The application 'MyApplication' is located in: /var/www/applications/myapplication The php library i...
I am in the process of creating a guitar tab to rtttl (Ring Tone Text Transfer Language) converter in PHP. In order to prepare a guitar tab for rtttl conversion I first strip out all comments (comments noted by #- and ended with -#), I then have a few lines that set tempo, note the tunning and define multiple instruments (Tempo 120\nDefi...
I'm editing a simple PHP file with a class which has a few methods, if $bar is an instance of this class and I type $bar->ctrlxctrlo I get a popup with a lot of methods (builtin ones) in addition to those of my class and present in the ctags list. How can avoid showing all those external methods and just keep the ones defined in my cla...
I've try many CMS flavors like MODx, Drupal, Joomla for the admin Panel but they can't seem to manage my existing data, like the users. I'm planing on building some kind of control panel for my site, similar to the one that is used for managing users and other non-content related items in a CMS. I was wondering if there is something out...
Hi all. I have a user form with a textarea that allows users to submit html formatted data. The html itself is limited by PHP strip_tags, but of course that does no completion checking etc. My basic problem is that should a user leave a tag unclosed, such as the <a> tag, then all the content following that, including page content that...
Hey guys, I was hoping to get a little insight on this. What I have is a form collecting firstname, lastname, city, state, and email address. This form is using jquery validation plugin and the form plugin. I would like to check if email already exists... if so then spit out a message that tells them they already exist. This is what ...
Hi guys, I have read through the php manual for this problem and it seems quite a common issue but i have yet to find a solution. I am saving sessions in a database. My code is as follows: // session $_SESSION['userID'] = $user->id; header('Location: /subdirectory/index.php'); Then at the top of index.php after the session_...
I have a form that lets users upload a photo of themselves. This seems to work. The photo does exist on the server once uploaded. When I try to access the file I get a "403 forbidden - you don't have permission to access this url on this sever" and also I get "Additionally, a 410 Gone error was encountered while trying to use an ErrorDoc...
i only know php and i wonder if you can extend a php web application with c++ or java when needed? i dont want to convert my code with quercus, cause that is very error prone. is there another way to extend it? cause from what i have read python can extend it with c++ without converting the python code and use java with jython? ...
Hi, I'm looking for a way to open encrypted files that are stored on a server. I'm using mcrypt to encrypt the files. I was initially going to create a class that would open the file, decrypt it, write it to a new location, then open that. But I have convinced myself there is a better way (I just don't know what it is). It seems like ...
I want to CURL to Google to see how many results it returns for a certain search. I've tried this: $url = "http://www.google.com/search?q=".$strSearch."&hl=en&start=0&sa=N"; $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_VERBOSE, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);...
I am inexperienced with symmetric encryption. I am encrypting a pdf file in php using the following code: $source_filepath = RB::get('docroot') . RB::get('baseUrl') . '/submissions/' . $this->_filename; $encrypted_filepath = $source_filepath . '.nc'; $pdf_data = file_get_contents($source_filepath); $encrypted_data = mcrypt_encrypt(MCRY...
Hello, I have an MP3 file uploader. I want to add an additional audio track to the file upon upload - via PHP. Is that possible? Thanks in advance! ...
i want to create not only a web application, but a web application where everything is LIVE. eg. if someone posts a message and then another one replies, then the creator will get on his webpage a notification. and also i want to implement a chat in the web application. i want these features to be implemented using true server-push (n...
Ho do I do cron job using a list of urls?? actually the search path is mention below www.mydomain.com/search?url=www.google.com after google.com another another url which is in the urllist.txt should be the next. so at the end of the day the whole list of urls in urllist.txt will be completed and saved in my database. what I need is ...
Hey guys, (Not a native english speaker) I'm doing a personal project in PHP in which I use the Simple HTML Parser to parse the HTML of a given URL and retrieve the first image in a DIV that have a specific ID or class (maincontent, content, main, wrapper, etc. - it's all in an array) and ignore ads. The goal is to take this image and ...
I'm trying to set some configurations for HTMLPurifier, and everything works on my dev machine, but on test, it fails. with the error Class 'HTMLPurifier_config' not found. but if I remove config, it runs no problem. I'm using HTMLPurifier 4.0.0 $config=HTMLPurifier_config::createDefault(); $config->set('AutoFormat','Aut...
Hi, I have a flash .swf file that I embed on my webpage. On my server I have the .swf file and multiple image folders. I would like to load every file in one of those folders into the flash slideshow. How should I go about doing this? I tried used Air but it doesn't work on my system as an application so I doubt it will work online. ...
Leave it I got What I want...and let you know what I was searching for it..coz the site is launching on 19 th of this month...actually I cant explain the details now... ...