Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. TheSofty

    Apache 2.0 and PHP 5.0 on Windows

    gwinn7, 1) the .msi file on PHP site is well suited for installation in a IIS server environment rather than Apache, so there's definitively a reason for its existence. 2) if you get back from Apache the script itself as text instead of its execution, most probably Apache does't know how to...
  2. TheSofty

    Apache 2.0 and PHP 5.0 on Windows

    You say "I followed the instructions...", but what *exactly* did you do? I usually download the .ZIP file on php.net.
  3. TheSofty

    Make PHP work with PostgreSQL on Windows

    David, why don't you let us see your connection code on line 10? As you know, there are some syntax differences between pg_connect() and mysql_connect(). I use WinXP/Apache 2.0.53/PHP 5.03/PostgreSql 8.0.1 without problems. TheSofty
  4. TheSofty

    SQL select statement results in 3 asterisks on some calc'd records

    Dave, a possible cause could be that in the *first* row of the cursor/table resulting from your SELECT the field has a value represented by 3 digits: all subsequent rows will have 3 as max number of available digits. Solution: SELECT 00000 as <field>, ... FROM ... TheSofty
  5. TheSofty

    Connection problem with PostgreSQL

    DRJ478, OK, the fog is diminishing! But now I do not find pgsql.so anywhere on my Fedora2 box. Is it in a package other than postgresql-7.4.6-2PGDG.rpm (which I used to install)? TheSofty
  6. TheSofty

    Connection problem with PostgreSQL

    DRJ478, excuse my ignorance, but when you write "Uncomment the .so" you mean the msql.so, or another PostgreSQL-specific .so? And in this case, what is its name? How can I load a .so dinamically in a script? I tried uncommenting the line I showed you in my last post and restarting my Apache...
  7. TheSofty

    Connection problem with PostgreSQL

    DRJ478, I searched /etc/php.ini for ".so" and the only reference I found is (note the semicolon); ; extension=msql.so in the "Dynamic Extensions" section. TheSofty
  8. TheSofty

    Connection problem with PostgreSQL

    DRJ478, in /var/log/messages I see: PHP Fatal error: Call to undefined function: pg_connect() in /var/www/html/provadb.php in line 14 (that is the line I showed above). pg_last_error() returns nothing, I mean I can't echo it in any way. Thanks TheSofty
  9. TheSofty

    Connection problem with PostgreSQL

    Hi all, I'm an absolute beginner in PHP world. I'm trying to connect to PostgreSQL 7.4.6 on a Fedora 2 box in my LAN through PHP 4.3.10 installed via RPM. The script I'm using runs OK until this line: if (!$connect=pg_connect("host=$host port=$port user=$user password=$password...
  10. TheSofty

    Can I put the DBC in another directory?

    jrumbaug, the best advice I can give you is: keep the .DBC in the same folder of your tables. It's NOT mandatory, but you can avoid many headaches later on. To answer your second question: use the PATH statement in your CONFIG.FPW to have VFP find the data (i.e.: PATH=DATA, where DATA is the...
  11. TheSofty

    How do I know the record I am sitting on in a grid ?

    Your grid is bound to a table/cursor/view, right? So every time you move to a new row in a grid, you're changing the record pointer in its RecordSource. With lnRecNo = RECNO() in the AfterRowColChange() event method I think you'll get what you want. TheSofty
  12. TheSofty

    How to choose a drive

    Use GETFILE()
  13. TheSofty

    VFP 9.0 Beta Release

    keepingbusy, an old trick for Win98/VFP8 was to be sure that GDIPLUS.DLL was in C:\WINDOWS folder. TheSofty
  14. TheSofty

    SELECT SQL problem with Fox V8.0

    The short answer is that you have to include all the fields in the GROUP BY clause. For the longer one see SET ENGINEBEHAVIOR in the VFP 8.0 help. It's a new feature. TheSofty
  15. TheSofty

    Get CPU ID, MAC Address, Volume Serial Number

    slighthaze, just tested, but I get Product: MS-6728 SerialNumber: 00000000 Can you explain what is happening? My mainboard is a MSI 865PE-Neo2 (internal MSI code 6728) Thanks
  16. TheSofty

    Conversion Functions

    Dave, did you noticed that your FAQ ends in the middle of a statement ADD OBJECT label4 AS label WITH ; Maybe you reached some limit?
  17. TheSofty

    A quick code for backup using CABARC

    Ramani, thanks for that code. But I have always wondered: what is going to happen to my data when they are backupped (with WinZip, CabArc, Dynazip, whatever...) since I know that in every single moment my app keeps tenths of files opened? I know that i.e. WinZip can handle opened files, but...
  18. TheSofty

    Some GENSCRNX guru around?

    Dave, JRB-Bldr thank you all for trying to help. The first think I took care to control was indeed the 'Expression' radio button in the snippet, and it was there. I'm at a loss. I think that Plan B is in order: the hell with the fancy graphics and GENSCRNX! I'll go back to the old GENSCRN to...
  19. TheSofty

    Some GENSCRNX guru around?

    I completely agree with you: that line is the culprit. In fact, it's what the compilers chokes on. The problem is that I have that expression (ie: without RETURN) in the WHEN snippet of that textbox since the start, 5+ years. I never cared to see the code generated by GENSCRNX/3DCTRL/3D (it...

Part and Inventory Search

Back
Top