Menu

Tree [r415] /
 History

HTTPS access


File Date Author Commit
 branches 2023-10-26 ksombrah [r324] Branches
 tags 2021-09-28 ksombrah [r4] Revisão Linux SVN
 trunk 2025-02-05 ksombrah [r415] Ajustes
 AUTHORS 2021-09-28 ksombrah [r4] Revisão Linux SVN
 COPYING 2021-09-28 ksombrah [r4] Revisão Linux SVN
 CREDITS 2022-02-22 ksombrah [r79] 2022-01-21
 ChangeLog 2021-09-28 ksombrah [r4] Revisão Linux SVN
 Dados-Online 2021-10-14 ksombrah [r20] Ajustes
 INSTALL 2021-09-28 ksombrah [r4] Revisão Linux SVN
 NEWS 2021-09-28 ksombrah [r4] Revisão Linux SVN
 README 2024-02-23 ksombrah [r345] Base de dados
 compe356_principal.sql 2024-02-23 ksombrah [r345] Base de dados
 competencia-06-05-2022-11-01.sql 2024-02-23 ksombrah [r345] Base de dados
 competencia-06-05-2022-19-01.sql 2024-02-23 ksombrah [r345] Base de dados
 curriculo.sql 2024-02-23 ksombrah [r345] Base de dados

Read Me

https://stackoverflow.com/questions/6334134/fpdf-utf-8-encoding-how-to

Passos para configurar o sistema:
1 - criar uma pasta 'cache' com premissão de escrita
2 - alterar dados do arquivo 'parametros.inc'

Configuração de Roteamento (módulo rewrite)

- Servidor Apache

arquivo: .htaccess
DirectoryIndex index.php

# enable apache rewrite engine
RewriteEngine on

# set your rewrite base
# Edit this in your init method too if you script lives in a subfolder
RewriteBase /

# Deliver the folder or file directly if it exists on the server
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
 
# Push every request to index.php
RewriteRule ^(.*)$ index.php [QSA]

- Servidor IIS
arquivo: web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="redirect all requests" stopProcessing="true">
                    <match url="^(.*)$" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
                    </conditions>
                    <action type="Rewrite" url="index.php" appendQueryString="true" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

- Servidor nginx
Configuração base
server {
	listen 80;
	server_name mydevsite.dev;
	root /var/www/mydevsite/public;

	index index.php;

	location / {
		try_files $uri $uri/ /index.php?$query_string;
	}

	location ~ \.php$ {
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		# NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini

		# With php5-fpm:
		fastcgi_pass unix:/var/run/php5-fpm.sock;
		fastcgi_index index.php;
		include fastcgi.conf;
		fastcgi_intercept_errors on;
	}
}


https://www.geeksforgeeks.org/preview-an-image-before-uploading-using-jquery/
https://stackoverflow.com/questions/4459379/preview-an-image-before-it-is-uploaded
https://opoloo.github.io/jquery_upload_preview/
https://www.tutorialrepublic.com/faq/how-to-preview-an-image-before-it-is-uploaded-using-jquery.php
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.