1
pvtpyro
Getting id from sql into a page
  • 2006/7/26 20:08

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


ok here's what i have on a new module.

<?php

// the name of the xml file
$file "blah.xml";

// the data
$data "<?xml version="1.0"?>n";
$data .= "<document>n";
$data .= "t<tag>Tag Data</tag>n";
$data .= "</document>";

// open the file and write the data to it
$p fopen$file 'w' );
$w fwrite$p $data );
$c fclose$p );

// a message
echo "The data was sucessfully added to the file $file";

?>


i'm trying to figure out how to replace the "blah" in blah.xml with the users id. Or even username. anything unique.

Do i make any sense to anyone?



2
pvtpyro
Re: Install issue when writing to mainfile.php
  • 2006/4/11 18:36

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


ok it's fixed.. ty so much



3
pvtpyro
Install issue when writing to mainfile.php
  • 2006/4/11 18:23

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


I've installed this several times before on my server. with the recommended version 2.0.13.2 I can't get past the step that writes to the mainfile.php

mainfile.php has permissions.

File ../mainfile.php overwritten by ../mainfile.dist.php.
Failed writing constant /home/.genny/pvtpyro/privatepyro.com.
Failed writing constanthttp://www.privatepyro.com.
Failed writing constant mysql.
Failed writing constant xoops.
Failed writing constant portal.privatepyro.com.
Failed writing constant (my login)
Failed writing constant (my password)
Failed writing constant (my database name)
Failed writing constant 0.
Failed writing constant 1.
Failed writing constant 2.
Failed writing constant 3.
Failed writing constant 0.


is there a fix for this? or is it something i'm doing?


is there an example of a working mainfile.php so i can just write it myself?



4
pvtpyro
Re: strange bar on top...
  • 2005/8/30 17:01

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


It did! You're amazing. Thank you so much!



5
pvtpyro
Re: Calendar for me?
  • 2005/8/30 4:32

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


I have done that as well. but the dropdown menu when people select time for their events is still 24 hr format



6
pvtpyro
Re: Calendar for me?
  • 2005/8/30 4:04

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


I have now downloaded every calendar available on this website.

None of them have 12 hr formats.
piCal says it does. But when I select 12 hr it still shows in 24 hr.

Is there a XOOPS site for USA? Or another place like this where I can find more calendars to go through?



7
pvtpyro
Re: strange bar on top...
  • 2005/8/30 4:01

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


xmt



8
pvtpyro
Re: strange bar on top...
  • 2005/8/30 3:41

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


it moves everything, including the weird bar right along with it. lol.
i think i'm just going to give up on this one. this theme doesnt like me.
thank you for the suggestions :)



9
pvtpyro
Re: strange bar on top...
  • 2005/8/30 1:45

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


ml gets rid of the black background,
mr gets rid of the white border. but without them both i dont have a style at all.



10
pvtpyro
Re: strange bar on top...
  • 2005/8/29 21:03

  • pvtpyro

  • Just popping in

  • Posts: 67

  • Since: 2005/2/24


didn't work.
i tried one at a time making those ttransparent. but it makes my whole page transparent.




TopTop
(1) 2 3 4 ... 6 »



Login

Who's Online

143 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits