Jump to content

ethereal1m

Members
  • Posts

    58
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

ethereal1m's Achievements

Member

Member (2/5)

0

Reputation

  1. I got it, the mod doesn't work with Apache 2.4, instead it works only with 2.2
  2. Dear all, I'm installing mod_aspdotnet on Apache, but for some reason, it doesn't run. I have mod_aspdotnet 2.2.0.2006. I try to run it on WAMP 2.4, Apache 2.4.4, and .Net version 4 (including the previous versions). I put the aspdotnet config in separate file in httpd.conf in httpd-aspdotnet.conf: Apache won't up so that it doesn't spew log on apache_error.log. Anybody has an idea how to troubleshoot this? regards, ethereal1m
  3. I need to install rewrite module on IIS6 then... thanks for the pointer!
  4. Dear all, I’m trying to redirecting using an URL that uses get method so that it fills up $_GET variable and redirects it to some class and function of a controller. When using IIS6, it doesn't redirect to a specified controller, it redirects to its home instead. Works in Apache though. Suppose the link is: localhost/content/?id=5 which making the link to execute get method and set variable “id” with value equal to 5 and put them into $_GET variable. I'm using Codeigniter framework, therefore for URL routing it uses routes.php file. It has the following line $route['content/:(any)']='some_class/some_function/$1'; which routing the link into execution of some_function of some_class with input of 5, so that it should reroute into: some_class/some_function/?id=5 but it doesn’t, it routes to default home address instead. Seems that IIS cannot parse some_class/some_function/?id=5 Do I miss something? I’m using php5.1.4, IIS6 and MSSQL server 2003. IIS6 is using CGI to execute PHP. regards, ethereal1m
  5. Dear all, is there any library that supports text extraction from docx,doc, excel, pdf, etc formats like Apache POI does on Java? Or should I port Apache POI classes to PHP code? best regards, ethereal1m
  6. I got it, I put /t as delimiter instead of comma....
  7. Dear all, I want to export data from database into a csv file using the following code: function export() { $this->load->dbutil(); $this->db->order_by('id','asc'); $query = $this->db->get('some_table'); $enclosure = ''; $delimiter = ","; $newline = "\r\n"; $data = $this->dbutil->csv_from_result($query,$delimiter,$newline,$enclosure); if ( ! write_file('my_directory\data.csv', $data)) { echo 'Unable to write the file'; } else { echo 'File written!'; } } Basically it uses csv_from_result to create the layout and later it is written to a file using write_file. I delimit each column with comma (,) and each row with carriage return. However when I open the file from Excel, each column is separated by comma and placed into one cell of Excel instead of different cells. Like this: How can I make so that they are in different cells? What should I used for the arguments? regards, ethereal1m
  8. Linking ASP to PHP script is easy. But to keep track ASP session is different thing. My problem is: PHP page cannot keep track the last ASP session that it was linked into. I was thinking about using cookies to keep track, but not sure the details are. Or do you better solution?
  9. Dear all, Is it possible to link a php web page into a ASP3 classic page? Suppose there's a link on a ASP page into a PHP page, also there a link in the PHP page to the ASP page. I was thinking about use session variable to go back and forth between the page, but I don't know how to use the variable in the PHP or ASP code. Is this a correct way? Or is there any other approach? regards, ethereal1m
  10. oh.. that was a good idea.. I was thinking about using oracle scheduler to do the job (it is a oracle database). Ok, this is the detail scenario I should had mentioned earlier, suppose there is filter that is customizable via CI GUI. Basically the filter tells a condition of a query, for example which 'column' or which 'where clause' condition of a database table suppose to be fetched. The one that does the actual execution of a query is a pl/sql procedure that resides in the database. The query uses the configuration that it gets from the filter. So I'm thinking about making the CI GUI upload the filter configuration into a text file and let the pl/sql procedure read the configuration. The procedure is then executed by scheduler (whatever that is). Is this doable? Is there any more practical way to do this? The interface must use CI but the scheduler and the entity that does the query can be anything...
  11. Dear all, what is the most practical way to implement scheduler between codeigniter application and a database? Suppose I want to create a service that does a query in CI and do that regularly. Is this possible? If yes, how? regards, ethereal1m
  12. Dear all, has anybody had luck on loading xdebug with Apache 2.2 and PHP 5.3? For some reason, it didn't get loaded. I had it working with Apache 2.2 and PHP 5.2 though.... I'm using php5.3 thread save, compiled with vc9, nondebug. Part of phpinfo: PHP Extension Build API20090626,TS,VC9 Debug Build no Thread Safety enabled part of php.ini for xdebug configuration: zend_extension_ts = "C:\Program Files (x86)\PHP\php_xdebug-2.1.4-5.3-vc9.dll" xdebug.remote_enable=On xdebug.remote_host="localhost" xdebug.remote_port=9000 xdebug.remote_handler="dbgp" xdebug.remote_log="C:\Program Files (x86)\PHP\log" what went wrong? best regards, ethereal1m
  13. My bad, I admit this is a bad questioning practice.... Anyway, I solved the problem... thanks...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.