331
McNaz
Re: Building sites using Linux?
  • 2005/6/15 22:00

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Quote:
I would recommend using Fedora, compiling is just a waste of CPU. Who the heck needs all the optimiziations.


Obviously lazy people don't. I take it you think there is nothing wrong with having a VW Beetle engine in a Ferrari. Nice car... shame its so slow



332
McNaz
Re: Building sites using Linux?
  • 2005/6/15 13:52

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


The best Linux distro I've come across is Gentoo (www.gentoo.org). It is by far the fastest out there but definitely not for the faint hearted. You download the source and compile it for your particular hardware. Once you install that you can go with Apache2 and mod_php or Lighttpd and cgi_php. Also bring in mysql.

Lets put it this way. If you install Gentoo you will have a much better understanding of Linux than with any other distro IMHO.

I've got it running on a couple of xboxs at home serving up web pages and we use it on our Intranet over at work. Very good.

PHPed from NuSphere is my favourite php editor at the moment. Dreamweaver MX 2004 is my favourite for html.

Photoshop rocks too.



333
McNaz
Re: What's the best article module?!
  • 2005/6/15 10:01

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Quote:
ET.. it does the same thing.. just destroys any HTML I put into it...


As was mentioned before, this is an issue with the XOOPS Textsanitizer. I don't know if the word "issue" is the right way of explaining it, as the way it works does have its benefits.

What the text sanitizer does is take text with line breaks and turns those into [br] tags.

I've very successfully fed many html pages into wf-sections (see www.mods-x.com and www.bloodfin.org). The trick is clearing out the html file before feeding it into wf-section (or XOOPS in general). This is done by removing all line breaks from the html file. I do this by opening up my html file in ultraedit and stripping out all ASCII #13#10 characters (these are the characters for a linebreak on Windows based file and system).



334
McNaz
Re: IP
  • 2005/6/15 9:10

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Quote:
SourceGuardian
SourceGuardian 4.0 for PHP is the ultimate protection solution for your PHP scripts. Main feature: Lock to multiple LAN hardware (MAC) addresses.


Very interesting piece of software. Much cheeper than Zen's! Well Found. For what I understood from the product description, however, is that it allows you to encode/encrypt your script and lock it down to an IP address (ie the server you are running it on). Couldn't find any information about its ability to extract MAC address from any clients connecting to it.

Quote:
IPLoc
IPLoc is a script that locates switch and switchport from IP/Mac-data collected from central routers using SNMP. IPLoc works best with switches who handle RFC 1493 (dot1dTp) and/or RFC 2674 (dot1qFdbTable)


I'll be impressed if this script workes beyond the local switch boundry. ie a webserver somewhere would connect to a switch, behind say a company or private firwall and extract port/mac/ip information. It does look like an interesting script and thanks for pointing it out.

Quote:
Lan-Sentry
This suite of PHP scripts is used for configuring a network to limit access to only certain users. Users that are not authorized will get redirected to a page telling them they can't go anywhere unless they get permission. Only authorized users will be given net access.


Couldn't find more info on Hotscripts and the script home page appears to be down

Quote:
<?php
exec("ipconfig /all", $arr, $retval);

for ($i=0;$i<count($arr);$i++) {
echo $arr[$i].'<br>';
}
?>


I don't think the above will work:

1. "ipconfig /all" is a windows command. What if the PHP and Apache installation are running on Linux? Suppose you can then use ifconfig... but then see 2.
2. As I understand it, PHP is a server side scripting engine. So the above code fragment would execute on the webhosting server and will extract the web server's ip address and mac... and not the client's. I suppose client side scriptting like javascript can be used but I don't know if javascript has access to such o/s information from a web browser.

As alternative solution, wouldn't the usage of cookies be a better idea? When a user registers onto the website a long lasting cookie is dumped on their machine. Then again, there is nothing stopping the user then removing the cookie off their machine...

Still thinking about it...



335
McNaz
Re: IP
  • 2005/6/14 16:50

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Quote:
may MAC address filtering good for you


Wow! You can get a MAC address from an HTTP header? How can you look this up exactly?



336
McNaz
Re: Deny certain IP to Download
  • 2005/6/11 11:51

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


AFAIK it is not possible without some php hacking.



337
McNaz
Re: porting existing PHP, XSL, HTML, etc to XOOPs
  • 2005/6/9 21:58

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Freecontent module springs to mind as a good lighweight wrapper module. Worked well on bloodfin.org.



338
McNaz
Re: headline Module can't be viewed on guest account
  • 2005/6/9 15:09

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Adminitration Menu -> System Admin -> Groups.

Click on the Anonymous Users link and configure your module security from there.



339
McNaz
Re: News Module
  • 2005/6/9 15:01

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Your best best is going through the module/news/template/*.html files to see what smarty $new variables are used by the news module.*/



340
McNaz
Re: Link in custom block
  • 2005/6/9 14:59

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


How have you written the link:

Did you just writehttp://www.link.com in an Autoformat block?

You might need to code the html yourself in a HTML type block.

<a href="http://www.link.com/page.html">this link</a>




TopTop
« 1 ... 31 32 33 (34) 35 36 37 »



Login

Who's Online

253 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 253


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