• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flash Builder for PHP and its knowing functions

New Here ,
Nov 17, 2011 Nov 17, 2011

Copy link to clipboard

Copied

I started my first project and almost always need to connect to a MSSQL server

Since PHP no longer supports the mssql extension, I've downloaded from the Microsoft SQLSRV driver and installed on the Webserver.

Calling phpinfo() tells me, that the sqlsrv extension is enabled.

I've created a new Project with new -> Flex and PHP Project and leave almost all options to default settings. I think, for my question the important property is "create project on local server".

Now I've created a PHP class that builds a connection to a MSSQL server. But every line, that contains a "sqlsrv_xxx" command a warning "call to undefined function".

How does the program determines what functions it knows, is this also controlled via PHP.ini and how can I modify this?

Thanks

Frank

TOPICS
PHP

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2012 Jun 20, 2012

Copy link to clipboard

Copied

LATEST

There are folders in the workspace look like that: PATH_TO_WORKSPACE\.metadata\.plugins\org.eclipse.php.core\__language__\f1e719ac

These folders containing PHP files with the function definitions. If you copy a file there and restart the IDE, the functions are knowen to the system.

I fear you will not find a file with the new functions for MSSQL. The old one mssql.php is in the directory, this can be a starting point for you.

Gabriel

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines