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...
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
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
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
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...
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
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
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...
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...
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
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
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
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.